Monitoring remote hosts

Rikard Dahlberg rik.dahlberg at gmail.com
Mon Dec 6 15:52:59 CET 2010



Hey daniel!

Wow, this really showed my error i think. I cant connect either on localhost:5667 nor from the server via telnet 5667...
Could i ask you if you could walk me through how to troubleshoot this? That would really make my day :)
yes, i use xinetd
this is the config file :

# description: NSCA (Nagios Service Check Acceptor)
service nsca
{
flags           = REUSE
type            = UNLISTED
port            = 5667
socket_type     = stream
wait            = no
user            = nagiosadmin
group           = nagios
server          = /usr/sbin/nsca
server_args     = -c /etc/nsca.cfg .inetd
log_on_failure  += USERID
disable         = no
only_from       = 127.0.0.1 *.*.*.*
}

im a total tool coming to this, what should i change? :)
/Rikard

> Date: Mon, 6 Dec 2010 15:20:50 +0100
> From: dtuecks at googlemail.com
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Monitoring remote hosts
> 
> Hi Rikard,
> 
> is your nsca daemon running (on your nagios host?). You can check the
> process list via 'ps aux | grep nsca'. Furthermore you should try to
> connect to port 5667 (from localhost and/or your windows server):
> telnet localhost 5667. If you get connected you should verify your
> network setup (Firewalls? Do you use (x)inetd? If so, is the option
> 'allow_only' configured?) ...
> 
> Daniel
> 
> 2010/12/6 Rikard Dahlberg <ej_seg at hotmail.com>:
> > Hello
> >
> > I'm just starting with nagios and im trying to learn everything at once.
> > At this moment im trying to get a remote windows 2008 server to be
> > monitored, its on a different network so i've decided to use NSCA to monitor
> > it via passive checks.
> > However I get an error message at the remote server saying "Could not
> > connect to: xxx.xxx.xxx.xxx:5667 10061: No connection could be made because
> > the target machine actively refused it." And i've checked in the
> > /usr/local/nagios/var/log/nagios.log and the /var/log/syslog.log files and
> > they come up blank.
> >
> > Im sure ive set up same encryption on both sides and im sure that they both
> > use the same password...
> > Any ideas how to start troubleshooting it? And since im new to nagios,
> > please explain thouroly :)
> >
> > //Rikard
> >
> > ------------------------------------------------------------------------------
> > What happens now with your Lotus Notes apps - do you make another costly
> > upgrade, or settle for being marooned without product support? Time to move
> > off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> > use, and manage than apps on traditional platforms. Sign up for the Lotus
> > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> > _______________________________________________
> > 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
> >
> 
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly 
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus 
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101206/79b83311/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
-------------- next part --------------
_______________________________________________
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