<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Hey daniel!<br><br>Wow, this really showed my error i think. I cant connect either on localhost:5667 nor from the server via telnet 5667...<br>Could i ask you if you could walk me through how to troubleshoot this? That would really make my day :)<br>yes, i use xinetd<br>this is the config file :<br><br># description: NSCA (Nagios Service Check Acceptor)<br>service nsca<br>{<br>flags           = REUSE<br>type            = UNLISTED<br>port            = 5667<br>socket_type     = stream<br>wait            = no<br>user            = nagiosadmin<br>group           = nagios<br>server          = /usr/sbin/nsca<br>server_args     = -c /etc/nsca.cfg .inetd<br>log_on_failure  += USERID<br>disable         = no<br>only_from       = 127.0.0.1 *.*.*.*<br>}<br><br>im a total tool coming to this, what should i change? :)<br>/Rikard<br><br>> Date: Mon, 6 Dec 2010 15:20:50 +0100<br>> From: dtuecks@googlemail.com<br>> To: nagios-users@lists.sourceforge.net<br>> Subject: Re: [Nagios-users] Monitoring remote hosts<br>> <br>> Hi Rikard,<br>> <br>> is your nsca daemon running (on your nagios host?). You can check the<br>> process list via 'ps aux | grep nsca'. Furthermore you should try to<br>> connect to port 5667 (from localhost and/or your windows server):<br>> telnet localhost 5667. If you get connected you should verify your<br>> network setup (Firewalls? Do you use (x)inetd? If so, is the option<br>> 'allow_only' configured?) ...<br>> <br>> Daniel<br>> <br>> 2010/12/6 Rikard Dahlberg <ej_seg@hotmail.com>:<br>> > Hello<br>> ><br>> > I'm just starting with nagios and im trying to learn everything at once.<br>> > At this moment im trying to get a remote windows 2008 server to be<br>> > monitored, its on a different network so i've decided to use NSCA to monitor<br>> > it via passive checks.<br>> > However I get an error message at the remote server saying "Could not<br>> > connect to: xxx.xxx.xxx.xxx:5667 10061: No connection could be made because<br>> > the target machine actively refused it." And i've checked in the<br>> > /usr/local/nagios/var/log/nagios.log and the /var/log/syslog.log files and<br>> > they come up blank.<br>> ><br>> > Im sure ive set up same encryption on both sides and im sure that they both<br>> > use the same password...<br>> > Any ideas how to start troubleshooting it? And since im new to nagios,<br>> > please explain thouroly :)<br>> ><br>> > //Rikard<br>> ><br>> > ------------------------------------------------------------------------------<br>> > What happens now with your Lotus Notes apps - do you make another costly<br>> > upgrade, or settle for being marooned without product support? Time to move<br>> > off Lotus Notes and onto the cloud with Force.com, apps are easier to build,<br>> > use, and manage than apps on traditional platforms. Sign up for the Lotus<br>> > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d<br>> > _______________________________________________<br>> > Nagios-users mailing list<br>> > Nagios-users@lists.sourceforge.net<br>> > https://lists.sourceforge.net/lists/listinfo/nagios-users<br>> > ::: Please include Nagios version, plugin version (-v) and OS when reporting<br>> > any issue.<br>> > ::: Messages without supporting info will risk being sent to /dev/null<br>> ><br>> <br>> ------------------------------------------------------------------------------<br>> What happens now with your Lotus Notes apps - do you make another costly <br>> upgrade, or settle for being marooned without product support? Time to move<br>> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,<br>> use, and manage than apps on traditional platforms. Sign up for the Lotus <br>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d<br>> _______________________________________________<br>> Nagios-users mailing list<br>> Nagios-users@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/nagios-users<br>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>> ::: Messages without supporting info will risk being sent to /dev/null<br>                                       </body>
</html>