work time

Max H. btmanmeh at verizon.net
Thu Nov 16 18:04:32 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Loe wrote:
> When you all report on availability, how do you go about working out
> any scheduled maintenance periods?
> 
> For instance, I'd like to report on a specific hostgroup. The time
> period is 24x7 except 2-6 on Sundays.
> 
> Ideas?

#(12am to 2pm, 6pm to 12am)
define timeperiod{
        timeperiod_name 24x7
        alias           24 Hours A Day, 7 Days A Week, Except on Sundays
        sunday          00:00-14:00,18:00-24:00
        monday          00:00-24:00
        tuesday         00:00-24:00
        wednesday       00:00-24:00
        thursday        00:00-24:00
        friday          00:00-24:00
        saturday        00:00-24:00
        }

I'm assuming you mean 2pm to 6pm. If you meant 2am to 6am, then Sunday
would like like:

sunday 00:00-02:00,06:00-24:00 (12am to 2am, 6am to 12pm)

Max
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFFXJogHoeeepPau2ERAjqZAJ4rpO2jGU5PZ64ZpwKWL7DA+qboTgCeOx6j
WRW1rMs4wjZ0uoPlf0tufBY=
=C2Mu
-----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