Host Down Time
Max H.
btmanmeh at verizon.net
Thu Sep 28 19:26:00 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
dhaval thakar wrote:
> Dear All,
>
>
> I am using Nagios to monitor critical machines;
> these machines are down after 5.00 pm,
> i tried to configure down time for these host; but down time could be set
> only with dates,
> i dont want configure down time on the dates,
> these machines are daily up at 10.00am & down at 5.00pm.
>
> Kindly provide me proper solution to configure down time for these hosts.
Set up a timeperiod with your specified times. Example timeperiods.cfg
# 'workhours' timeperiod definition
define timeperiod{
timeperiod_name workhours
alias "Normal" Working Hours
monday 10:00-17:00
tuesday 10:00-17:00
wednesday 10:00-17:00
thursday 10:00-17:00
friday 10:00-17:00
}
Now in your hosts:
define host{
host_name your_server
alias your_server
notification_period workhours
notification_options d,r
contact_groups your_group
address your_ip
etc...
}
Now you'll only get contacted about these hosts during the time you just
specified...simple.
Max
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org
iD8DBQFFHAWoHoeeepPau2ERAt1DAKC55+dVGW04zg2ChB9mThmKU3vmMgCgiIVI
1+Hy7KFpLM6LOaGt9Nvr8Jg=
=ue4e
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
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