[PATCH] - Schedule (host + all services )downtime via extinfo.cgi

Hendrik Baecker andurin at process-zero.de
Thu Sep 10 23:28:47 CEST 2009


-----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/externalcommands/commandinfo.php?command_id=122,
it exists since nagios epoch ;) , only the possibility to use this
command within the cmd.cgi via extinfo.cgi would be provided by my patch.

Regards,
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkqpb48ACgkQlI0PwfxLQjlS1ACfTPMmq4xOh6CwylpvznQR+S+b
A4sAmgM36JqtrpOyIH0gBw+KqoG39Ev8
=y3yF
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july




More information about the Developers mailing list