Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
autoScheduledDowntime.pl
1.0
2012-05-30
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
47573
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
First fill the Configfile with your Hosts/Services for wich you want to set a downtime (each entry in single line).
./autoScheduledDowntime.pl –help
autoScheduledDowntime.pl Version: 1.0
The autoScheduledDowntime-Script can be used to schedule periodically Nagios Downtimes.
First fill the Configfile with your Hosts/Services for wich you want to set a downtime (each entry in single line).
The format should look like that:
‘type’#'hostname’,'startdate’,'starttime’,'enddate’,'endtime’,'fixed’,'trigger-id’,'author’,'comment’
Examples:
This will set a fixed host-downtime today from 10 to 11:
host#Server-1,*,10:00:00,*,11:00:00,1,0,7200,scheduledByAutoScheduledDowntimeScript,Demo Host Downtime
This will set a fixed service-downtime on May, 31 from 10 to 11:
service#Server-1,Service-XY,31-05-2012,10:00:00,31-05-2012,11:00:00,1,0,7200,scheduledByAutoScheduledDowntimeScript,Demo Service Downtime
Now you have to run the script periodically (i.e. with cron at midnight)
Usage:
-V (–version) Script version
-h (–help) Usage help
autoScheduledDowntime.pl Version: 1.0
The autoScheduledDowntime-Script can be used to schedule periodically Nagios Downtimes.
First fill the Configfile with your Hosts/Services for wich you want to set a downtime (each entry in single line).
The format should look like that:
‘type’#'hostname’,'startdate’,'starttime’,'enddate’,'endtime’,'fixed’,'trigger-id’,'author’,'comment’
Examples:
This will set a fixed host-downtime today from 10 to 11:
host#Server-1,*,10:00:00,*,11:00:00,1,0,7200,scheduledByAutoScheduledDowntimeScript,Demo Host Downtime
This will set a fixed service-downtime on May, 31 from 10 to 11:
service#Server-1,Service-XY,31-05-2012,10:00:00,31-05-2012,11:00:00,1,0,7200,scheduledByAutoScheduledDowntimeScript,Demo Service Downtime
Now you have to run the script periodically (i.e. with cron at midnight)
Usage:
-V (–version) Script version
-h (–help) Usage help
Reviews (0)
Be the first to review this listing!