Troubleshooting for Nagios

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 the message:
Error while Executing the Script
The path specified for the Nagios plugin in the nagios_plugins.json file is incorrect. Check that and try again
Different arguments and parameters specified in the JSON file is taken as a single monitor
Create multiple copies of the same Nagios plugin with different names.

For eg., Make copies of the check_ping file as check_ping_localhost and check_ping_172001 and use these files in the JSON file

{ "nagios": [ "/usr/local/nagios/libexec/check_ping_localhost -H localhost -w 1,1% -c 1,1% -p 5 -t 10 -4", "/usr/local/nagios/libexec/check_ping_172001 -H 172.0.0.1 -w 1,1% -c 1,1% -p 5 -t 10 -4" ] 

You get the message: 
<Path>: not found
Mention the actual physical path of the Nagios script file in the Nagios JSON file.


*Nagios scripts which need to be in the supported format are specific for Linux version 15.0.0 & without this format, we support scripts from version 15.3.0 and above.

    • Related Articles

    • Possible reasons why my Windows plugin is not added to my account

      The following are the possible list of cases where a Windows plugin monitor will not be configured to your Site24x7 account: Check if the version of the Site24x7 Windows monitoring agent is above 15.5.0 Ensure script is in Batch, VB, PowerShell or ...
    • 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: Download 'nagios_plugins.json' plugin from ...
    • Possible reasons why my Linux plugin has not been added to my Site24x7 account

      Check if the Site24x7 Linux monitoring agent version is above 15.0.0. You can check your agent version in the Summary tab of your server monitor, below the display name. The python directory path installed in the user's machine should match the path ...
    • Possible reasons for an agent communication failure

      When there is a failure in the agent communication, you will get a message, "Agent service <name> could not establish communication with the Server. Please check if there is a problem with the Network Communication. This could also happen if the ...
    • Possible reasons for website unavailability

      Site24x7 monitors the availability of your website by sending an HTTP request to the webserver and checks the status code of the returned response. A 200 OK success response indicates that the website is available. We will consider a website as ...