Nsca config error?

James Bowes james at expresscomputers.com
Fri Mar 19 18:34:59 CET 2004


Hi.

No I cannot. I get this message in the central server logs...

 Mar 19 09:34:10 linuxdevel nsca[23094]: Unknown option specified in
config file '/usr/local/nagios/etc/nagios.cfg' - Line 19

I have poured over the nagios.cfg and pretty well most of the other
config files. I don't see where this problem lies...


--james 
-----Original Message-----
From: Jason Martin [mailto:jhmartin at toger.us] 
Sent: Friday, March 19, 2004 9:30 AM
To: James Bowes
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Nsca config error?

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

Can you telnet to that port from the source host and get a connection?  
"Connection Refused" from telnet is quite different then connection
accepted / dropped.  The former means the port isn't even listening, the
latter means it is listening but either won't talk to you or is having
problems starting the nsca process.

- -Jason Martin


On Fri, 19 Mar 2004, James Bowes wrote:

> Hi folks.
> 
> I have run a manual submit_check_result from my distributed server:
> 
> ./submit_check_result sim.test.net "Check C Drive" 0 "ok" 
> 172.20.10.168
> 
> And the result is:
> 
> Connection refused by host
> Error: Could not connect to host 172.20.10.168 on port 5667
> 
> On the central server, I have the ports configured correctly and 
> iptables is turned off.
> 
> My hosts.deny looks like this:
> 
> 	ALL: ALL EXCEPT 172.20.10.
> 
> While the hosts.allow looks like this:
> 
> 	nsca:172.20.10.169,127.0.0.1
> 
> My netstat command shows nsca as this:
> 
> tcp        0      0 *:nsca                  *:*
> LISTEN
> 
> And my /etc/services nsca entry looks like this:
> 
> nsca            5567/tcp                        # NSCA
> 
> I'm stymied here... Any ideas as to what I have overlooked are 
> appreciated.
> 
> Thanks,
> 
> --james
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux 
> tutorial presented by Daniel Robbins, President and CEO of GenToo 
> technologies. Learn everything from fundamentals to system 
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFAWy45l2ODWuqVSBMRApK0AJwIb3xgvVof/W+zkXkZCaVMgkLmfQCgixwG
aapCI9kKgSfFxmhFTE9vn6s=
=locN
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&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