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 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 ...
    • Troubleshoot connection errors in the MySQL plugin

      When configuring the MySQL plugin, you may encounter the following errors: Error : Connection Error - This error typically indicates that there is a problem establishing a connection to the database. Sometimes, this message is supplemented with an ...
    • Troubleshoot the "pymysql module not found" error when installing the MySQL plugin

      If you're encountering the pymysql module not found error, it likely means that the pymysql Python library is not installed on the server. pymysql is a Python package that provides a way to interact with MySQL databases using Python code and is used ...
    • Troubleshoot "[Errno 111] Connection refused" error for RabbitMQ plugins

      When installing the RabbitMQ plugin, you may encounter the following error: urlopen error [Errno 111] Connection refused: This error usually occurs when the plugin tries to connect with the RabbitMQ server but is unable to establish a connection. ...
    • Troubleshoot the HTTP Error 403 (Forbidden) for Jenkins

      When installing the Jenkins monitoring plugins, you may encounter the following error: HTTP Error 403: Forbidden: This error usually indicates that you don't have the necessary permissions to access a particular resource or perform a specific action ...