zoukankan      html  css  js  c++  java
  • 使用nagios插件 check_mysql_health 过程中遇到的error

                                         使用nagios插件 check_mysql_health 过程中遇到的error                               

    1.如果在运行监控mysql插件的时候遇到了error安装以下依赖包就可以解决:

    yum install perl-DBD-MySQL 

    yum install -y perl-Time-HiRes

    2.check_mysql_health插件使用方法:

    ./check_mysql_health  --hostname=127.0.0.1 --port=3306  --username=root --password=123456 --mode threads-connected  --warning=60 --critical=70

    ./check_mysql_health  --hostname=127.0.0.1 --port=3306  --username=root --password=123456 --mode slow-queries
     
    ./check_mysql_health  --hostname=127.0.0.1 --port=3306  --username=root --password=123456 --mode table-lock-contention

    --mode  后面是监控的模块,模块名运行 ./check_mysql_health 获取。

  • 相关阅读:
    【2020-11-16】就是自己的松散意识在作怪
    JQuery 事件
    JQuery DOM 有关代码练习
    JQuery中的DOM操作
    主题简介 ASP .NET
    JQuery 选择器 *很重要 多记
    JQuery 基础
    Ajax 获取数据代码
    Ajax 介绍
    JavaScript 基础二
  • 原文地址:https://www.cnblogs.com/tangshengwei/p/4918273.html
Copyright © 2011-2022 走看看