Troubleshooting SNMP


What is SNMP?

Simple Network Management Protocol (SNMP) is an application-layer protocol used to manage and monitor network devices and their functions. It is a part of the Transmission Control Protocol Internet Protocol (TCP⁄IP) protocol suite.

Components of SNMP

  • SNMP agent.
  • SNMP-managed devices and resources
  • SNMP manager (NMS).
  • Management information base (MIB).

What is OID?

  • OID is used to get the values of counters from network devices by querying through LWP KM
  • Java process will use OID's

What is MIB (Management information base)?

 This database is a text file (.mib) that itemizes and describes all objects used by a particular device that can be queried or controlled using SNMP.
 Each MIB item is assigned an object identifier (OID).


Pre verifications steps before troubleshooting

  • Verify if PATROL Agent is restarted.
  • Search for any typing mistake on the Custom monitoring field.
  • Verify OIDs in MibBrowser.
  • Verify the creation of the followings:
    • PSM\Conf\Monitors\DKM_<Monitor name>.xml
    • lib\knowledge\PSM_DKM_< Monitor name >.xml/KM
    • lib\knowledge\PSM_DKM_< Monitor name >_<OBJECT-TYPE details name>.xml/KM
    • lib\knowledge\PSM_DKM_< Monitor name >_<OBJECT-TYPE details name>_instance.xml/KM

Troubleshooting steps

  • Check the configuration of the custom policy.
  • Check for SNMPWalk Utility output or snmpget output.
  • There are two ways of data collection:
    • By providing the complete OID
    • By providing discovery key in the policy

Example of SNMP data collections

  • C:\SnmpWalk>snmpwalk -V:2C -c:YveV93o -r:10.89.4.4 -p:161 -os:.1.3.6.1.4.1.3375.2.1.1.2.21.28 -op:.1.3.6.1.4.1.3375.2.1.1.2.21.28.1

         OID=.1.3.6.1.4.1.3375.2.1.1.2.21.28.0, Type=Counter64, Value=2516582400

        Total: 1

  • snmpget -v:2C -c:public -r:10.89.4.4  -p:161 -o:.1.3.6.1.2.1.1.5.0
  • Configuration status in the network devices class shows the status of the policy that was created and also provides annotation data.
  • If an IP address is configured in the manual as well as network segments section, then manual configuration takes precedence.
  • If a device is configured from two sources then configuration_status shows its properties file under C:\Program Files (x86)\BMC Software\Patrol3\PSM\Conf\Properties and shows errors related to SNMP monitoring.
  • Check for debug logs at:
    • %PATROL_HOME%\PSM\logs 
  • monitorstatus shows the health of java based external collector.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*