snmpcollector "Query Discovery Server" runs but profiles are not added for some devices
search cancel

snmpcollector "Query Discovery Server" runs but profiles are not added for some devices

book

Article ID: 247418

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I have several devices that are not showing in snmpcollector when I perform a discovery against the DA (discovery_agent) that owns the sources.

Environment

Release : 20.3

Component : UIM - SNMPCOLLECTOR

Resolution

Sources that were not listing as discovered in OC via snmp which ultimately meant they would not show in snmpcollector were related to the routers not having the DAs IP in the router ACL. Once adding we are now seeing that they are discovered via snmp in OC, and they are now showing in snmpc when we query the DS for devices. 

The following queries can help to understand the issue as it relates to the sources. The key here is if the source in question does not have an snmp_profile defined, that would mean that snmpcollector would bypass that source for discovery.

select 
da_id,
robot
from cm_discovery_agent

select 
cs_id,
description,
dedicated,
name,
origin,
ip,
dns_name,
snmp_profile,
da_id 
from cm_computer_system 
where cs_id in 
(select distinct(cs_id) from CM_DISCOVERY_JOB_RESULTS)
and da_id = <number from first query>