LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1351|回复: 2

如果我远程主机禁ping,怎样设置才能让nagios不显示主机DOWN?显示正常呢。

[复制链接]
发表于 2009-4-23 12:01:57 | 显示全部楼层 |阅读模式
这是我定义的机主对像
define host{
        use                     linux-server
        host_name               MailServer
        alias                   Some Remote Host
        address                 221.130.187.86
        check_command             check-host-alive
        max_check_attempts      5
        normal_check_interval   3
        retry_check_interval    2
        check_period            24x7
        notification_interval   10
        notification_period     24x7
        notification_options    d,u,r
        contact_groups          admins
        }

define  service{
        use                     generic-service
        host_name               MailServer
        service_description     SMTP
        check_command           check_smtp
发表于 2009-4-26 23:39:52 | 显示全部楼层
换一种监控方式,试一下监控某个进程呢?
回复 支持 反对

使用道具 举报

发表于 2009-5-15 15:19:19 | 显示全部楼层
我改成了check_http
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表