nsca problem

Steve Shipway s.shipway at auckland.ac.nz
Sun Dec 18 22:25:35 CET 2005


> I've startd nsca daemon via inetd
> nsca   stream  tcp  nowait  _nagios /usr/local/sbin/nsca -c
> /etc/nagios/nsca.cfg --inetd

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.

Steve




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