+ -
当前位置:首页 → 问答吧 → cacti添加主机显示的状态都是unknow,不能进行资源绘图

cacti添加主机显示的状态都是unknow,不能进行资源绘图

时间:2011-01-20

来源:互联网

用cacti添加新监控主机,都能获取到对方snmp消息,但就是不能进行绘图,点devices一栏时,它的状态为unknow
新添加主机的snmp信息如下,
SNMP Information
System:Linux mmm-test-db 2.6.18-194.el5xen #1 SMP Fri Apr 2 15:34:40 EDT 2010
x86_64
Uptime: 90564 (0 days, 0 hours, 15 minutes)
Hostname: mmm-test-db
Location: Unknown (edit /etc/snmp/snmpd.conf)
Contact: Root root@localhost (configure /etc/snmp/snmp.local.conf)


debug信息如下
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.27.0.194 2 2:161:500:1:10:public:::::: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.27.0.194 2 2:161:500:1:10:public:::::: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='2'] index: 2
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='4'] index: 4
+ Found item [hrStorageIndex='5'] index: 5
+ Found item [hrStorageIndex='6'] index: 6
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.27.0.194 2 2:161:500:1:10:public:::::: query description'
+ Found item [hrStorageDescr='Memory Buffers'] index: 1
+ Found item [hrStorageDescr='Real Memory'] index: 2
+ Found item [hrStorageDescr='Swap Space'] index: 3
+ Found item [hrStorageDescr='/'] index: 4
+ Found item [hrStorageDescr='/boot'] index: 5
+ Found item [hrStorageDescr='/mnt/res.nmting.com'] index: 6
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php 172.27.0.194 2 2:161:500:1:10:public:::::: query sau'
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 2
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 4
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 5
+ Found item [hrStorageAllocationUnits='32768 Bytes'] index: 6
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'


向高手求教cacti添加新主机的方法和一些添加时需要注意的事项

12.jpg (95.3 KB)

下载次数:0

2011-01-20 11:43

作者: liyingchunvip   发布时间: 2011-01-20

换成Generic SNMP-Enabled Host 试试

作者: 一路征程一路笑   发布时间: 2011-01-20