Nagios plugin monitoring

Support for Nagios plugins

Over hundreds of out-of-the-box Nagios plugins can be executed with a simple configuration file The power and flexibility of the open source community can be harnessed to its full potential. 

Prerequisites:
  1. Download 'nagios_plugins.json' plugin from https://github.com/site24x7/plugins/blob/master/nagios/nagios_plugins.json
  2. Place the plugin 'nagios_plugins.json' under agent plugins directory (/opt/site24x7/monagent/plugins/)
  3. Nagios scripts which obey the performance data format as mentioned in 'http://docs.pnp4nagios.org/pnp-0.6/perfdata_format' are only supported
Configurations:
For e.g.

The file nagios_plugins.json will look like the initial structure below

{ "nagios": [ ]
}

Edit the 'nagios_plugins.json' file to include the paths of the nagios script you want the agent to execute.

Sample Configuration:

{ "nagios": [ "/usr/local/nagios/libexec/check_ping -H localhost -w 1,1% -c 1,1% -p 5 -t 10 -4", "/usr/local/nagios/libexec/check_load -r" ] }

Note: 'check_load' is a nagios plugin which will be executed by the Site24x7 Linux monitoring agent to report back to the Site24x7 server.