Weird alert

Collins, Steve Steve.Collins at industry.gov.au
Wed Sep 8 07:31:15 CEST 2004


>Could you post back how nonworkhours is defined in your cfg file?

Here's my TimePeriod.cfg

## NagMIN Configuration File (/usr/local/nagmin/nagios/TimePeriod.cfg) for TimePeriod
## Generated Wed Sep  8 13:47:28 2004
define timeperiod {
    timeperiod_name    24x7
    alias    24 Hours A Day, 7 Days A Week
    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
    sunday    00:00-24:00
}
define timeperiod {
    timeperiod_name    none
    alias    No Time Is A Good Time
}
define timeperiod {
    timeperiod_name    nonworkhours
    alias    Non-Work Hours
    monday    00:00-08:00,20:00-24:00
    tuesday    00:00-08:00,20:00-24:00
    wednesday    00:00-08:00,20:00-24:00
    thursday    00:00-08:00,20:00-24:00
    friday    00:00-08:00,20:00-24:00
    saturday    00:00-24:00
    sunday    00:00-24:00
}
define timeperiod {
    timeperiod_name    workhours
    alias    "Normal" Working Hours
    monday    08:00-20:00
    tuesday    08:00-20:00
    wednesday    08:00-20:00
    thursday    08:00-20:00
    friday    08:00-20:00
#   comment    Work Hours extended to cater for Western Australian Staff
}

We have a long workhours to cover multiple timezones.

Steve
--
Stephen Collins
Web Development Section
eBusiness Division
__________________________________________________
Department of Industry, Tourism and Resources 
Level 12, 20 Allara Street, Canberra City ACT 2600
GPO Box 9839, Canberra ACT 2601

E steve.collins at industry.gov.au
P +61 2 62137193
C +61 410 680722
F +61 2 62136227


**********************************************************************
The information contained in this e-mail, and any attachments to it, is
intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in
error, please delete it and notify the sender by return e-mail or telephone.
The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments.
***********************************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
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