distributed monitoring question

Todd Anderson todd at bsd.uchicago.edu
Thu Aug 21 16:51:23 CEST 2003


I am having trouble getting the central nagios server to report the same 
thing as the distributed server. The distributed server performs the 
active check ok, but the central server says the connection timed out. 
note that the central server is not configured to run active checks.

it seems as if the distributed server is not sending the check results 
to the central server.

  Below I have some details on my machines configs and a brief summary 
of how I understand distrubuted monitoring should work Any corrections 
in my logic or thought on what I might be doing incorrectly are appreciated.

so, let me see if i understand this correctly. The dist server actively 
chesk hosts (using nrpe in this case), and has an ocsp command defined 
which pipes the information of every check throuch send_nsca and on to 
the central server.

the central server should recieve the information in the external 
command file var/rw/nagios.cmd, which then will get read every so often 
according to external command check interval (-1).

heres some relavent  info on my setup
distributed server:
in nagios.cfg set
ocsp_command=submit_check_result
obsess over services =1
 
configure libexec/eventhandlers/submit_check_result as defined in the 
docs: http://nagios.sourceforge.net/docs/1_0/distributed.html
defined command name submit_check_result in checkcommands.cfg and 
misscommands.cfg (tried both)


central server:
config ncsa
passive check enabled
disable active checks
external command check enabled
obsess over services =0 (tried 1 here also)


if I run submit_check_result manually I get the following output
 > /opt/nagios/libexec/eventhandlers/submit_check_result
0 data packet(s) sent to host successfully.

and telneting to the port on the centeral server works sort of* ( i get 
garbage for output)



thanks
Todd





-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
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