- 论坛徽章:
- 0
|
关于openNMS/SNMP 的请教!
原帖由 \"hnlotus\" 发表:\n謝謝Konqueror的回復!\r\n我以重裝了FC3現在可以進主介面了,但還不太會用,是否還可以請教幾個問題.\r\n或給我幾個opennms的使用說明的地址也可以,最好是中文的(哈哈,不好意思英文太差)\r\n1.我怎麽樣才能監測到網上Windows.......... \r\n\r\n1.我怎麽樣才能監測到網上Windows電腦的CPU.DISK等一些硬體的情況.\r\nTo get your OpenNMS work with Windows server, the following steps must be done.\r\na. Install SNMP service on your Windows Server, configure SNMP string and start SNMP service. \r\n\r\nb. Use one of the following method to specify the SNMP community string for all the devices you want to manage. (edit snmp-config.xml)\r\n\r\n#默认的snmp community string,没有特别指定使用默认的 \r\nread-community=\"public\" write-community=\"private\">; \r\n\r\n#为个别设备指定snmp community string \r\n<definition read-community=\"snmpstring1\">; \r\n <specific>;192.168.0.3</specific>; \r\n <specific>;192.168.0.4</specific>; \r\n </definition>; \r\n\r\n#为一个网段的设备指定snmp community string \r\n <definition read-community=\"snmpstring2\">; \r\n <range begin=\"192.168.1.1\" end=\"192.168.1.254\"/>; \r\n </definition>; \r\n</snmp-config>; \r\n\r\nc. Put your device into manage by editing include file or discovery file.\r\n\r\nd. Restart OpenNMS service by issuing command: service opennms restart\r\n\r\n2.我監測到的某些linux的電腦有啟動snmp,就可以監測到內存,但也看不到disk等的情況.\r\n\r\nTo monitor a non-standard system value, OIDs must selected. \r\n\r\n3.而有一個linux的電腦也有開snmp,但提示為78.345%紅色,是否為警告,怎麽解決. \r\n\r\nClick on the device and review the event log, you\'ll find which outage cause this result.\r\n\r\n4.我的幾個設置文件不知為什麽變了樣,poller-configuration.xml \r\n\r\nDon\'t use Windows Notepad to edit your configuration file, instead, use editor inside your Linux box e.g. VI, GEDIT. If you prefer edit your config in Windows, install WinSCP, you can use its build-in editor. \r\n\r\nBTW, if you only want to monitor CPU, Disk and memory, using MRTG will be more straightforward. \r\n\r\nSorry for answering your question in English, I am in the NetBar and I can only type Chinese with Wubi. |
|