Launching SNMP in Linux system

Top  Download  Previous  Next

How to run SNMP in Linux system (on the example of openSUSE distribution):

1.Install net-snmp packages (with dependencies)

2.Open ports 161 TCP and 161 UDP in the firewall

3.Open command line, enter:

su -

followed by the root user password

4.Run gedit from the command line and edit the /etc/snmp/snmpd.conf file

5.To have access to the entire SNMP tree for reading, enter:

view systemonly included .1

 

rocommunity public default

and save such modified file

6.If you want SNMP service to start during each system boot, enter in the command line:

chkconfig snmpd on

7.Now run SNMP service by entering in the command line:

service snmpd start

 

When the above procedure has been performed, open Credentials tab in the properties window of selected host in nVision, select SNMP manageable host option and click OK. Then, when a device information window is opened, it is possible to view SNMP counters tree in the SNMP tab.

Especially interesting system information can be found in branch:

.iso.org.dod.internet.mgmt.mib-2.host

 

OID: .1.3.6.1.2.1.25