How to use snmp on your network PDF Print E-mail
Sunday, 04 March 2007 02:50
For a snmp server I used a vmware virtual appliance: cacti.
The clients I configured up till now are Fedora Core 6 environments. Windows will be added later on.

Install and configure snmp on the FC6 client

# yum install net-snmp
# yum install net-snmp-utils
# cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig
# vi /etc/snmp/snmpd.conf
rocommunity r71 192.168.0.1
syslocation “Wherever your machines sits”
syscontact This e-mail address is being protected from spambots. You need JavaScript enabled to view it
includeAllDisks

The ip address is put there for security reasons: only this machne may poll the snmp client

# chkconfig snmpd on
# service snmpd start
# snmpwalk -v 1 -c r71 -u rocommunity localhost

# system-config-securitylevel-tui
snmp:udp
# netstat -an |grep 161
udp        0      0 0.0.0.0:161                 0.0.0.0:*

Configure Cacti snmp server

Add a device to cacti (in this case the client snmp host)

Cacti: device configuration

 

Add comment


Security code
Refresh

More KB Articles