Scheduling downtime for groups of hosts?
Aaron Segura
Aaron.Segura at cabelas.com
Tue Jan 16 21:42:50 CET 2007
http://www.nagios.org/developerinfo/externalcommands/commandlist.php
Pay special attention to
SCHEDULE_HOSTGROUP_HOST_DOWNTIME
Alternatively, I wrote a php script to handle scheduling downtime for
things that can't be done via the web interface:
http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_vi
ew]=628
(broken HTML link, be sure to get both lines)
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of David
Miller
Sent: Tuesday, January 16, 2007 1:24 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Scheduling downtime for groups of hosts?
Nagios 2.5 running on debian stable. Packages came from the backport
collection.
If I have a group of a dozen web servers, is there a way to schedule
downtime for all of them?
I read about triggered downtime in the docs:
*_Triggered Downtime_*
When scheduling host or service downtime you have the option of making
it "triggered" downtime. What is triggered downtime, you ask? With
triggered downtime the start of the downtime is triggered by the start
of some other scheduled host or service downtime. This is extremely
useful if you're scheduling downtime for a large number or hosts or
services and the start time of the downtime period depends on the start
time of another downtime entry. For instance, if you schedule flexible
downtime for a particular host (because its going down for maintenance),
you might want to schedule triggered downtime for all of that hosts's
"children".
.... but I don't have a natural parent for the group that isn't also
parent to a lot of things that I need to keep monitoring.
Entering a hostgroup name instead of a hostname gives this message:
"Sorry, but you are not authorized to commit the specified command."
This is being run by the nagiosadmin user with no restrictions placed on
it.
Ideas?
Thanks,
--- David
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list