老爷子88 发表于 2019-1-15 11:48:44

nagios安装完后插件里没有check_mysql的解决方法

  今天想用nagios去监控mysql需要用到check_mysql的插件,但发现libexec里没有这个插件,解决方法:
  1.#yum -y install mysql-devel
  2.重新编译安装nagios-plugins
  #tar zxvf nagios-plugins-1.4.15.tar.gz
        #cd nagios-plugins-1.4.15
        # ./configure --with-nagios-user=nagios --with-nagios-group=nagios --enable-perl-modules
        #make && make install
     3.查看:
http://blog.运维网.com/attachment/201208/105311746.png



页: [1]
查看完整版本: nagios安装完后插件里没有check_mysql的解决方法