passive check directive in configuration file doesn't works

Ravail David dravail at cvf.fr
Wed Nov 9 11:22:49 CET 2005


Hi,

I want to use passives checks services, but when nagios start, services start in active mode and doesn't accept passive check.
Only manner that I found to use passive checks, it to activate them by the cgi-web interface.
Nagios Version is 1.2 on a debian system.

my conf files include:

nagios.cfg : 

    execute_service_checks=1
    accept_passive_service_checks=1

---

services.cfg


    define service{
        name                            STemplate_GENERIC-Passive
        service_description             STemplate_GENERIC-Passive
        is_volatile                     0
        check_command                   check_graph_passive
        max_check_attempts              6
        normal_check_interval           1
        retry_check_interval            1
        active_checks_enabled           0
        passive_checks_enabled          1
        check_period                    24x7
        parallelize_check               1
        check_freshness                 1
        freshness_threshold             86400
        low_flap_threshold              0
        high_flap_threshold             0
        notification_interval           360
        notification_period             24x7
        notification_options            w,u,c,r
        notifications_enabled           1
        contact_groups                  rso-workers
        register                        0
        }

define service{
        use                             STemplate_GENERIC-Passive
        service_description             Traffic_Fa0/01
        host_name                       toto
        }

---


any ideas?



-- 

David RAVAIL
dravail at cvf.fr



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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