随笔分类 -  监控

1
/usr/bin/ld: cannot find -lc
摘要:yum install glibc-static[root@test chkrootkit-0.50]# make sensecc -static -o strings-static strings.c/usr/bin/ld: cannot find -lccollect2: ld returne... 阅读全文
posted @ 2014-09-23 10:26 zitong 阅读(375) 评论(0) 推荐(0)
Received empty response from Zabbix Agent at [agent]. Assuming that agent dropped connection because of access permission
摘要:Received empty response from Zabbix Agent at [agent]. Assuming that agent dropped connection because of access permission情况:server端一直显示更改server上agentd... 阅读全文
posted @ 2014-09-11 03:08 zitong 阅读(5355) 评论(0) 推荐(0)
UnsafeUserParameters=1 参数
摘要:UnsafeUserParameters=1 阅读全文
posted @ 2014-09-09 12:04 zitong 阅读(1782) 评论(0) 推荐(0)
unsafeuserparameters=1
摘要:unsafeuserparameters=1 阅读全文
posted @ 2014-09-09 12:02 zitong 阅读(509) 评论(0) 推荐(0)
netstat -an|awk '/^tcp/ {++s[$NF]} END {for( a in s) {print a,s[a]}}'
摘要:监控tcp连接情况netstat -an|awk '/^tcp/ {++s[$NF]} END {for( a in s) {print a,s[a]}}' 阅读全文
posted @ 2014-08-31 06:11 zitong 阅读(412) 评论(0) 推荐(0)
zabbix设置邮件报警
摘要:sendmail.sh的内容如下:#!/bin/bashto=$1subject=$2body=$3cat <<EOF|mail -s "$subject" "$to"$bodyEOF脚本权限为755的。 阅读全文
posted @ 2014-08-30 18:26 zitong 阅读(639) 评论(0) 推荐(0)
关于 percona monitoring plugins插件报slave is stoped on ip地址
摘要:思路:肯定是某个item触发了触发器去看触发器,找到 slave is stoped,如下图看到键是mysql.running-slave ,然后去定义key的文件中查看该键对应的脚本,修改脚本。got it。 阅读全文
posted @ 2014-08-29 22:31 zitong 阅读(221) 评论(0) 推荐(0)
zabbix_server上的问题
摘要:不要写成127.0.0.1,要不然一直包zabbix agent没有启动。 阅读全文
posted @ 2014-08-29 17:09 zitong 阅读(131) 评论(0) 推荐(0)
zabbix自动发现主机并注册
摘要: 阅读全文
posted @ 2014-08-29 16:57 zitong 阅读(208) 评论(0) 推荐(0)
zabbix_agent items not supported状态
摘要:不记得自己究竟更改了什么东西,然后突然发现所有的有关mysql的监控items都变成了not supported,怎么做不行,最后在web主页把主机删除,又重新添加一下,重新添加了一下模版就好了。这究竟是什么情况。 阅读全文
posted @ 2014-08-29 12:18 zitong 阅读(436) 评论(0) 推荐(0)
/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh: line 19: mysql: command not found
摘要:[root@test ~]# tail -f /tmp/zabbix_agentd.log/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh: line 19: mysql: command not foundvi/var/lib/z... 阅读全文
posted @ 2014-08-27 17:38 zitong 阅读(638) 评论(0) 推荐(0)
rm: cannot remove `/tmp/localhost-mysql_cacti_stats.txt': Operation not permitted
摘要:[root@DBslave tmp]# chown zabbix.zabbix /tmp/localhost-mysql_cacti_stats.txt 阅读全文
posted @ 2014-08-27 17:29 zitong 阅读(1308) 评论(0) 推荐(0)
Assuming that agent dropped connection because of access permission
摘要:Assuming that agent dropped connection because of access permission 阅读全文
posted @ 2014-08-27 17:10 zitong 阅读(848) 评论(0) 推荐(0)
3610:20140827:161308.483 No active checks on server: host [192.168.1.10] not found
摘要:3610:20140827:161308.483 No active checks on server: host [192.168.1.10] not found 阅读全文
posted @ 2014-08-27 16:17 zitong 阅读(376) 评论(0) 推荐(0)
用percona monitoring plugins 监控mysql
摘要:下载:http://www.percona.com/redir/downloads/percona-monitoring-plugins/1.1.1/percona-zabbix-templates-1.1.1-1.noarch.rpm安装:rpm -ivhpercona-zabbix-templa... 阅读全文
posted @ 2014-08-27 09:54 zitong 阅读(406) 评论(0) 推荐(0)
PHP MySQLi extension is not loaded
摘要:PHP MySQLi extension is not loaded如何解决呢?yum-yinstallmysqli.sohuozheyum -y install php-mysql 阅读全文
posted @ 2014-08-26 16:23 zitong 阅读(1729) 评论(0) 推荐(0)
zabbix 监控的数据
摘要:/usr/local/zabbix/bin/zabbix_sender --zabbix-server 192.168.1.10 --port 10051 --input-file /var/log/zabbix/cache/FromDualAgentCache.192.168.1.9.cache ... 阅读全文
posted @ 2014-08-19 17:16 zitong 阅读(390) 评论(0) 推荐(0)
zabbix客户端安装配置
摘要:1.下载,解压并安装zabbixtar zxvf zabbix-2.0.12.tar.gzcd zabbix-2.0.12./configure --prefix=/usr/local/zabbix --enable-agentmake&&make install2.配置zabbix_agentd... 阅读全文
posted @ 2014-08-11 10:35 zitong 阅读(318) 评论(0) 推荐(0)
记汉化zabbix后图形界面没有任何汉字的问题
摘要:1.安装并汉化后zabbix,所有的图形界面都没有任何字图,如下图2.郁闷不已,去/var/www/html/zabbix/fonts目录下面查看,发现之前上传字体的文件名后缀是.ttc,猜着一般见到的都后缀都是ttf的,会不会是这个问题导致的呢。于是在windows系统上找到simfang.ttf... 阅读全文
posted @ 2014-08-10 10:23 zitong 阅读(2205) 评论(0) 推荐(0)
zabbix的汉化
摘要:1.在windows中找一个自己喜欢的字体(C:\Windows\Fonts)或者去网上下载一个2.将字体上传到zabbix的web相关目录的fonts目录下(我的zabbix的web相关的文件都在/var/www/html/zabbix/fonts)3.修改zabbix页面管理的中文字体设置vi ... 阅读全文
posted @ 2014-08-09 16:48 zitong 阅读(503) 评论(0) 推荐(0)

1