ICINGA2 Check_mysql_health Plug-in

Source: Internet
Author: User


ICINGA2 Check_mysql_health Plug-in


https://labs.consol.de/nagios/check_mysql_health/


# tar ZXFV check_mysql_health-2.2.2.tar.gz

# CD check_mysql_health-2.2.2

#./configure

# make

# make Install

# cp-rv/usr/local/nagios/libexec/check_mysql_health/usr/lib64/nagios/plugins/

# chmod +x/usr/lib64/nagios/plugins/check_mysql_health


Compiled generated check_mysql_health can be used directly to other servers, without the need to compile the build


Number of crawl MySQL connections:


#/usr/lib64/nagios/plugins/check_mysql_health--hostname 127.0.0.1--username iccheck--password xxxxxx--mode threads-connected--warning 2000--critical


Write to/etc/nagios/nrpe.cfg


# vi/etc/nagios/nrpe.cfg


Command[check_mysql_c]=sudo/usr/lib64/nagios/plugins/check_mysql_health--hostname 127.0.0.1--username Iccheck-- Password xxxxx--mode threads-connected--warning 2000--critical


: Wq



# Service Nrpe Restart (Ubuntu is Service nagios-npre-server restart)



ICINGA2 configuration slightly




This article is from the "Linux" blog, so be sure to keep this source http://yangzhiming.blog.51cto.com/4849999/1977836

ICINGA2 check_mysql_health Plug-in

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.