oscp_command not running

Arnold Cano arnoldc at mcmservice.com
Thu Feb 26 18:07:48 CET 2004


i am running in a basic distributed environment as described in the nagios 
documentation. on the distributed server i can see in the log that it is 
using active checks to monitor a host. on my master server those services are 
setup as passive checks. however, the ocsp_command never runs! i also have 
debugging enabled in the nsca.cfg and see nothing except when i run the 
'submit_check_result' command manually on the distributed server and see the 
results on the master server. 
 
 on my distributed server i have the following options...
 
 nagios.cfg
 <snip>
 execute_service_checks=1
 accept_passive_service_checks=0
 enable_notifications=0
 enable_event_handlers=1
 obsess_over_services=1
 ocsp_command=submit_check_result
 </snip>
 
 checkcommands.cfg
 <snip>
 define command {
 command_name submit_check_result
 command_line $USER2$/submit_check_result $HOSTNAME$ '$SERVICEDESC$' 
$SERVICESTATE$ '$OUTPUT$'
 }
 </snip>
 
 resource.cfg
 <snip>
 $USER2$=/usr/local/nagios/libexec/eventhandlers
 </snip>
 
 services.cfg
 <snip>
 notifications_enabled 0
 event_handler_enabled 1
 active_checks_enabled 0
 passive_checks_enabled 1
 parallelize_check 0
 obsess_over_service 1
 check_freshness 1
 </snip>
 
 on my master server i have the following options...
 
 nagios.cfg
 <snip>
 execute_service_checks=0
 accept_passive_service_checks=1
 enable_notifications=1
 enable_event_handlers=1
 obsess_over_services=0
 check_service_freshness=1
 </snip>
 
 services.cfg
 <snip>
 notifications_enabled 1
 event_handler_enabled 1
 active_checks_enabled 1
 passive_checks_enabled 0
 parallelize_check 1
 obsess_over_service 0
 check_freshness 0
 </snip>
 
any help would be greatly appreciated! i can also supply the full 
configuration files if anyone would be kind enough to help.
 
thanks,
 
arnold 



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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