Logging the change of a notification status

Jim Avery jim at jimavery.me.uk
Mon Jun 20 16:54:05 CEST 2011


On 9 June 2011 17:02, Zac Sanders <zac.sanders at tamu.edu> wrote:
> In our environment, we have around 20 people who have the ability to disable and enable notifications of hosts inside of Nagios.  Unfortunately, some of these people don't remember to re-enable the notifications once they've completed maintenance.  Does anyone know if it's possible to either have Nagios log who disabled notifications, or have it send out an alert when someone disables a notification?  Thanks.
>
> Zac

You can probably check the Apache access log (on my system that is
/var/log/apache2/access.log) to see who is disabling and enabling
notifications.  For example search the log for "cmd_typ=23" to look
for users disabling notifications for a service or "cmd_type=25" to
see where they are disabling notifications for a host.

Normally you should use scheduled downtime to disable notifications
during maintenance instead - that way you know that notifications will
be re-enabled at the end of the period of scheduled downtime and you
can easily see who has scheduled the downtime, and assuming they
bother to enter a meaninful comment, why.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list