Ok so I have recently configured a new Nagios 3.0.3 box sitting on the latest Debian version. I have been able to get everything more or less working flawlessly except for one single remote machine. I have checked and triple checked that the same basic settings used on the other remote machines are the same on this… Nsclient service is running and i have verified that the .ini file that configures the service is set to allow the correct host addresses, port and log retention.
From the nagios box itself I have verified that I am able to nmap the remote machine on port 1248 and well as run the virtual check command test “./check_nt -H serverip -p 1248 -v CPULOAD -l 10,80,95,60,80,95,1440,80,95”. However, within the web interface all of the checks using the check_nt command are failing with “Connection refused” even though with the same settings and command format are working without fault.
On a side note I have verified that the remote machine is not be hind a switch, firewall, load balancer that could potentially block anything.
The following are my check commands…
‘Check_nt_cpuload’ command definition
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$
use generic-service ; Name of servi$