Previous Topic: Prepare the Linux ServersNext Topic: Disable IPv6 Networking on Linux Servers


Configure SNMP on Linux Servers

To configure a Linux server for a Harvester, complete the following main tasks:

Follow these steps:

  1. Verify that Net-SNMP is present on the installation server and install it if necessary. Net-SNMP is required to support Watchdog functionality.
    1. Open the Linux Package Manager and look for listings that contain "net-snmp."

      If you do not find any "net-snmp" listings, Net-SNMP is not installed:

    2. Get and install Net-SNMP if it is not installed. For example, you can get Net-SNMP from the Linux Package Manager.
  2. Log in as root and open a shell prompt.
  3. Highly Recommended: Copy the configured Net-SNMP configuration file to the Netflow directory, overwriting the unconfigured snmpd.conf file. To enable Watchdog SNMP polling for the Harvester, you must complete this step.

    Note: If you have a custom (non-default) snmp configuration file at /etc/snmp/snmp.conf, you may want to skip this step and update your existing configuration file instead. In this case, consult with an administrator to update the required settings to match the settings in the example configuration file. For example, make sure the rocommunity value is set as shown in the example configuration file.

    1. Back up the configuration file in /etc, for example by entering the following command (Recommended):
      cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak
      
    2. Change to the Netflow directory:
      cd <install_dir>/Netflow
      

      where <install_dir> is the directory you used for installing the Harvester: /opt/CA/NFA/ or a custom location

    3. Copy the snmpd.conf file to the /etc/snmp directory, overwriting the existing file:
      cp -i snmpd.conf /etc/snmp
      
    4. Confirm the overwrite when prompted.
    5. Verify that the configuration file is in place:
      ls -l /etc/snmp/snmpd.conf
      
    6. Verify that the configuration file has the correct permissions:
      chmod 600 snmpd.conf
      
  4. Configure SNMP to start automatically on each boot by entering the following command:
    chkconfig snmpd on
    
  5. Start the SNMP service in either of the following ways: