How to use snmp on your network

How to use snmp on your network

How to use snmp on your network 150 150 Roderick Derks

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 someone@youremail.com
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

Roderick Derks

Liefhebber van fietsen, van het oplossen van IT puzzels, en van het delen van informatie om anderen te helpen.

All stories by:Roderick Derks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message