Scheduled Downtime

Nagios Mass Acknowledge and Mass Downtime Scheduler

Description:

Script to help with the acknowledging of multiple alerts.

When running in a large environment, and during a large maintenance, alerts can flood the user and even with the use aid of servicegroups and hostgroups the alerts can overwhelm the user.

The script lists any problem unacknowledged or without unscheduled downtime.
Similar to what this link does:

/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=29&hoststatustypes=15&serviceprops=10

To setup the script, make sure you edit the paths to your nagios.cfg and that status.dat, and the command FIFO file are declared there.

To use the script, run without arguments, in interactive mode.

Current Version

1.1

Last Release Date

2012-07-18

Compatible With

  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Files
Project Notes
Reviews (8) Add a Review
Great script! Additional request.
by rtim, November 30, 2017

Thanks for the script. It works beautifully. I do have a couple requests if possible. Is there a way to add the function to go through the scheduled downtimes and end them? Secondly, is there a way to add service groups to the search function? Thanks again for the script.



Great script, have space to improve
by Nestor, August 31, 2015

work beautifully. I second to some of them comment about list all and ack all. Its open source, perhaps someone can help add on such function? But anyway, the script is great as what it is. ;-)



Very handy script
by 2020media, May 31, 2013

Great script. Worked out of the box for me on Nagios 3.2 An improvment could be to run it via the web.



Does what it says
by skreier, March 31, 2013

I needed a simple way to acknowledge a lot of Host an serviceproblem trough a unplannend downtime. An this Script is perfect, because it reads the open messages an give me the option to ignore , acknowledge or set on downtime for a limited timeperiod. Thanks a lot.



Doesnt ack the alert
by nagiospig, November 30, 2012

I have tried this on 3.4.1 even with the changes mentioned above but it doesnt ack the alert



Little change
by wilcoNL, September 30, 2012

There is a little problem in the source which prevented me from running it with Nagios 3.4 core. Just change the following: if($_ =~ /service {/){ $is_service = 1; } into if($_ =~ /servicestatus {/){ $is_service = 1; } And it run like a charm. Nice program to have.



Works good
by dwall, August 31, 2012

I have not used this extensively yet, but it does appear to work for me using the FAN image based on CentOS5.8. I would like an options to show the services and hosts with unacknowledged events, and acknowledge all. This might be included already, but on first run it asked for a string, I entered SSL, and received a listing to acknowledge one service at a time. I will have to look at the code and see if there are already other options, but overall this is better than the web interface for acknowledging.



Fail
by corcoran, June 30, 2012

This script dumps out without errors on Ubuntu. Have tried to contact the author with no response. Sad as it'd be TOP USEFUL.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3.8 (14)
Favorites
1
Views
121,965