cacti监控windows主机处理器,内存2009-01-06 14:24:27
标签:cacti cpu windows 休闲 职场
版权声明:原创作品,如需转载,请与作者联系。否则将追究法律责任。
cacti是目前很流行的一款开源,免费的监控软件,有linux和windows两个版本,由于windows属于移植版本,所以功能上很弱,不如linux版本,我部署的均是linux版本。监控网络设备没有任何问题,但是在监控windows系统的主机出现了问题,如cpu信息无法获取到等,解决方法如下:
系统环境:linux as 5
监控软件:cacti for linux
需要第三方免费软件:snmp informant
下载地址:http://www.wtcs.org/informant/download.htm
首先开启操作系统的snmp 服务
然后安装snmp informant
然后到安装cacti的模版插件,解压缩后两部分:
其实监控方法在cacti的官方BBS中已经有相关说明。为了方便理解,小弟就再献丑一次。
http://forums.cacti.net/about29832.html&highlight=Windows
引用:
I have spent a few weeks on getting these looking and working good. Let me know what you think.
You will need to install snmp informant std. 1.6 on your windows machines for these to work.
Copy the snmp_informant_*.xml files to your cacti /resource/snmp_queries directory on your cacti box.
Import the cacti_data_query_w32_*.xml files into the cacti web interface.
These templates include CPU, Network, Disk, Memory and objects/threads.
I look all over out here to try and find some Windows templates that I liked and none of them seemed to get me where
I wanted to go. So I created all of these. Feel free to contact me if you have any issues.
大意是: 我花了几个星期让这些可以正常工作,让我可以正常工作,你要安装 snmp informant std 在你的windows机器上。
复制snmp_informant_*.xml 文件到你 cacti 的 /resource/snmp_queries目录中, 在cacti 的web界面中 导入cacti_data_query_w32_*.xml
这些模板包括了 CPU 网络 硬盘 内存 和对像/线程
一. 在windows上安装snmp(系统自己的服务,不是net-snmp,至于怎么安装,我就不多说了吧)
二.SNMP Informant 下载 http://www.wtcs.org/informant/download.htm 下载完成后,并安装。