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添加新主机的方法和一些添加时需要注意的事项
新添加主机的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) |
作者: liyingchunvip 发布时间: 2011-01-20
换成Generic SNMP-Enabled Host 试试
作者: 一路征程一路笑 发布时间: 2011-01-20
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28