Schedule downtime for a host from a commandline/script
Posted: Fri Nov 30, 2012 10:34 am
Hi all
I hope this is not an FAQ or something. I have looked but do not see this anywhere.
I would like to set a host to a "scheduled down time" state from a script. I am working on automating patching and often forget to do this step which can annoy my coworkers. Is there anyway to do this? I am writing my script in bash but I can also do perl or python. We are using Nagios version 3.0.3 currently. Thanks for your help.
Peace,
Lois
--
Lois Bennett, MSEE
Senior System Administrator
Channing Laboratory
Brigham & Women's Hospital
A Teaching Affiliate of
Harvard Medical School and
Harvard School of Public Health
I hope this is not an FAQ or something. I have looked but do not see this anywhere.
I would like to set a host to a "scheduled down time" state from a script. I am working on automating patching and often forget to do this step which can annoy my coworkers. Is there anyway to do this? I am writing my script in bash but I can also do perl or python. We are using Nagios version 3.0.3 currently. Thanks for your help.
Peace,
Lois
--
Lois Bennett, MSEE
Senior System Administrator
Channing Laboratory
Brigham & Women's Hospital
A Teaching Affiliate of
Harvard Medical School and
Harvard School of Public Health