timeperiods

Ben Goodwin ben at atomicmatrix.net
Mon Jul 21 15:21:53 CEST 2003


Either I'm blind or I've hit a bug.. so I need another set of eyes on this
...

I'm getting paged a couple times in the 1AM timeframe for a service I've
tried to tell not to page during that time.  I can't figure out why it
still is ... help!  :-)
Nagios 1.1 by the way.

Thanks -

   -=| Ben


=======

(generic-service defines a check_period of 24x7; I'm (hopefully)
overriding it in the Ace Admin service definition)

define timeperiod{
        timeperiod_name excludebackups
        alias           24x7 Except Backup Periods
        sunday          00:00-00:55,02:00-03:55,04:35-24:00
        monday          00:00-00:55,02:00-03:55,04:35-24:00
        tuesday         00:00-00:55,02:00-03:55,04:35-24:00
        wednesday       00:00-00:55,02:00-03:55,04:35-24:00
        thursday        00:00-00:55,02:00-03:55,04:35-24:00
        friday          00:00-00:55,02:00-03:55,04:35-24:00
        saturday        00:00-00:55,02:00-03:55,04:35-24:00
        }

define service{
        use                     generic-service

        hostgroup_name          securid
        service_description     ACE Admin
        check_command           check_tcp!5550
        check_period            excludebackups
        }


define hostgroup{
        hostgroup_name  securid
        alias           SecurID/ACE Servers
        contact_groups  oncall
        members         host1,host2
        }

define host{
        use                             generic-host
        host_name                       host1
        alias                           host1.domain.com
        address                         1.2.3.4
        parents                         parent1
        }

define host{
        use                             generic-host
        host_name                       host2
        alias                           host2.domain.com
        address                         1.2.3.5
        parents                         parent2
        }



***** Nagios 1.0 *****

Notification Type: PROBLEM

Service: ACE Admin
Host: host1.domain.com
Address: 1.2.3.4
State: CRITICAL

Date/Time: Sat Jul 19 01:06:35 EDT 2003

Additional Info:

Connection refused by host



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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