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.
    • Related Articles

    • How to increase the Script Execution Timeout value for plugins

      If a plugin's script execution time exceeds the Script Execution Timeout value configured in Site24x7, it could result in errors during plugin installation or disrupt the polling for existing plugin monitors. In such cases, you need to extend the ...
    • Troubleshoot "[Errno 111] Connection refused" error when installing Tomcat plugins

      When installing Tomcat plugins, you may encounter the following error: We failed to reach a server. Reason: [Errno 111] Connection refused: This error indicates that your client is unable to establish a connection to the Tomcat Manager URL, but the ...
    • Possible reasons why your Nagios plugin is not working

      Possible Reasons Troubleshooting Tips The performance data format is not in the supported format* Please ensure the performance data is defined in the following format:  'label'=value[UOM];[warn];[crit];[min];[max] Refer this documentation You get ...
    • Site24x7 Customer Support SLA

      Severity Level 1: Site24x7 does not function without a fix being applied and when the problem has significant effect on the revenues or business operations of Subscriber. Severity Level 2: Site24x7 can function. However, it provides incorrect results ...
    • Prerequisites to add plugins

      Check out the prerequisites before you add a plugin: Linux Windows Languages Supported Python or Shell VB, Batch, PowerShell, DLL Plugins Directory /opt/site24x7/monagent/plugins C:\Program Files (x86)\Site24x7\WinAgent\monitoring\Plugins  Condition ...