SNMP Agent Installation


(Adapted from Windows help)

You need to know the following information before you install the Simple Network Management Protocol (SNMP) service on your computer:

  • Community names in your network.
  • Trap destinations for each community.
  • IP addresses and computer names for SNMP management hosts.

Installing SNMP Agent on Windows 7

To install SNMP on Windows 7 follow the steps given below: You must be logged in as an administrator or a member of the Administrators group to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.

  1. Click Start and go to the Control Panel, double-click Programs and Features. Alternatively you can also run appwiz.cpl @,2 in the start menu

  2. Click Turn Windows features on or off in the left-hand side of the page.

  3. Select the Simple Network Management Protocol check box, and click OK.

  4. Click Next.

  5. Insert the respective CD or specify the complete path of the location at which the files are stored.

  6. SNMP starts automatically after installation.

This completes the installation process. To configure SNMP agents respond to SNMP requests, refer to Configuring SNMP agents.

Installing SNMP Agent on Windows 2008

To install SNMP on Windows XP, 2000 and 2003, follow the steps given below: You must be logged in as an administrator or a member of the Administrators group to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.

  1. Click Start and go to the Control Panel, double-click Programs and Features. Alternatively you can also run appwiz.cpl @,2 in the start menu

  2. Click Turn Windows features on or off in the left-hand side of the page.

  3. Select the Simple Network Management Protocol check box, and click OK.

  4. Click Next.

  5. In Server Manager click Add Features

  6. In Add Features Wizard, check the SNMP Services option checkbox and Install.

This completes the installation process. To configure SNMP agents respond to SNMP requests, refer to Configuring SNMP agents.

Installing SNMP Agent on Windows XP, 2000 and 2003

To install SNMP on Windows XP, 2000 and 2003, follow the steps given below: You must be logged on as an administrator or a member of the Administrators group to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.

  1. Click Start, point to Settings, click Control Panel, double-click Add or Remove Programs, and then click Add/Remove Windows Components.

  2. In Components, click Management and Monitoring Tools (but do not select or clear its check box), and then click Details.

  3. Select the Simple Network Management Protocol check box, and click OK.

  4. Click Next.

  5. Insert the respective CD or specify the complete path of the location at which the files are stored.

  6. SNMP starts automatically after installation.

This completes the installation process. To configure SNMP agents respond to SNMP requests, refer to Configuring SNMP agents.

Installing SNMP Agent on Windows NT

To install SNMP in Windows NT, follow the steps given below:

  1. Right-click the Network Neighborhood icon on the Desktop.

  2. Click Properties.

  3. Click Services.

  4. Click Add. The Select Network Service dialog box appears.

  5. In the Network Service list, click SNMP Service, and then click OK.

  6. Insert the respective CD or specify the complete path of the location at which the files are stored and click Continue.

  7. After the necessary files are copied to your computer, the Microsoft SNMP Properties dialog box appears.

This completes the installation process. To configure SNMP agents respond to SNMP requests, refer to Configuring SNMP agents.

Configuring SNMP Agent in Windows 2012

  • Log into your dedicated server using Remote Desktop.
  • Click on Windows Key > Administrative Tools > Server Manager.
  • Click Manage > Add Roles and Features.
  • Click Next > Next > Next > Next. Verify SNMP Services are installed. Click Cancel.

  • Click on Windows Key > Administrative Tools > Services.
  • Right click on SNMP Service and click on Properties.
  • Click on the Security tab. 
  • Type your randomized 8 - 10 character connection string. Be sure to make it Read-Only, not Read Write.

  • Click on Add.

 

Installing SNMP Agent on Linux systems

The installation of new version of SNMP is required only for versions prior to 8. Download the latest rpm version of SNMP using the following URL: http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.1.1-1.rh9.i686.rpm?download Download the zip version of SNMP using the following URL: http://heanet.dl.sourceforge.net/sourceforge/net-snmp/ucd-snmp-4.2.6.tar.gz To install using the rpm, follow the steps given below:

  1. Login as "root" user.

  2. Before installing the new version of net-snmp, you need to remove the earlier versions of net-snmp in your machine. To list the versions of net-snmp installed in your machine, execute the following command:
    rpm -qa | grep "net-snmp"

  3. If there are already installed version in your machine, remove them using the command:
    rpm -e <version of net-snmp listed as the output for previous command> --nodeps

  4. If there are no previously installed versions in your machine, then execute the following command to install the new version:
    rpm -i <new downloaded version of SNMP agent> --nodeps

 

To install using the zip, follow the steps given below:

 

Extract the file using following command:

tar -zxvf ucd-snmp-4.2.6.tar.gz

 

To install SNMP, follow the steps given below:

  1. Login as root user.

  2. Execute the command to set the path of the C compiler:
    export PATH=<gcc path>:$PATH

  3. Execute the following four commands from the directory where you have extracted the ucd-snmp:

    1. ./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.

    2. make

    3. umask 022

    4. make install

This completes the installation process. To configure SNMP agents respond to SNMP requests, refer to Configuring SNMP agents.

Installing SNMP Agent on Solaris Systems

Download the latest version of SNMP using the following URL: http://heanet.dl.sourceforge.net/sourceforge/net-snmp/ucd-snmp-4.2.6.tar.gz Extract the file using following command: tar -zxvf ucd-snmp-4.2.6.tar.gz To install SNMP, follow the steps given below: Note: To Install in Solaris 8, Follow the given steps: This completes the installation process. For configuring SNMP agents to respond to SNMP requests, refer to Configuring SNMP agents.

    1. Login as root user.

    2. Execute the command to set the path of the C compiler:
      export PATH=<gcc path>:$PATH

    3. Execute the following four commands from the directory where you have extracted the ucd-snmp:

      1. ./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.

      2. make

      3. umask 022

      4. make install

      The package would be installed. The package is configured with the compile option of " ./configure --with-mib-modules=host ". The agent would have support for host-resource-mib.
      1. netsnmp-5.1.1 package is available in the following url ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/netsnmp-5.1.1-sol8-sparc-local.gz. This package is for solaris8 on sparc.

      2. gunzip netsnmp-5.1.1-sol8-sparc-local.gz.

      3. pkgadd -d netsnmp-5.1.1-sol8-sparc-local.

      4. To start netsnmp agent: Execute - # /usr/local/sbin/snmpd.

      5. To stop this daemon: Execute - # pkill -9 -x -u 0 snmpd