How to add comments to services being monitored
Posted: 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
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