> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
> Sent: Thursday, May 01, 2008 3:19 PM
> To: [email protected]
> 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
[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