首页 > 移动平台 > 详细

nagios监控keepalived

时间:2014-07-17 08:07:20      阅读:517      评论:0      收藏:0      [点我收藏+]

在客户端上配置nrpe监控keepalived进程

[root@localhost ~]# vim /usr/local/nagios/etc/nrpe.cfg

command[check_keepalived]=/usr/local/nagios/libexec/check_procs -w 2: -c:4 -C keepalived 

#command[check_keepalived]=/usr/local/nagios/libexec/check_procs -c 3:3 -C keepalived

注释:第一条为-w  <2警告 , -c >4紧急

      第二天为-c 不等于紧急

在服务端添加监控服务keepalived

[root@localhost ~]# vim /usr/local/nagios/etc/objects/199.cfg 

define service{

        use                             linux-service         

        host_name                       199

        service_description        keepalived

        check_command            check_nrpe!check_keepalived

        notifications_enabled              0

        }

重启nagios服务


本文出自 “xieping_linux” 博客,请务必保留此出处http://xieping.blog.51cto.com/3715452/1439057

nagios监控keepalived,布布扣,bubuko.com

nagios监控keepalived

原文:http://xieping.blog.51cto.com/3715452/1439057

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!