Default Acknowledge Behavior

C. Bensend benny at bennyvision.com
Fri May 13 12:43:03 CEST 2011


> Can the default behavior for acknowledging an event be changed. As in can
> the default be changed from the "Sticky Acknowedgement" being always
> checked, to always unchecked?
>
> I have read a post on the internet that this is hard coded and you would
> have to change the source and recompile in order to accomplish this.
> http://article.gmane.org/gmane.network.nagios.user/54147
>
> This post is very old...maybe this has changed in 3.2.3?

This behavior cannot be changed without hacking cgi/cmd.c.  It's a
simple change:  on lines 951 and 977 (this is Nagios 3.2.3), remove
the CHECKED from that line.  That will make the checkboxes default
to *not* checked.

I believe this is a much more sane default than checked.

Benny


-- 
"You were doing well until everyone died."
                                    -- "God", Futurama



------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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