Nagios Monitoring keepalived

Source: Internet
Author: User

Configuring the Nrpe monitoring keepalived process on the client

[Email protected] ~]# 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

Note: The first is the- w <2 warning ,-c >4 emergency

The next day is- C not equal to 3 emergency

adding monitoring services on the server side keepalived

[Email protected] ~]# 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

}

Restarting the nagios service


This article is from the "Xieping_linux" blog, make sure to keep this source http://xieping.blog.51cto.com/3715452/1439057

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.