Hosts Up services down.help me.

Jack Doyle jdoyle at lewisgaleclinic.com
Wed Jan 28 18:23:46 CET 2004


I may be misreading something... But because you put:

Register 0

That identifies the definition as a template, I believe.  Templates
should have register 0 Actual definitions should register.

-----Original Message-----
From: Fernando dos Santos Camargo [mailto:fernandosc at planetarium.com.br]

Sent: Wednesday, January 28, 2004 11:49 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Hosts Up services down.help me.


Hello people, i have Nagios Monitoring my network and my service
definition is like this: define service{
        name                            generico
        active_checks_enabled           1
        passive_checks_enabled          1
        parallelize_check               1
        check_period                    24x7
        notification_period             24x7
        notification_interval           120
        obsess_over_service             1
        check_freshness                 0
        notifications_enabled           1
        event_handler_enabled           1
        flap_detection_enabled          1
        process_perf_data               1
        retain_status_information       1
        retain_nonstatus_information    1
        is_volatile                     0
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  telecom
        notification_options            w,u,c,r
        register                        0
        }

My hosts definition is this:

define host{
        name                            generico
        notifications_enabled           0
        event_handler_enabled           1
        flap_detection_enabled          1
        process_perf_data               1
        retain_status_information       1
        retain_nonstatus_information    1
        checks_enabled                  1
        check_command                   check-host-alive
        max_check_attempts              10
        notification_interval           60
        notification_period             24x7
        notification_options            d,u,r
        register                        0
        }
This particular host is defined:

define service{
        use                             generico
        host_name                       rottec10
        service_description             LAN 01 - Porta Ethernet
        check_command                   check_ifoperstatus!test
        }

define service{
        use                             generico
        host_name                       rottec10
        service_description             WAN 01 - Link Internet
        check_command                   check_ifoperstatus!test
}

define host{
        use                     generico
        host_name               rottec10
        alias                   Roteador Cisco 3725 - Link Internet -
Tecnologia
        address                 172.18.0.220
        }




I will explain my problem:
I have one HOST and its SERVICES is DOWN, but the HOST is not down( i
tested a ping and its ok), therefore nagios should not include the HOST
at "hosts down list", but nagios is including this host and mark it as a
down host. What would i have to do? I think that nagios should include
the host marking it as a DOWN HOST only if the host dont respond, but in
this case the services are down , not the host. 


Fernando dos Santos Camargo



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the
breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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