Wrong Data on Nagios Dashboard

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Wrong Data on Nagios Dashboard

Postby smruti » Sun Aug 11, 2019 10:33 pm

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
smruti
 
Posts: 1
Joined: Sun Aug 11, 2019 10:24 pm

Re: Wrong Data on Nagios Dashboard

Postby tgriep » Mon Aug 12, 2019 2:55 pm

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 8212
Joined: Thu Oct 30, 2014 9:02 am


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 8 guests