Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring the health and welfare of network equipment (eg. routers), computer equipment and even devices like UPSs. Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6. 1

Net-SNMP is the most used SNMP implementation for Linux.

Installation

Net-SNMP can be installed with the Pakfire web interface or via the console:

pakfire install netsnmpd

Usage

There is no web interface for this Addon. To run this Addon open the client console or terminal and access the IPFire box via SSH.

Configuration

To get access to a Linux-System over SNMP, you have to modify:

/etc/snmpd.conf

Should the Subnet 192.168.0.0/24 be allowed to read the whole SNMP-Directory, the following have to be added:

com2sec localnet  192.168.0.0/24         public
group localgroup usm       localnet
group localgroup v1       localnet
view all    included  .1
access localgroup ""      any       noauth    exact  all    none   none

Restart net-snmp service:

/etc/rc.d/init.d/netsnmpd restart

Test your Configuration

snmpwalk -v1 -c public 192.168.0.254 system

Change the IP to the system that should be tested.

License: GPL


  1. http://www.net-snmp.org