SNMP adapter failing to display custom metrics from loaded custom MIBs
search cancel

SNMP adapter failing to display custom metrics from loaded custom MIBs

book

Article ID: 379549

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • The SNMP adapter uses MIB files to determine the metrics to collect from a particular device. When you install the SNMP adapter, the installation utility places a set of standard MIB files in the conf/mib folder. With SNMP adapter, metrics are created using MIB as the base object. Metrics are created only for the OIDs that Management Pack supports. These metrics are then monitored for all the devices that are attached with MIB file while configuring the adapter instance.

  • During the inventory collection process, the expected custom metrics and properties were not visible for the monitored device in Aria Operations. The collector.log indicated that the device was marked as not supported:


    2024-06-26T07:04:54,553+0000 INFO  [Task Processor worker thread 5]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Starting to process 'Start monitoring' task... (id: 146760, cid: 2)
    2024-06-26T07:04:55,312+0000 ERROR [Task Processor worker thread 5]  com.integrien.adapter3.snmp.SNMPMIBLookup.getMibTreeNode - mark() not supported
    2024-06-26T07:04:55,761+0000 INFO  [Task Processor worker thread 5]  com.integrien.alive.collector.CommunicatorThread.sendTask - Task 'Start monitoring' succeeded (id: 146760, cid: 2)


  • Despite being marked unsupported, the Aria Operations Collector engine initiated the collection process. 

    2024-06-26T08:08:43,624+0000 INFO  [Task Processor worker thread 5]  com.integrien.alive.collector.CommunicatorThread.sendTask -    ->  Sending 'Start monitoring' response to Alive (id: 147433, cid: 2) Details:
    2024-06-26T08:08:43,625+0000 INFO  [Task Processor worker thread 5]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Finished processing 'Start monitoring' task (id: 147433, cid: 2)
    2024-06-26T08:08:45,969+0000 INFORMATION [Collector worker thread 16]  com.integrien.alive.collector.IdTaskSender.sendTasks - Sending Metric ID task, taskID=103379 ,adapterKind=SNMPAdapter ,adapterName=User 
    2024-06-26T08:08:45,969+0000 INFO  [Collector worker thread 16]  com.integrien.alive.collector.CommunicatorThread.sendTask -    ->  Sending 'Metric Id' task to Alive (id: 103379, cid: 2)
    2024-06-26T08:08:45,972+0000 INFO  [Auto discovery worker thread 1]  com.integrien.alive.collector.CommunicatorThread.sendTask -    ->  Sending 'Auto Discover' task to Alive (id: 103380, cid: 2) Details: {Adapter instance ID: 129853, Adapter kind: 'SNMPAdapter', Number of resource kinds: 0, Number of resources: 1, Relationship items count: 0, Number of resource kinds with property attributes: 1}


  • However, at the end of this process, it could not find the resources.

    2024-06-26T08:08:45,981+0000 INFO  [Communicator]  com.integrien.alive.collector.CommunicatorThread.receivedTask -    <-  Received 'Metric Id' response from Alive (id: 103379, cid: 2)
    2024-06-26T08:08:45,981+0000 INFO  [Communicator]  com.integrien.alive.collector.CommunicatorThread.receivedTask - Task 'Metric Id' succeeded (id: 103379, cid: 2)
    2024-06-26T08:08:45,981+0000 INFO  [Response Processor worker thread 9]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Starting to process 'Metric Id' response... (id: 103379, cid: 2)
    2024-06-26T08:08:45,981+0000 INFO  [Response Processor worker thread 9]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Finished processing 'Metric Id' response (id: 103379, cid: 2)
    2024-06-26T08:08:45,996+0000 INFO  [Communicator]  com.integrien.alive.collector.CommunicatorThread.receivedTask -    <-  Received 'Start monitoring' task from Alive (id: 147434, cid: 2) Details: {AIR=129853,ResId={129854};}
    2024-06-26T08:08:45,997+0000 INFO  [Task Processor worker thread 1]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Starting to process 'Start monitoring' task... (id: 147434, cid: 2)
    2024-06-26T08:08:45,997+0000 INFO  [Task Processor worker thread 1]  com.integrien.alive.collector.CommunicatorThread.sendTask - Task 'Start monitoring' succeeded (id: 147434, cid: 2)
    2024-06-26T08:08:45,997+0000 INFO  [Task Processor worker thread 1]  com.integrien.alive.collector.CommunicatorThread.sendTask -    ->  Sending 'Start monitoring' response to Alive (id: 147434, cid: 2) Details:
    2024-06-26T08:08:45,998+0000 INFO  [Task Processor worker thread 1]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Finished processing 'Start monitoring' task (id: 147434, cid: 2)
    2024-06-26T08:08:46,005+0000 INFO  [Communicator]  com.integrien.alive.collector.CommunicatorThread.receivedTask -    <-  Received 'Auto Discover' response from Alive (id: 103380, cid: 2) Details: {Adapter instance ID: 129853, Adapter kind: 'SNMPAdapter', Number of resource kinds: 0, Number of resources: 0, Relationship items count: 0}
    2024-06-26T08:08:46,005+0000 INFO  [Communicator]  com.integrien.alive.collector.CommunicatorThread.receivedTask - Task 'Auto Discover' succeeded (id: 103380, cid: 2)
    2024-06-26T08:08:46,005+0000 INFO  [Response Processor worker thread 10]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Starting to process 'Auto Discover' response... (id: 103380, cid: 2)
    2024-06-26T08:08:46,005+0000 INFO  [Response Processor worker thread 10]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Finished processing 'Auto Discover' response (id: 103380, cid: 2)
    2024-06-26T08:09:11,233+0000 INFO  [Communicator]  com.integrien.alive.collector.CommunicatorThread.receivedTask -    <-  Received 'Auto Discover' task from Alive (id: 97076, cid: 2) Details: {Adapter instance ID: 129853, Adapter kind: 'SNMPAdapter', Number of resource kinds: 0, Number of resources: 0, Relationship items count: 0}
    2024-06-26T08:09:11,233+0000 INFO  [Task Processor worker thread 9]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Starting to process 'Auto Discover' task... (id: 97076, cid: 2)
    2024-06-26T08:09:11,233+0000 INFO  [Task Processor worker thread 9]  com.integrien.alive.common.communication.CommunicatorWorkItem.run - Finished processing 'Auto Discover' task (id: 97076, cid: 2)

Environment

Aria Operations 8.X

Resolution

The custom MIB metrics did not appear because its unsupported. It is recommended to refer to the List of MIBs in SNMP Adapter document to verify which MIBs are supported. Please reach out to the product vendor