nagios_downtime scripts

Brief Description

The Nagios downtime scripts have been created to automatically schedule downtimes to Nagios when taking down monitored hosts and/or services. Scheduling downtimes in Nagios during maintenances is important to suppress needless notifications and to differ planned downtimes from others in reportings.

What is special?

The downtime scripts for Nagios communicate with Nagios using the classic CGI interface to schedule and delete downtimes. This has been realized this way to have no additional service listening on the Nagios server.

The Nagios downtime scripts are available in Perl and Visual Basic Script (vbs). The perl scripts have been developed for Linux/Unix platforms and should work on most Linux distributions out of the box. The vbs edition of the script have been created using Windows XP and 2003 and should work on newest Windows systems without any additional software.

Since version 0.5 of the perl edition and 0.8 of the vbs edition it is possible to delete previously scheduled downtimes before the end of the downtime calling the script in “deletion” mode. For details about this feature take a look at the help output of the scripts.

Purposes

You may call the script post shutting down a machine. In case of a Linux server you might use the provided init script to schedule a downtime when restarting or shutting down the system to inform the Nagios server about the planned downtime. Similar solutions can be used on Windows servers using shutdown scripts.

The nagios_downtime scripts can also be called using schedulers like the cron daemon for scheduling downtimes for hosts and/or services on a regular base.

Links

The Nagios downtime scripts are hosted on Nagios forge. The newest versions can be downloaded directly from the repository. Version milestones are tagged and released as packed archives.

Comments (6) Trackbacks (0)
  1. TobiNo Gravatar
    11:35 on November 30th, 2009

    This script looks awesome. Gave it a quick test and it worked fine. This will be quite helpful for us! Thank you

  2. MaxNo Gravatar
    14:34 on January 13th, 2010

    Thanks for the improvements on your command line tool. I’ve been using version 0.3 for a long time and haven’t checked back to see about a new version until today. I like all the additions and improvements on the scripts!

  3. TedTesterNo Gravatar
    08:15 on May 28th, 2010

    Ja sehr schön, es gefällt :-) GPO und somit ist das “happy rebooting” Problem auch erschlagen. DANKE für das Skript!

    PS: Fehlt nur noch ein Downtime Taskplaner in Multisite *g*

  4. LaMiNo Gravatar
    13:11 on May 28th, 2010

    Ja, die Reboot-Probleme kenne ich nur zu gut ;-) . Freut mich, dass das Script etwas nützt.

    Grüße,
    Lars

  5. TedTesterNo Gravatar
    11:13 on June 9th, 2010

    Sag mal kann ich auch ein Silent Submit machen?
    Weil in der GPO haben mir die Windows Admins eine auf die Mütze gehauen, da
    beim herunterfahren noch “OK” angeklickt werden muss…
    Das ist nicht so toll, wenn jemand z.B. eine VM Host herunterfährt, und nicht vor dem System sitzt und die Meldung quittiert.

  6. LaMiNo Gravatar
    19:21 on June 15th, 2010

    Wir habn ja schon drüber geschrieben. Einfach das Script per cscript.exe aufrufen.

No trackbacks yet.