检查SNMP HOST-RESOURCES-MIB是否正常:
snmpwalk -v1 -c public 192.168.2.10 hrStorageTable
Zeoss配置
此配置以如何在Zenoss加入一个Linux系统并监控其各个组件和性能作为例子,仅供大家参考。未涉及到的部分以后会逐步补充!
zenoss如果安装成功,会在下次系统启动时自动运行,请参考[原创]Zenoss Core 2.3.2入门--安装
添加设备
进入zenoss界面之后,点击左面导航栏下方的Add Device(位于Management)
填写将要添加的设备属性:
Device Name:192.168.2.10
Device Class Path:/Server/Linux
Snmp Community: public
点击下方的Add Device按钮,等DeviceLoader运行完毕,查看输出过程是否有错误产生。
2009-02-04 14:55:59 INFO zen.Utils Executing command: /disk/zenoss/zenoss/bin/zendisc run --now -d 192.168.2.10 --monitor localhost --deviceclass /Server/Linux --snmp-port 161 --snmp-community public --weblog
2009-02-04 14:56:17 INFO zen.ZenDisc Connected to ZenHub
2009-02-04 14:56:17 INFO zen.ZenDisc Connected to ZenHub
2009-02-04 14:56:17 INFO zen.ZenDisc Looking for 192.168.2.10
2009-02-04 14:56:21 INFO zen.ZenDisc Result: Discovered device 192.168.2.10.
2009-02-04 14:56:21 INFO zen.ZenDisc No WMI plugins found for openSUSE
2009-02-04 14:56:21 INFO zen.ZenDisc No Python plugins found for opensuse
2009-02-04 14:56:21 INFO zen.ZenDisc No command plugins found for opensuse
2009-02-04 14:56:21 INFO zen.ZenDisc SNMP collection device opensuse
..................................................................................................
2009-02-04 14:56:37 INFO zen.ZenDisc zendisc shutting down
2009-02-04 14:56:38 INFO zen.DeviceLoader Device 192.168.2.10 loaded!