distributed monitoring question

Todd Anderson todd at bsd.uchicago.edu
Fri Aug 22 06:28:45 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
So I think I might have track my problem to a previous thread. It seems 
there are problems with using send_nsca on solaris.  My distributed 
server is a Solaris 8 box and the central server is a redhat box.  I set 
up a distributed redhat box and things work. I am unable to get 
send_nsca working on the solaris box, it sort of sits there like a dead 
fish.

In a previous thread  (nsca-2.3 on Solaris ) it was suggested that

...change in the sourcefiles all u_int32_t into uint32_t


The change log for nsca references uint32_t frequently.
I'll try the above suggestion with nsca-2.4.

In relation to this problem would it benefit me to upgrade the 
distributed server to Solaris 9?


Thanks,
Todd


Todd Anderson wrote:

| 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
|
|


- --
Todd Anderson
Security Administrator
Biological Sciences Division, The University of Chicago
Phone: 773.834.2563
PGP Key: http://pgp.mit.edu (search string: "todd at bsd.uchicago.edu")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQE/RZv8vyLQBGnvNz4RAtjQAJ0RHq3G/5kxd9w1pBa5T54cpAEp4wCgp3Z7
uMSHwuLwybqTyC1iB8R3vOc=
=aJzJ
-----END PGP SIGNATURE-----




-------------------------------------------------------
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