How to add comments to services being monitored

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
adeelasghar
Posts: 1
Joined: Fri May 19, 2017 2:45 am

How to add comments to services being monitored

Post by adeelasghar »

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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: How to add comments to services being monitored

Post by tgriep »

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!
Locked