Installing SNMP Agent on Solaris Systems
Download the latest version of SNMP using the following URL:
Extract the file using following command:
tar -zxvf ucd-snmp-4.2.6.tar.gz
To install SNMP, follow the steps given below:
- Login as root user.
- Execute the command to set the path of the C compiler:
export PATH=<gcc path>:$PATH
- Execute the following four commands from the directory where you have extracted the ucd-snmp:
- ./configure --prefix=<directory_name> --with-mib-modules="host"
directory_name is the directory to install SNMP agent. Preferably choose a directory under /root. The directories /usr and /local might contain the files of an older version of SNMP and so do not choose these directories to ensure proper installation.
- umask 022
- make install
This completes the installation process. To configure SNMP agents respond to SNMP requests, refer to Configuring SNMP agents.