Enabling SNMP Agent on Linux Systems
Refer to appropriate subsection to enable SNMP Agent on Linux system using one of two ways:
Install Using RPM
http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.1.1-1.rh9.i686.rpm?download
rpm -qa | grep "net-snmp"
rpm -e <version of net-snmp listed as the output for previous command> --nodeps
rpm -i <new downloaded version of SNMP agent> --nodeps
This completes the installation process. For configuring SNMP agents to respond to SNMP requests, refer to Configuring SNMP agents.
Install Using ZIP
https://sourceforge.net/projects/net-snmp/files/ucd-snmp/
tar -zxvf ucd-snmp-4.2.6.tar.gz
export PATH=<gcc path>:$PATH
/root
, as directories /usr
and /local
might contain files of an older version of SNMP):./configure --prefix=<
directory_name> --with-mib-modules="host"
make
umask 022
make install
This completes the installation process. For configuring SNMP agents to respond to SNMP requests, refer to Configuring SNMP agents.
Was this page helpful?