The procedure is as follows: 1. run vi/etc/snmp/snmpd on each host in RedHatLinux. conf find this line of viewsystemviewincluded.1.3.6.1.2.1.1 (default configuration of snmp configuration file, that is, system information) 2. under the line above
The procedure is as follows:
1. RedHat Linux
Vi/etc/snmp/snmpd. conf
Find this line of view systemview sorted ded. 1.3.6.1.2.1.1 (default configuration in the snmp configuration file, that is, system information)
2. Add the following information under the line above
View systemview embedded ded. 1.3.6.1.2.1.2 (Interface Information)
View systemview embedded ded. 1.3.6.1.2.1.3 (ip information)
View systemview embedded ded. 1.3.6.1.2.1.4 (ip data)
3. Restart the snmp service.
/Etc/init. d/snmpd restart (this command is only used for redhat systems)
4. the test should be able to obtain the corresponding snmp information (snmpwalk command support needs to install net-snmp-utils-5.3.1-19.el5 packages or use mibbrowser Software Testing)
Snmpwalk-v 1-c public localhost. 1.3.6.1.2.1.1
Snmpwalk-v 1-c public localhost. 1.3.6.1.2.1.2
Snmpwalk-v 1-c public localhost. 1.3.6.1.2.1.3
Snmpwalk-v 1-c public localhost. 1.3.6.1.2.1.4