Quantcast
Channel: NSClient++ » All Posts
Viewing all articles
Browse latest Browse all 189

NSClient++ and connection refused error …

$
0
0

Hello:
I was informed to post here from the Nagios XI forum.
Hello:
I am using the latest NSClient++-0.3.9.328 (64 bit) and have installed it successfully on a couple of Windows servers that were on the same VLAN:
Windows Server 2008 Standard (64 bit)
Windows Server 2008 R2 Enterprise (64 bit)

and then setup monitoring in Nagios XI 2014R1.5 using the Windows Server Wizard with no issues.

I then installed the client on about 4 different Windows servers, one in each different VLAN and with a different Windows OS version:
Windows Server 2012 Datacenter 64 bit
Windows 2008 R2 Enterprise SP1 64 bit

After the NSClient++ installs, I then setup monitoring for each of those servers using the Windows Server Wizard, but eventually the following errors appeared:
“connect to address <FQDN of my Windows server> and port 12489: Connection refused”

I found the following URL and read it, but it turned out that it was not the solution:
viewtopic.php?t=5970&p=26733

TROUBLESHOOTING:
1). I had my Network guy check the Firewall settings, and the monitoring server and all IPs in the different VLANs were allowed to communicate to each other with TCP and UDP port 12489.
2). I verified that regardless whether or not the local Windows firewall was on or off for the Domain, and that the exception for NSClient++ was allowed, that the problem was not a Windows firewall issue.

WHAT WAS THE COMMON ISSUE:
When I manually install the NSClient++ on a Windows server with my Domain Administrator credentials, UAC would prompt after I click “Install” and I would accept. Prior to installation completion, the client setup prompts to “Start service”, and I check that option and then click “Finish”.
It was found that the service did NOT actually start and I had to manually start the service in services.msc or run “net start NSClientpp” in a command window as Administrator!

Can anyone provide a way to have the service start when it’s supposed to after checking that option when UAC is running?? If UAC allows the NSClient++ installer to install, why won’t it allow the last part to start the service since it’s still part of that install process??

Thank you.


Viewing all articles
Browse latest Browse all 189

Trending Articles