Nagios Ping被擋掉出現Host down怎麼辦?
commands.cfg 加入define command {
command_name check-host-alive-by-http
command_line $USER1$/check_http -H $HOSTADDRESS
}
hosts.cfg (自行定義的檔案) 加入加粗部份
define host{
use generic-host
host_name a-host-behind-a-firewall.mydomain.de
alias a-host-behind-a-firewall.mydomain.de
address a-host-behind-a-firewall.mydomain.de
check_command check-host-alive-by-http
}
Reference: http://lena.franken.de/nagios/hosts_without_ping.html
頁:
[1]