Hi,
I wrote custom script to monitor our APIs. When I check output the of service on nagios.debug log, it's showing API status OK (exit code 0).
But in Dashboard it's showing API is critical (exit code 2).
Can anyone help me on this?
Regards
Smruti
Wrong Data on Nagios Dashboard
Re: Wrong Data on Nagios Dashboard
Can you run the plugin from a command line and show the output of the plugin?
Also, does the plugin run as the nagios user?
When nagios runs a check, it runs it as the nagios user and that could be the issue.
One more thing, please post the command definition and how the service check is defined so we can view those settings.
Also, does the plugin run as the nagios user?
When nagios runs a check, it runs it as the nagios user and that could be the issue.
One more thing, please post the command definition and how the service check is defined so we can view those settings.
Be sure to check out our Knowledgebase for helpful articles and solutions!