cacti无法生成windows服务器各种服务的图像
最近在学习ubuntu1004,在上边安装了-cacti,由于是一个初学者,请帮忙看看是cacti无法生成windows服务器各种服务的图像,怎么解决
谢谢啦!
cacti日志
10/20/2010 02:10:02 PM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SERVER not valid. Partial Result: U
110/20/2010 02:05:02 PM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SERVER not valid. Partial Result: U
10/20/2010 02:00:02 PM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SERVER not valid. Partial Result: U
cacti通过import templates将cacti_data_query_win_services.xml文件导入到cacti中,并将win_services.xml 复制到到varwwwcactiresourcescript_server中,将win_services.php复制到varwwwcactiscripts目录下,在监测设备中,能够看到windows服务器的各种服务。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
看看这里,有现成的
www.yunweiw.com
引用来自#5楼“靳德瑞”的帖子
您好,你有windows下配置文档吗 ?详细的谢谢!发给我下 562593211@qq.com
终于解决了这个问题,参考http://forums.cacti.net/viewtopic.php?f=12&t=11232中的附件,在在权限rrd的版本上做检查,都没有发现问题。在一次偶然操作点 Graph Management,点*Turn On Graph Debug Mode.提示ERROR: the RRD does not contain an RRA matching the chosen CF,我根据这个提示,我google,找到了原因
解决办法:http://www.jiunile.com/?p=180
我使用snmpwalk -v 2c -c public your_remote_ip if,出现了狠多的内容。
IF-MIB::ifOutUcastPkts.1 = Counter32: 46184672
IF-MIB::ifOutUcastPkts.2 = Counter32: 2420794719
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.2 = Counter32: 29788
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
应该不是这里的问题
估计是缺少了 snmpwalk
cacti log有如下错误
04/22/2009 02:10:08 AM - CMDPHP: Poller[0] Host[7] DS[44] WARNING: Result from SNMP not valid. Partial Result: U
04/22/2009 02:10:08 AM - CMDPHP: Poller[0] Host[7] DS[43] WARNING: Result from SNMP not valid. Partial Result: U
04/22/2009 02:10:08 AM - CMDPHP: Poller[0] Host[7] DS[42] WARNING: Result from SNMP not valid. Partial Result: U
04/22/2009 02:10:08 AM - CMDPHP: Poller[0] Host[7] DS[41] WARNING: Result from SNMP not valid. Partial Result: U
04/22/2009 02:10:08 AM - CMDPHP: Poller[0] Host[7] DS[40] WARNING: Result from SNMP not valid. Partial Result: U
04/22/2009 02:10:08 AM - CMDPHP: Poller[0] Host[7] DS[39] WARNING: Result from SNMP not valid. Partial Result: U
于是
wget ftp://mirror.switch.ch/pool/1/mirror/scientificlinux/5rolling/i386/SL/net-snmp-utils-5.3.1-24.el5_2.1.i386.rpm
安装获得snmpget snmpwalk snmpbulkwakl snmpgetnext
snmpwalk -v 2c -c public your_remote_ip if
错误:
Timeout: No Response from your_remote_ip
于是修改snmpd配置 并启动snmpd
com2sec notConfigUser default public--->com2sec notConfigUser your_snmpd_server_ip public
#view all included .1 80---->view all included .1 80
snmpwalk -v 2c -c public your_remote_ip system ok
但
snmpwalk -v 2c -c public your_remote_ip if
错误:
IF-MIB::ifTable = No Such Object available on this agent at this OID
于是再次修改snmpd.conf,并重启snmpd
access notConfigGroup "" any noauth exact systemview none none-->
access notConfigGroup "" any noauth exact all none none
再次snmpwalk -v 2c -c public your_remote_ip if
ok
再访问页面终于图和数据出来了