nsca problem

Matteo Mancini whiterabbit at mand4la.info
Sun Dec 18 22:37:25 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Steve..


> This syntax is wrong for inetd.conf.  Assuming your user is 'nagios', it
> should be:
> 
> nsca   stream  tcp  nowait  nagios /usr/local/sbin/nsca nsca -c
> /etc/nagios/nsca.cfg --inetd
> 
> Note that you specify the path to the server, and then all the arguments
> *including argv[0]* !  This makes it look a bit odd.  See your inetd.conf
> manual page, and look at the existing examples.

This is the mistake ...now I can see my test eventlog

Dec 18 23:32:52 nagios nsca[12451]: SERVICE CHECK -> Host Name:
'3KREMOTE', Service Description: 'Test', Return Code: '0', Output: 'This
is a test message generated by NagEvLog agent'
Dec 18 23:32:52 nagios nsca[12451]: End of connection...


thank u much

Matteo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDpdaV/TjXD9LUVswRAr+kAKCJZ98Fw7jMgONnhTsGPdsAJPWXhQCfY6zF
66MdNmLR0ouTAnoefIihXys=
=qM3k
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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