Wednesday, February 11, 2009

Ubuntu SNMP Configuration

So recently I want to setup a cacti server to read all of the ubuntu server and found some directions on how to install and configure the SNMP service on my Unbuntu 8.10 Server.
sudo apt-get install snmpd snmp

After you install the software you need to make a changes to some of the config files.

/etc/default/snmpd - Take out the 127.0.0.1 and save the file
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'

/etc/snmp/snmpd.conf file to the following.

#com2sec paranoid  default         public
com2sec readonly  default         public
#com2sec readwrite default         private
syslocation Location
syscontact name@email.address.com

Make sure and restart the snmp server
/etc/init.d/snmpd restart

No comments:

Post a Comment

Raspberry Pi Zero W - Wireless Configuation

create the file under "boot" folder wpa_supplicant.conf country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev u...