Connection refused
Posted: Fri Nov 29, 2013 6:15 am
Hi all,
i have some problems that i cant find solution for it. I have 10 PC/Server hosts and for i dont know what reason, on one or two hosts i get this "Connection refused" status. Every 10 hosts are the same conf. (except the ip and hostname of course), all other hosts working ok and all the hosts have installed and configure the same NSClient++ same community etc. Also when i go to this two hosts that i get this connection refused (Host State Information) i get all OK but it shows me different i get mails that it is down ...
Also i try from the command to execute check_nt with different port numbers (just in case that it is not the port problem) and i got the same output ....
i have some problems that i cant find solution for it. I have 10 PC/Server hosts and for i dont know what reason, on one or two hosts i get this "Connection refused" status. Every 10 hosts are the same conf. (except the ip and hostname of course), all other hosts working ok and all the hosts have installed and configure the same NSClient++ same community etc. Also when i go to this two hosts that i get this connection refused (Host State Information) i get all OK but it shows me different i get mails that it is down ...
Also i try from the command to execute check_nt with different port numbers (just in case that it is not the port problem) and i got the same output ....
Im using Nagios 4.0.1 on CentOS 6.4 ...[root@mpnagios libexec]# ./check_nt -H 192.168.1.2 -p 12489 -s Testcomm -v CPULOAD -w 80 -c 90 -l 5,80,90,10,80,90
Connection refused
could not fetch information from server
[root@mpnagios libexec]# ./check_nt -H 192.168.1.3 -p 1248 -s Testcomm -v CPULOAD -w 80 -c 90 -l 5,80,90,10,80,90
Connection refused
could not fetch information from server