passive check directive in configuration file doesn't works
Ravail David
dravail at cvf.fr
Wed Nov 9 18:10:35 CET 2005
thanks for your reply fred.
but i just had need to delete status.sav and all is right.
Fred a écrit :
>You should look through all of your configuration files.
>accept_passive_service_checks is a global setting, you most
>likely want to put "passive_checks_enabled 1" either directly
>in each definition or in some generic template that is included
>(use ...) in your definition.
>
>-FredC
>
>--- Ravail David <dravail at cvf.fr> wrote:
>
>
>
>>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
>>
>>
>>
>
>
>
>
>
>
>
>-------------------------------------------------------
>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
>
>
>
--
David RAVAIL
dravail at cvf.fr
+33(0)5.56.01.98.00
-------------------------------------------------------
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