Nagios checks switch - checks are disabled!

Michael Jakscht jakscht at vit.de
Mon Nov 4 15:28:06 CET 2002



Hello,

here is my problem:
Nagios 1.0b4 checks a switch which is broken since about 30 days...
I set it to a scheduled period of downtime, disabled every check...
Nagios checks it!
Here's the config...


hosts.cfg
=========================================================
# 'rzv-sw-e1' host definition
define host{
        use                     generic-host

        host_name               rzv-sw-e1.vit.de
        alias                   Switch 1 Block E (3500XL)
        address                 172.16.1.9
        check_command           check-host-alive
        checks_enabled          0
        max_check_attempts      10
        notification_interval   0
        notification_period     24x7
        notification_options    d,u,r
        }
=========================================================


services.cfg
=========================================================
# Service definition
define service{
        use                             generic-service

        host_name                       rzv-sw-e1.vit.de
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              5
        normal_check_interval           9
        retry_check_interval            6
        contact_groups                  admins,bereitschaft
        notification_interval           0
        notification_period             24x7
        notification_options            c,r
        check_command                   check_ping!100.0,20%!500.0,60%
        }

# Service definition
define service{
        use                             generic-service

        host_name                       rzv-sw-e1.vit.de
        service_description             HOST-ALIVE
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              5
        normal_check_interval           9
        retry_check_interval            6
        contact_groups                  admins,bereitschaft
        notification_interval           0
        notification_period             24x7
        notification_options            c,r
        check_command                   check-host-alive
        }

# Service definition
define service{
        use                             generic-service

        host_name                       rzv-sw-e1.vit.de
        service_description             Uptime
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              5
        normal_check_interval           9
        retry_check_interval            6
        contact_groups                  admins,bereitschaft
        notification_interval           0
        notification_period             24x7
        notification_options            c,r
        check_command
check_snmp!'.1.3.6.1.2.1.1.3.0'!public
        }
=========================================================


I hope you have any idea why Nagios still checks this "host" and how I can
stop Nagios to do this.

Thanx in advance,

Michael








-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com




More information about the Users mailing list