active -> passive checks

jan gregor pamela at rak.bb.euroweb.sk
Thu Mar 25 22:54:01 CET 2004


Hello list.

I just came through one stupid problem with nagios. I had couple (100) 
of active service checks  (check_traffic) which were ran each minute. 
Due to performance problems I switched all these these services to
passive linkup/down trap handlers. I set passive_checks_enabled to 1 in
service template (used from all services) and 
accept_passive_service_checks to 1 too. However, nagios refused to
accept passive checks for these services. When I created new services,
everything worked fine. As i realised after LONG research, one field in
status.sav file of nagios was 1 in services newly added and 0 in
services that ware moved from active to passive. When a changed those
0s to 1, all services started to handle traps correctly. 

Had anyone came through similar problem? Is this problem of nagios, or
just my lame configuration? I just don't think, that it is good thing to
base configuration on status file and not the config files :).


Best regards

Jan Gregor


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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