No notification on hard state change afteranacknowledgement
Marc Powell
marc at ena.com
Thu May 1 23:13:11 CEST 2008
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of
Jim.Melin at co.hennepin.mn.us
> Sent: Thursday, May 01, 2008 3:19 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] No notification on hard state change
> afteranacknowledgement
>
>
> I have a sort of related question....
>
> We would prefer non-sticky acknowledgement to be the default behavior,
since
> there are many alerts for which a warning moving to critical require
> different action, or a change in action.
cgi/cmd.c --
case CMD_ACKNOWLEDGE_SVC_PROBLEM:
printf("<tr><td CLASS='optBoxRequiredItem'>Host
Name:</td><td><b>");
printf("<INPUT TYPE='TEXT' NAME='host'
VALUE='%s'>",host_name);
printf("</b></td></tr>\n");
printf("<tr><td
CLASS='optBoxRequiredItem'>Service:</td><td><b>");
printf("<INPUT TYPE='TEXT' NAME='service'
VALUE='%s'>",service_desc);
if(cmd==CMD_ACKNOWLEDGE_SVC_PROBLEM){
printf("<tr><td CLASS='optBoxItem'>Sticky
Acknowledgement:</td><td><b>");
printf("<INPUT TYPE='checkbox' NAME='sticky_ack'
CHECKED>");
CHECKED is hard-coded with no if{} around it so it's not configurable.
You'd need to edit the src code to remove 'CHECKED' and recompile.
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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