Nagios says host is UP when the host is its decommissioned?
Posted: Sat Jun 25, 2016 11:51 pm
Hello,
Any idea why it is saying host is up when its actually decommissioned?
Please find below screen shot
https://support.nagios.com/forum/downlo ... w&id=13928
Output from nagios server:
1. Why Nagios says host is UP when it should report down
2. Any dynamic way to add and remove host from nagios?
Any idea why it is saying host is up when its actually decommissioned?
Please find below screen shot
https://support.nagios.com/forum/downlo ... w&id=13928
Output from nagios server:
Code: Select all
[root@puppet libexec]# telnet agent2 22
Trying 192.168.1.4...
telnet: connect to address 192.168.1.4: Connection refused
[root@puppet libexec]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.2 puppet master
192.168.1.3 agent1 machine1
192.168.1.4 agent2 machine2
192.168.1.5 agent3 machine3
[root@puppet libexec]# ./check_ssh -H agent2
connect to address agent2 and port 22: Connection refused
[root@puppet libexec]# pwd
/usr/local/nagios/libexec
[root@puppet libexec]#
2. Any dynamic way to add and remove host from nagios?