"No SNMP profile was found for device xxxxxxx.  Profile ItemID = yyyyyyy" in DC karaf.log
search cancel

"No SNMP profile was found for device xxxxxxx.  Profile ItemID = yyyyyyy" in DC karaf.log

book

Article ID: 187436

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Notice the following error messages in the Data Collector karaf.log - /opt/CA/DataCollector/apache-karaf-2.4.3/data/log/karaf.log 

2020-03-18 09:22:04,077 | ERROR |  300000-thread-1 | SnmpProfilesManager              | mp.collector.SnmpProfilesManager  763 | 196 - com.ca.im.data-collection-manager.snmp - 3.7.4.RELEASE-458 |  | No SNMP profile was found for device 1234567.  Profile ItemID = 7654321

This can be seen for different devices's ID.

Environment

Release : 3.7

Component : Admin / Configuration / Polling

Cause

The SNMP Profile associated to the device has been deleted.

To confirm run following query to see what is the actual SNMPProfileID value for the device ID in question: 
http://DA:8581/rest/devices/manageable/1234567

it should return something like:

http://DA:8581/rest/devices/manageable/1234567
<ManageableDevice version="1.0.0">
<ID>1234567</ID>
<Vendor>net-snmp</Vendor>
<Model>linux</Model>
<SystemDescription>Device EDGE5X0</SystemDescription>
<Location>xxxxxxxxxxxxx</Location>
<SNMPProfileID>7654321</SNMPProfileID>
<SNMPProfileVersion>SNMPV2c</SNMPProfileVersion>
<SystemObjectID>1.3.6.1.4.1.8072.3.2.10</SystemObjectID>
<SystemName>system_name</SystemName>
<SystemContact>[email protected]</SystemContact>


But when use the SNMPProfileID value returned above in this query:  
http://DA:8581/rest/profiles/7654321  

it could not find that ID.

This means that the SNMP Profile ID the device in question is associated with, does not exist.

Resolution

The device showing this problem needs to be rerun through a Discovery Profile that has a valid SNMP Profile to get the SNMPProfileID assigned to the device.

Or go to CA Performance Management UI, Administration -> Monitored Devices, select the device an under Details tab in SNMP Profile section assign a valid SNMP GET Profile.


It could be possible to search for the SNMPProfileID in question in the "/apache-karaf-2.4.3/data*/log/ItemDeletes.log*" files to verify when the SNMP Profile was removed.