Thanks a million, will do !

Cheers,
Roberto

--On March 2, 2010 12:38:49 PM -0800 Daniel Rich <[email protected]> wrote:

Roberto,

Take a look at Aaron Segura's nagios_down script, it does exactly what
you need.  I have used it several times for scheduling recurring
maintenance windows.

http://www.monitoringexchange.org/inventory/Utilities/AddOn-Projects/Downtim
es/Downtime-Scheduling-Utility I even have a wrapper for it that will allow
any of our sysadmins to remotely schedule downtime for any hosts and/or
services from the
command line (unfortunately I can't release it as it has quite a few
dependencies on our internal environment).

For those who are suggesting just changing the timeperiod for the
checks, that doesn't do exactly the same thing as downtime.  Downtime
will allow you to keep monitoring the host(s) while not sending
notifications and/or affecting the uptime statistics.

Roberto R. Morelli wrote:
Marty,

Any chance of sharing that script ?

Cheers,
Roberto


--On March 2, 2010 8:37:21 PM +1100 Martin Barry <[email protected]>
wrote:


At $JOB[-1] we implemented this by writing a script that echoed the
correct
"schedule downtime" syntax into the command FIFO. It took hostname,
start
time and duration as arguements.

It was then a matter of having a crontab file which called the script
with
the appropriate arguements.

We found this a simpler and more flexible method than adjusting time
schedules inside Opsview.

cheers
Marty



--
--------------------------------
Roberto R. Morelli
[email protected]
Energy Sciences Network
Lawrence Berkeley National Lab.
510-486-7255

PGP Key Fingerprint: F49F 1186 0E2B F591 1BF7  0538 79AA F8C7 7E8B 4562


Attachment: pgp6D80cXsKTj.pgp
Description: PGP signature

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to