2013年7月24日
摘要:
被监控机添加之后,可用性显示红色,鼠标放上去之后显示如标题问题,关闭被监控机器的防火墙,设置setenforce 0,可用性变可用。
阅读全文
posted @ 2013-07-24 06:13
语辰
阅读(2705)
推荐(0)
摘要:
[root@localhost etc]# tail -f /var/log/zabbix_server.log 1267:20130722:195451.493 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 1267:20130722:195451.493 Database is down. Reconnecting in 1
阅读全文
posted @ 2013-07-24 02:00
语辰
阅读(18312)
推荐(0)
摘要:
# wget http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/2.0.6/zabbix-2.0.6.tar.gz/download 2.安装zabbix所需的组件# yum -y install curl curl-devel net-snmp net-snmp-devel perl-DBI3.创建用户账号(server,agent)# groupadd zabbix# useradd -g zabbix zabbix# usermod -s /sbin/nologin zabbix4.创建zabbix
阅读全文
posted @ 2013-07-24 00:22
语辰
阅读(1407)
推荐(0)
2013年7月23日
摘要:
一、服务端环境准备ZabbixServer需要运行在Linux系统上,这里以CentOS作为部署环境。其他需要用到的包:#yum-yinstall mysql-develgccnet-snmp-develcurl-develperl-DBIphp-gdphp-mysqlphp-bcmathphp-mbstringphp-xml载的Zabbix安装包到本地,解压#tarzxvfzabbix-2.0.6.tar.gz增加zabbix用户和组#groupaddzabbix#useradd–gzabbix–mzabbix二、数据库准备启动MySQL数据库:#servicemysqldstart#mys
阅读全文
posted @ 2013-07-23 18:26
语辰
阅读(300)
推荐(0)
摘要:
http://bbs.chinaunix.net/thread-1724487-1-1.htmlhttp://blog.sina.com.cn/s/blog_5611597901017oee.htmlhttp://alfred-go.blog.163.com/blog/static/203145194201211102040977/http://waringid.blog.51cto.com/65148/945352http://wangwei007.blog.51cto.com/68019/1048154http://mayulin.blog.51cto.com/1628315/514501
阅读全文
posted @ 2013-07-23 18:02
语辰
阅读(595)
推荐(0)
摘要:
在CentOS系统中,安装zabbix进行configure时会遇到以下问题./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurlconfigure: error: MySQL library not foundthe problem is not installed mysql-devel解决方法:yuminstallmysql-devel
阅读全文
posted @ 2013-07-23 16:13
语辰
阅读(3768)
推荐(0)
posted @ 2013-07-23 16:10
语辰
阅读(197)
推荐(0)
摘要:
php解压后的文件路径为/usr/local/src/php-5.2.6 php 的安装路径为/usr/local/php[root@localhost# cd /usr/local/src/php-5.2.6[root@localhost]# cd ext/[root@localhost]# cd gettext/[root@localhost]# pwd/usr/local/src/php-5.2.6/ext/bcmath[root@localhost]# /usr/local/php/bin/phpizeConfiguring for:PHP Api Version: 20090...
阅读全文
posted @ 2013-07-23 15:59
语辰
阅读(805)
推荐(0)
2013年7月19日
摘要:
100, "color" => "red");print_r(array_keys($array));?>Array ( [0] => 0 [1] => color )
阅读全文
posted @ 2013-07-19 16:43
语辰
阅读(155)
推荐(0)
摘要:
$polling_items = db_fetch_assoc("SELECT * FROM poller_item WHERE rrd_next_step<=0 ORDER by host_id"); $script_server_calls = db_fetch_cell("SELECT count(*) from poller_item WHERE (action=2 AND rrd_next_step<=0)");//虾米意思
阅读全文
posted @ 2013-07-19 16:37
语辰
阅读(221)
推荐(0)