Ended up doing a little patch to revert the behaviour for the checkbox to "Show 
Process Messages" (instead of "Hide Process Messages"):

diff cgi/history.c_org cgi/history.c
82c82
< int display_system_messages=TRUE;
---
> int skip_system_messages=TRUE;
260c260
<       printf("<td align=left valign=bottom CLASS='optBoxItem'><input 
type='checkbox' name='nosystem' %s> Hide Process 
Messages</td>",(display_system_messages==FALSE)?"checked":"");
---
>       printf("<td align=left valign=bottom CLASS='optBoxItem'><input 
> type='checkbox' name='nosystem' %s> Show Process 
> Messages</td>",(skip_system_messages==FALSE)?"checked":"");
468c468
<              display_system_messages=FALSE;
---
>              skip_system_messages=FALSE;
751c751
<       else if(display_system_messages==FALSE)
---
>       else if(skip_system_messages==TRUE)


From: Steffen Poulsen [mailto:[email protected]]
Sent: 21. oktober 2009 09:40
To: Nagios Users Mailinglist
Subject: [Nagios-users] Changing the default value of "Hide Process Messages" 
(when inspecting alert logs)

Hi,

I wonder if there is an easy way to change the default value of the "Hide 
Process Messages" checkbox when inspecting alert histories of hosts and 
services in Nagios?

We generate our Nagios centrally and reload it every 15 minutes, resulting in a 
lot of these messages in the log:

[2009-10-21 09:00:15] Nagios 3.0.6 starting... (PID=27677)
[2009-10-21 09:00:15] Caught SIGHUP, restarting...

They can be hidden by enabling the "Hide Process Messages" checkbox and 
clicking update - but only for the current view. If i.e. "Latest Archive" is 
clicked, the state of the checkbox is lost again.

So, it occured, simply changing the default value to not show the process 
messages looks like a sensible way to proceed for us.

Is there such a setting available?

Best regards,
Steffen

--

Venlig hilsen / Best regards

Steffen Poulsen
UNIX System Administrator
TDC Hosting A/S
Phone: +45 70 26 25 27
E-mail: [email protected]<mailto:[email protected]>
Web: www.tdchosting.dk<http://www.tdchosting.dk/>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to