Re: [Nagios-devel] [PATCH] - Schedule (host + all services
Posted: Fri Sep 11, 2009 11:44 am
--Apple-Mail-18--512078551
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
On 10 Sep 2009, at 22:28, Hendrik Baecker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 10.09.09 17:04, schrieb Thomas Guyot-Sionnest:
>>
>> Interesting request, since notifications are suppressed for services
>> when the host is in a downtime. I guess it fixes reporting then, in
>> which case I would suggest we try fixing reporting directly
>> (detecting
>> scheduled service downtime from the scheduled host downtimes) rather
>> than hack trough it with a new command that generate a flurry of
>> downtimes...
>>
>
> thanks for the note. On the one hand it might prevent miscalculating
> during reports but in my mind it's just easier.
> Currently we're reinstalling many of our systems. The first a system
> is
> getting back after new OS installation is the IP address and one of
> the
> last things is the nrpe installation. Most of the reinstall time the
> system is available through the hostcheck but the services aren't.
>
> I'm not sure if service notifications were surpressed if only the host
> is within a downtime... Our operational crew mainly work with "viewing
> the nagios" instead of reading it's notifications and on the CGIs it
> looks a little confusing if the host is up (but in downtime), some
> additional services like snmptrap or "ping" service are OK but other
> are
> not.
>
> The command itself isn't a new one. SCHEDULE_HOST_SVC_DOWNTIME exists
> already, if we can trust
> http://old.nagios.org/developerinfo/ext ... and_id=122
> ,
> it exists since nagios epoch
> command within the cmd.cgi via extinfo.cgi would be provided by my
> patch.
The patch looks reversed?
In Opsview, if someone sets a downtime for the host, we use this
extcommand to set all the services in downtime too. We can't think of
a valid reason to not do that, so I agree that it should be available.
Could you add a test to check that CGI has the string re: "set
downtime for host and all services"? Maybe a test so that submitting
this command puts the data into the t/rw/nagios.cmd file
I'll then get it applied to CVS.
Ton
--Apple-Mail-18--512078551
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
On 10 Sep 2009, =
at 22:28, Hendrik Baecker wrote:-----BEGIN PGP SIGNED MESSAGE-----Hash: =
SHA1Am 10.09.09 17:04, schrieb Thomas =
Guyot-Sionnest:Interesting request, since notifications are suppressed =
for serviceswhen the host is =
in a downtime. I guess it fixes reporting then, =
inwhich case I would suggest =
we try fixing reporting directly (detectingscheduled service downtime from the scheduled host =
downtimes) ratherthan hack =
trough it with a new command that generate a flurry =
ofdowntimes...thanks for the note. On the one hand =
it might prevent miscalculatingduring reports but in my mind it's =
just easier.Currently we're reinstalling many of our systems. The =
first a system isgetting back after new OS installation is the IP =
address and one of thelast things is the nrpe installation. Most of =
the reinstall time thesystem is available through the hostcheck but =
the services aren't.I'm not sure if service notifications were =
surpressed if only the hostis within a downtime... Our operational =
crew mainly work with "viewingthe nagios" instead of reading it's =
notifications
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]