JDP 發表於 2010-3-30 18:02:40

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]
查看完整版本: Nagios Ping被擋掉出現Host down怎麼辦?