一、部署時
1、缺少OpenIPMI包
yum install -y OpenIPMI
rpm -ivh OpenIPMI-devel-2.0.16-14.el6.x86_64.rpm
附:RPM包搜尋下載下傳位址:http://rpm.pbone.net/
2、缺少libssh2包
rpm -ivh libssh2-devel-1.4.2-1.el6.x86_64.rpm
注:如果包版本不對則要查找相應版本的包,或者編譯安裝libssh2-1.8.0.tar.gz和ssh2-0.13.tgz
tar vxzf libssh2-1.8.0.tar.gz
cd libssh2-1.8.0
./configure
make
make install
tar vxzf ssh2-0.13.tgz
cd ssh2-0.13
/usr/local/php/bin/phpize
./configure --with-ssh2
make
#make install
二、監控時
1、資料庫連接配接報錯
connection to database ‘zabbix’ failed:[1040] Too many connections
原因:資料庫連接配接數過低,連接配接數大于配置的最大連接配接數
解決方法:擴大資料庫連接配接數
臨時(重新開機資料庫失效):登入資料庫,執行set global max_connections=2000 (設定最大連接配接數)
永久:在資料庫配置檔案上添加 max_connections=2000
2、agent監控報錯
agent日志報錯:cannot send list of active checks to “192.168.1.23”:host [test] not found
原因:agent主動推送資料到server,查詢不到對應的主機名;界面上配置的主機名與agent配置檔案中的Hostname不一緻導緻
解決方法:
方法1、修改界面上該對象的主機名
方法2、調整agent配置檔案的Hostname參數與界面一緻後,重新開機agent
3、snmp監控報錯
snmp界面報錯:snmp time out