Enabling SNMP Agent on Solaris Systems

To install SNMP, follow these steps:

  • Download the latest version of SNMP from
    https://sourceforge.net/projects/net-snmp/files/ucd-snmp/
  • Extract the file using following command:
    tar -zxvf ucd-snmp-4.2.6.tar.gz
  • 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 (directory_name is the directory to install SNMP agent; preferably choose a directory under /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. To configure SNMP agents respond to SNMP requests, refer to Configuring SNMP agents.

    Was this page helpful?