strange behavior - timeperiod problem?

Skip Montanaro skip at pobox.com
Mon Jul 14 17:17:16 CEST 2003


This time period seems screwy:

    terry> define timeperiod{
    terry>         timeperiod_name nonmaintenence
    terry>         alias           Non-Maintenence Period
    terry>         sunday          04:15-01:00
    terry>         monday          04:15-01:00
    terry>         tuesday         04:15-01:00
    terry>         wednesday       04:15-01:00
    terry>         thursday        04:15-01:00
    terry>         friday          04:15-01:00
    terry>         saturday        04:15-01:00
    terry>         }

Does Nagios do the right thing when the end time is earlier than the start
time?  That is, is

    sunday          04:15-01:00

interpreted as "Sunday 04:15 to Monday 01:00"?

A quick check of the docs suggests it should be

    sunday          00:00-01:00,04:15-23:59

-- 
Skip Montanaro
Got gigs? http://www.musi-cal.com/
Got spam? http://spambayes.sf.net/


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
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