nagios 3.x - special tiem definitions with exclude

Thomas Borger Thomas.Borger at esg.de
Wed May 21 08:48:10 CEST 2008


Hi,

I'm using nagios 3.0.1 in productive and evaluation environment and have
some trouble with time definitions.
Is there someone here with an working setup time definitions with using
"exclude"? (new feature in nagios 3.x)

I have asked this question in german mailing list also, but there is no one
who can help and some other admins
which have the traceable problem.

The target is a timeperiod which perform something 24x7 but on special day
like 2008-05-22 between 13:00-14:00 pause
all actions.

For example:

- checks on any day in the year should be performed in 00:00-24:00
- checks on 2008-05-22 should be performed on 00:00-13:00,14:00-24:00 (time
to administrate something on the monitored servers)

Some administrators in the german mailing list have tested several
combinations of timeperiod definitions, but the error ist always the same.

The checks on the specific day are stopped at 13:00. The parmeter "next
sheduled check in the WebGUI are recalculated and show
2008-05-23 00:00, isntead of 2008-05-22 14:00

The normal_check_interval is 2 minutes, so this can not be the problem.

example time definition


define timeperiod{
      timeperiod_name   service-2008
      alias             service-2008
      2008-01-26        12:00-24:00
      2008-04-26        15:15-15:20
      2008-07-26        12:00-18:00
      2008-10-25        12:00-24:00
      }

define timeperiod{
        timeperiod_name svc-check-test
        alias           svc-check-test
        sunday          00: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
        exclude         wartung-2008
        }


If there someone of you which have a working setup like this, please let me
know what we do wrong here!

threat in german Nagios forum:

http://www.nagios-portal.de/wbb/index.php?page=Thread&threadID=10064

thx in advance
Thomas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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