×

扫描二维码登录本站

QQ登录

只需一步,快速开始

标签: 暂无标签

  • nagios监控mysql服务器:                                                      来自:网络
  • 方法:定期去select下某个空闲的数据库
  • 使用插件:check_mysql
  • 问题:安装完成nagios后,发现居然没有这个插件,怎么办?                             nagios培训
  • 解决方法:
  • # yum install mysql-devel  <我系统默认没装mysql的>
  • 重装下nagios-plugins插件包
  • [root@svr4 nagios-plugins-1.4.15]# ./configure                               nagios实施
  •             --with-apt-get-command:
  •               --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
  •                --with-ping-command: /bin/ping -n -U -w %d -c %d %s
  •                        --with-ipv6: yes
  •                       --with-mysql: /usr/bin/mysql_config                         监控软件
  •                     --with-openssl: yes
  •                      --with-gnutls: no
  •                --enable-extra-opts: no
  •                        --with-perl: /usr/bin/perl
  •              --enable-perl-modules: no
  •                      --with-cgiurl: /nagios/cgi-bin
  •                --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin                   nagios配置
  •                    --enable-libtap: no
  • [root@svr4 nagios-plugins-1.4.15]# make && make install
  • 结果:这个插件有了!
  • [root@svr4 nagios-plugins-1.4.15]# ll /usr/local/nagios/libexec/check_mysql*                        开源监控软件
  • -rwxr-xr-x 1 root root 124343 Aug 31 13:13 /usr/local/nagios/libexec/check_mysql
  • -rwxr-xr-x 1 root root 120909 Aug 31 13:13 /usr/local/nagios/libexec/check_mysql_query
nagios安装



想做Nagios Zabbix,Cacti,iTop各种交流的,可以进入开源监控工具Nagios交流  QQ群号 476809427





上一篇:如何处理Nagios.cmd的报错
下一篇:你知道安装nagios客户端nrpe吗?
monicazhang

写了 2297 篇文章,拥有财富 12859,被 21 人关注

您需要登录后才可以回帖 登录 | 立即注册
B Color Link Quote Code Smilies

成为第一个吐槽的人

手机版|小黑屋|最新100贴|论坛版块|ITIL先锋论坛 |粤ICP备11099876号|网站地图
Powered by Discuz! X3.4 Licensed  © 2001-2017 Comsenz Inc.
返回顶部