Nagios (Connection Refused)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Jason126
Posts: 4
Joined: Mon Sep 23, 2013 4:56 pm

Nagios (Connection Refused)

Post by Jason126 »

For some reason my NagiosXI server wont retrieve information such as CPU usage, memory usage, and disk space on my windows desktop. These are both on an internal network so I shouldn't need to open any ports, windows firewall is turned off, the NSClient++ config file seems to be correct. I'm not sure what I'm missing. Any help would be appreciated.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios (Connection Refused)

Post by abrist »

First, check to make sure that port 12489 on the windows box is open and reachable by the nagios server. On the nagios server:

Code: Select all

nmap <ip of windows box> -p 12489
Next, check to make sure that the password exists in the nsclient config and is passed in the $ARGn$s for the check (-s).
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.
Jason126
Posts: 4
Joined: Mon Sep 23, 2013 4:56 pm

Re: Nagios (Connection Refused)

Post by Jason126 »

I currently have no password assigned, I left it blank just because I was using it to test.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios (Connection Refused)

Post by slansing »

What came of the nmap abrist had you run? You have made sure to set allow_arguments to 1 in the nsclient config file correct?
Locked