Page 1 of 1

Re: [Nagios-devel] Bug: Setting both Service & Host downtime fails

Posted: Sun Nov 04, 2007 5:29 am
by Guest
Confirmed as fixed in 3.0b6 - thank you kindly...

Best wishes,
Matthew

------
>From: Ethan Galstad
>To: Nagios Developers List
>Cc:
>Date: Sat, 27 Oct 2007 08:45:43 -0500
>Subject: Re: [Nagios-devel] Bug: Setting both Service & Host downtime fails

>Matthew Richardson wrote:
>> I have noticed a problem in 3.0b5, which I think exists in earlier
>> versions.
>>
>> If one goes to extinfo.cgi for a hostgroup (eg
>> http://host/nagios/cgi-bin/extinfo.cgi? ... up=durrell) and then
>> select "Schedule downtime for all services in this host group" (eg
>> http://host/nagios/cgi-bin/cmd.cgi?cmd_ ... up=durrell) and ticks
>> "Schedule Downtime For Hosts Too", the event log shows:-
>>
>> |[1193469925] EXTERNAL COMMAND: SCHEDULE_HOSTGROUP_SVC_DOWNTIME;durrell;1193469887;1193486400;1;0;7200;nagiosadmin;manor house power down
>> |[1193469925] EXTERNAL COMMAND: SCHEDULE_HOSTGROUP_HOST_DOWNTIME;durrell;1193469887;1193486400;1;7200;nagiosadmin;manor house power down
>> |[1193469926] SERVICE DOWNTIME ALERT: durrell_gw;smtp;STARTED; Service has entered a period of scheduled downtime
>> |[1193469926] SERVICE DOWNTIME ALERT: durrell_gw;mailloop;STARTED; Service has entered a period of scheduled downtime
>> |[1193469926] SERVICE DOWNTIME ALERT: durrell_mitel3300;uptime;STARTED; Service has entered a period of scheduled downtime
>> |[1193469926] SERVICE DOWNTIME ALERT: durrell_mitel3300;alarm;STARTED; Service has entered a period of scheduled downtime
>> |[1193469926] SERVICE DOWNTIME ALERT: durrell_secure;smtp;STARTED; Service has entered a period of scheduled downtime
>> |[1193469926] SERVICE DOWNTIME ALERT: durrell_www;http;STARTED; Service has entered a period of scheduled downtime
>>
>> Notice that whilst both host and service downtime commands are shown, the
>> actual downtime occurs only for the services and not the hosts.
>>
>> If one subsequently schedules downtime for the hosts via
>> http://host/nagios/cgi-bin/cmd.cgi?cmd_ ... up=durrell, the host
>> downtime is properly scheduled thus:-
>>
>> |[1193470092] EXTERNAL COMMAND: SCHEDULE_HOSTGROUP_HOST_DOWNTIME;durrell;1193470030;1193486400;1;0;7200;nagiosadmin;manor house power down
>> |[1193470092] HOST DOWNTIME ALERT: durrell_gw;STARTED; Host has entered a period of scheduled downtime
>> |[1193470092] HOST DOWNTIME ALERT: durrell_jtrapid;STARTED; Host has entered a period of scheduled downtime
>> |[1193470092] HOST DOWNTIME ALERT: durrell_mitel3300;STARTED; Host has entered a period of scheduled downtime
>> |[1193470092] HOST DOWNTIME ALERT: durrell_secure;STARTED; Host has entered a period of scheduled downtime
>> |[1193470092] HOST DOWNTIME ALERT: durrell_www;STARTED; Host has entered a period of scheduled downtime
>>
>> A small bug I think...
>>
>> Best wishes,
>> Matthew
>>
>
>Thanks for the report. A fix will be in CVS shortly.
>
>
>Ethan Galstad
>Nagios Developer
>___
>Email: [email protected]
>Web: www.nagios.org
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems? Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>_______________________________________________
>Nagios-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/lis ... gios-devel






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]