Obsessive Compulsive Service Processor Command Not working?
Greg Cope
greg.cope at e-dba.net
Tue Sep 12 18:03:47 CEST 2006
Hi All,
I have double checked this - but for some reason I cannot get my
distributed monitoring to work with blastwave packaged nagios.
send_nsca and submit_check_result work fine - I get sensible data in my
main nagios.log file.
Some snippets of my config files;
In nagios.cfg;
cfg_file=/opt/csw/nagios/etc/minimal.cfg
ocsp_timeout=5
obsess_over_services=1
ocsp_command=submit_check_result
In minial.cfg;
define service{
name generic-service
obsess_over_service 1
}
In checkcommands I have;
define command{
command_name submit_check_result
command_line $USER1$/submit_check_result $HOSTNAME$
'$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPU
T$'
}
I have added an echo to a file in submit_check_result as well as
send_nsca - but nothing .....
Any ideas?
Greg
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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