Proposed Solution

Last Updated : Oct 12, 2020 |

Before you begin

Check the status of snmpd and spiritAgent services and ensure they are running on the agent and on System Manager without errors before troubleshooting other possibilities. If they are not running correctly, the entry does not appear on the System Manager UI.

About this task

Check for configuration of target address of System Manager in /var/net-snmp/snmpd.conf. If it does not show, it may be missed or /var/net-snmp/snmpd.conf is not in the correct state and needs a repair.

If the target is not configured in /var/net-snmp/snmpd.conf, use the following procedure to rectify alarms not shown on System Manager Alarms UI.

Procedure

  1. Create the correct User Profile and Target Profile under Services > Inventory > Manage Serviceability Agents.
  2. Select the agent whose alarm is not seen on System Manager UI.
  3. Verify that the target is added in /var/net-snmp/snmpd.conf. If not, then snmpd.conf must be in a bad state.
  4. To correct the state of the file, go to Elements > Manage Serviceability Agents. Select the agent and click Repair Serviceability Agent.
  5. Wait for 15-20 minutes. If you find the agent is not repaired, you can try the CLI way of repair. Do the following:
    1. Run the following command on System Manager with root: sh $MGMT_HOME/remoteSnmpConfig/utility/recoverAgent.sh <IP address of the agent>
      Note:

      If the System Manager is between 8.1.x and 8.1.2, then restart JBoss after step 5.

      If the System Manager is 8.1.3 or any other version other than 8.1.x to 8.1.2, then JBoss restart is not needed.

    2. If it is not System Manager, login on agent and perform: sh $SPIRIT_HOME/scripts/utils/reinitilizeSnmpdConfiguration.sh
    3. On the agent, run the following command: service spiritAgent restart.
  6. Check if the target address is seen on /var/net-snmp/snmpd.conf. If yes, there may be a mismatch with what is set in TrapListener Configuration Parameters under Services > Configurations > Settings > SMGR > TrapListener and what is set in /etc/snmp/snmpd.conf.
  7. If the target is added but with wrong configurations, use the following procedure to rectify the issue of alarms not shown on System Manager Alarms UI:
    1. Check the UserName, Authentication Protocol, Authentication Password, Privacy Protocol, and Privacy Password under Services > Configurations > Settings > SMGR > TrapListener.
    2. Ensure you create the same User and Target profiles on the Manage Serviceability Agents page as in step 6a.
    3. Push the same User and Target profiles to the agent.
    4. Confirm that /var/net-snmp/snmpd.conf file is updated with the mentioned pushed UserName and Target.