Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.50 KB | None | 0 0
  1. { public_key: 'XXXXXXXXXX',
  2.   sent_at: 1477486058946,
  3.   data:
  4.    { server_name: 'test',
  5.      status:
  6.       { data:
  7.          { process:
  8.             [ { pid: 10780,
  9.                 name: 'pm2-server-monit',
  10.                 interpreter: 'node',
  11.                 restart_time: 0,
  12.                 created_at: 1477485627757,
  13.                 exec_mode: 'fork_mode',
  14.                 pm_uptime: 1477485627757,
  15.                 status: 'online',
  16.                 pm_id: 0,
  17.                 cpu: 0,
  18.                 memory: 25501696,
  19.                 versioning: null,
  20.                 axm_actions:
  21.                  [ { action_name: 'processes/users', opts: null, arity: 1 },
  22.                    { action_name: 'disk usage', opts: null, arity: 1 },
  23.                    { action_name: 'who', opts: null, arity: 1 },
  24.                    { action_name: 'uptime', opts: null, arity: 1 },
  25.                    { action_name: 'open ports', opts: null, arity: 1 },
  26.                    { action_name: 'ifconfig', opts: null, arity: 1 } ],
  27.                 axm_monitor:
  28.                  { 'Loop delay': { alert: {}, agg_type: 'avg', value: '0.28ms' },
  29.                    'CPU usage':
  30.                     { alert: { cmp: '>', interval: 100, value: 90, mode: 'threshold-avg' },
  31.                       agg_type: 'avg',
  32.                       value: '0.00%' },
  33.                    'Operating System': { alert: {}, agg_type: 'avg', value: 'N/A' },
  34.                    'Avail. Disk':
  35.                     { alert: { cmp: '<', interval: 180, value: 10, mode: 'threshold-avg' },
  36.                       agg_type: 'avg',
  37.                       value: 'N/A' },
  38.                    'Used space': { alert: {}, agg_type: 'avg', value: 'N/A' },
  39.                    'TTY/SSH opened':
  40.                     { alert: { cmp: '>', interval: 180, value: 15, mode: 'threshold-avg' },
  41.                       agg_type: 'avg',
  42.                       value: '0\n' },
  43.                    'Open files': { alert: {}, agg_type: 'avg', value: 'N/A' } },
  44.                 axm_options:
  45.                  { default_actions: true,
  46.                    http: false,
  47.                    http_latency: 200,
  48.                    http_code: 500,
  49.                    ignore_routes: [],
  50.                    profiling: true,
  51.                    errors: true,
  52.                    alert_enabled: true,
  53.                    custom_probes: true,
  54.                    network: false,
  55.                    ports: false,
  56.                    module_conf: { drive: '/' },
  57.                    module_name: 'pm2-server-monit',
  58.                    module_version: '2.1.1',
  59.                    pmx_version: '0.6.8',
  60.                    error: true,
  61.                    widget:
  62.                     { el: { actions: true, probes: true },
  63.                       block:
  64.                        { main_probes:
  65.                           [ 'CPU usage',
  66.                             'Free memory',
  67.                             'Avail. Disk',
  68.                             'Total Processes',
  69.                             'TTY/SSH opened',
  70.                             'network in',
  71.                             'network out',
  72.                             'Operating System' ],
  73.                          mem: false,
  74.                          cpu: false,
  75.                          meta: true,
  76.                          issues: true,
  77.                          actions: false },
  78.                       theme: [ '#111111', '#1B2228', '#807C7C', '#807C7C' ],
  79.                       logo: 'https://www.glcomp.com/media/catalog/category/Dell-R620_3_1_1.png',
  80.                       type: 'generic' },
  81.                    isModule: true,
  82.                    description: 'Rack to monitor a server',
  83.                    drive: '/' },
  84.                 axm_dynamic: {} } ],
  85.            server:
  86.             { loadavg: [ 0, 0, 0 ],
  87.               total_mem: 33191391232,
  88.               free_mem: 24130924544,
  89.               cpu: { number: 8, info: 'Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz' },
  90.               hostname: 'DESKTOP-DJV6K1G',
  91.               uptime: 11569.44822,
  92.               type: 'Windows_NT',
  93.               platform: 'win32',
  94.               arch: 'x64',
  95.               interaction: true,
  96.               pm2_version: '2.0.18',
  97.               node_version: 'v6.7.0' } },
  98.         server_name: 'test',
  99.         internal_ip: '192.168.1.100',
  100.         protected: false,
  101.         rev_con: true },
  102.      monitoring:
  103.       { loadavg: [ 0, 0, 0 ],
  104.         total_mem: 33191391232,
  105.         free_mem: 24130924544,
  106.         processes: { 'test:pm2-server-monit:0': [ 0, 25501696 ] } } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement