nsca problem

Matteo Mancini whiterabbit at mand4la.info
Sun Dec 18 21:19:07 CET 2005


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

Hi list

I'm configuring nsca for windows eventlog monitor, but I've got a few
problem with nsca

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

# netstat -an -p tcp
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      0  10.0.200.179.80        87.6.47.179.60681
ESTABLISHED
tcp        0      0  10.0.200.179.80        87.6.47.179.52152
FIN_WAIT_2
tcp        0      0  10.0.200.179.80        87.6.47.179.63290
FIN_WAIT_2
tcp        0      0  *.5667                 *.*                    LISTEN
tcp        0     48  10.0.200.179.22        10.0.200.145.27078
ESTABLISHED
tcp        0      0  *.22                   *.*                    LISTEN
tcp        0      0  *.80                   *.*                    LISTEN
tcp        0      0  127.0.0.1.587          *.*                    LISTEN
tcp        0      0  127.0.0.1.25           *.*                    LISTEN

BTW if I telnet port 5667, I recive a strange message:
# telnet localhost 5667
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Incorrect command line arguments supplied

NSCA - Nagios Service Check Acceptor
Copyright (c) 2000-2003 Ethan Galstad (nagios at nagios.org)
Version: 2.4
Last Modified: 07-23-2003
License: GPL
Encryption Routines: AVAILABLE

Usage: -c -c <config_file> [mode]

Options:
 <config_file> = Name of config file to use
 [mode]        = Determines how NSCA should run. Valid modes:
   --inetd     = Run as a service under inetd or xinetd
   --daemon    = Run as a standalone multi-process daemon
   --single    = Run as a standalone single-process daemon (default)

Notes:
This program is designed to accept passive check results from
remote hosts that use the send_nsca utility.  Can run as a service
under inetd or xinetd (read the docs for info on this), or as a
standalone daemon.

Connection closed by foreign host.
#

why this message? something goes wron with my setup?


thanks

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

iD8DBQFDpcQt/TjXD9LUVswRAgTwAJwKUBvdZAw/7/HeHWQkVXM8hSCCcACcC8ds
Gzpmh4GQEgEP/rxD1Io1YpM=
=Zbw6
-----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