摘要: nagios图形显示的配置 在服务端安装相关软件 #1、图形显示管理的依赖库 yum install cairo pango zlib zlib-devel freetype freetype-devel gd gd-devel -y #2、rrdtools的依赖 tar xf liba... 阅读全文
posted @ 2016-07-22 21:47 reblue520 阅读(311) 评论(0) 推荐(0)
摘要: nagios主动方式监控tcp服务web/syncd/mysql及url cd /usr/local/nagios/libexec/ [root@node4 libexec]# ./check_tcp -H 192.168.8.40 -p 80 TCP OK - 0.010 second r... 阅读全文
posted @ 2016-07-22 11:30 reblue520 阅读(587) 评论(0) 推荐(0)
摘要: nagios服务端监控客户端内存时发现监控不上 在客户端直接执行脚本,报错如下: # /usr/local/nagios/libexec/check_memory.pl -w 6% -c 3% -bash: /usr/local/nagios/libexec/check_memory.pl:... 阅读全文
posted @ 2016-07-22 09:27 reblue520 阅读(222) 评论(0) 推荐(0)
摘要: 1.停用mysql服务 service mysqld stop 2.修改my.cnf 利用vim命令打开mysql配置文件my.cnf 添加skip-grant-tables,添加完成后,执行wq保存 3.启动mysql数据库service mysqld start mysql -... 阅读全文
posted @ 2016-07-22 08:24 reblue520 阅读(128) 评论(0) 推荐(0)