CONNECTION REFUSED

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

CONNECTION REFUSED

Post by brianweeks22 »

Good Morning..

I am running Nagios® Core™ 3.2.3 w/approximately 65 hosts.

I have a windows server 2008 R2 x64 server running NSclient++ 0.4.1.7 (currently)

I have tried MULTIPLE versions of nsclient..

this is the first server 2008 box installed using nagios..

any assistance would be great. I have the firewall turned OFF completely on the server as well as have tried turning firewall off on client

please let me know what else you may need

Thanks
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: CONNECTION REFUSED

Post by sreinhardt »

Turning the firewall completely off on Win 2k8 machines can open its own can of worms. I would highly suggest going into the firewall and allowing the nsclient exe access, as well as 5666, and 12489, for all incoming ports regarding nsclient. Per past issues, I would also suggest switching to the stable .3.x version. Let's start with those two changes and see how it works!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: CONNECTION REFUSED

Post by brianweeks22 »

I opened the firewall up just as a test hoping to narrow the issue down to the firewall... no luck

I would like to have all clients running before upgrading.

I also installed nagios on a windows 7 machine, and receiving the same errors.. It seems that 2008 and win 7 (newer OS) I am missing something?


Any other suggestions would be welcomed


Thanks

Brian
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: CONNECTION REFUSED

Post by slansing »

Can you send us a copy of your nsc.ini file in the NSClient++ main directory?
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: CONNECTION REFUSED

Post by brianweeks22 »

the host this file came off of is: 10.1.1.176 (backupsrvr001)

Nagios server is 10.1.1.249

when client firewall is off, w/in the nagios server console I get "connection refused"
WHen I turn the client firewall on, it changes to CRITICAL - Socket timeout after 10 seconds

I am able to monitor PING and RDP, but CPU, DiskSpaceC and Memusage are comming back w/the errors
Attachments
NSC.ini
backup srvr is backupsrvr001 (10.1.1.176)
(12.67 KiB) Downloaded 401 times
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: CONNECTION REFUSED

Post by brianweeks22 »

ANyone have any suggestions? I have exhausted all of mine?!

Thanks!

Brian
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: CONNECTION REFUSED

Post by abrist »

Are you monitoring the sevrer with nrpe through nsclient?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: CONNECTION REFUSED

Post by brianweeks22 »

Yes.. if you need any other data/screenshot feel free to let me know


I have been struggling with these few machiens for the past few weeks now!

THANK YOU
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: CONNECTION REFUSED

Post by brianweeks22 »

Good Morning.

If anyone needs any additional information, please, do not hesitate to ask.

This is one of those issues that I have been dealing with, and I am sure the solution is simpler than what I am making it.


Thanks Again

Brian
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: CONNECTION REFUSED

Post by slansing »

Can you send us your nrpe.cfg file on the nagios side?
Locked