<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Mangal;
        panose-1:0 0 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You might want to check:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>netstat –nap |grep 5667<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>That will show you what’s actually listening on that port, if anything.  That’s usually oen big reason xinetd couldn’t start up.  Like maybe you have an RC script starting up NSCA outside of xinetd.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br>Dan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rikard Dahlberg [mailto:rik.dahlberg@gmail.com] <br><b>Sent:</b> Monday, December 06, 2010 8:53 AM<br><b>To:</b> nagios-users@lists.sourceforge.net<br><b>Subject:</b> Re: [Nagios-users] Monitoring remote hosts<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><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<o:p></o:p></span></p></div></body></html>