How to add comments to services being monitored

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.

How to add comments to services being monitored

Postby adeelasghar » Fri May 19, 2017 3:05 am

Hi Nagios,

I have a problem and will really appreciate if someone can help me on this. I
am using Nagios Core to monitor some hosts/services. Now, whenever a
Service state goes from OK to CRITICAL i get an alert and the notification
is received, and the same happens when the service gets to OK state from
Critical.

Issue is whenever the switching time is very low, we might miss this so I
want to achieve the following functionality, whenever a service goes from
"CRITICAL" to "OK", or vice versa, I want the UI to pop up a comment
stating so, and stays there unless acknowledged. Now i know it can be
achieved by using some of the external commands like "add_service_comment"
and "add_service_acknowledgement" but i would really appreciate if you can
guide me through the process.

Do i need to modify the plugins to add the
functionality? I am using "check_procs" plugin to monitor the state of the
process running on different machines.

Let me know if you can help me out. Thanks.

Regards,
Adeel Asghar
adeelasghar
 
Posts: 1
Joined: Fri May 19, 2017 2:45 am

Re: How to add comments to services being monitored

Postby tgriep » Fri May 19, 2017 1:19 pm

First place to look for something like that is the Nagios Exchange site.
https://exchange.nagios.org

Search for Frontends and see if something will work for your needs.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 6164
Joined: Thu Oct 30, 2014 9:02 am


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 13 guests