Discovery is not updating the Model ID and Manufacturer

Uday Gonuguntla
Giga Guru

Hello Experts,

I have discovered UPS device but Model ID and Manufacturer fields are empty. 

When i checked in ECC queue and SNMP OID's input payload, model ID is already there. I am not understanding why discovery is not updating that data.

Please help me....

Thanks in advance. 

13 REPLIES 13

Patrick DeCarl1
ServiceNow Employee
ServiceNow Employee

Are you using probes are patterns? Can you share a small sample of the payload where it has the model info and the sysobjectid?

Hello @Patrick DeCarlo 

we are using probes. please see below input of SNMP- Classify. OID and model are highlighted in red color.

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<results probe_time="7881" result_code="0">
<result source="10.145.2.16">
<snmp host="10.145.2.16" ip="10.145.2.16" timed_out="false">
<iso oid="1">
<org oid="1.3">
<dod oid="1.3.6">
<internet oid="1.3.6.1">
<mgmt oid="1.3.6.1.2">
<mib-2 oid="1.3.6.1.2.1">
<system oid="1.3.6.1.2.1.1">
<sysName oid="1.3.6.1.2.1.1.5" type="SnmpOctetString">USALNUPS01</sysName>
<sysUpTime oid="1.3.6.1.2.1.1.3" type="SnmpTimeTicks">604990870</sysUpTime>
<sysDescr oid="1.3.6.1.2.1.1.1" type="SnmpOctetString">
APC Web/SNMP Management Card (MB:v4.1.0 PF:v6.4.0 PN:apc_hw05_aos_640.bin AF1:v6.4.0 AN1:apc_hw05_sumx_640.bin MN:AP9630 HR:05 SN: ZA1230014640 MD:07/20/2012) (Embedded PowerNet SNMP Agent SW v2.2 compatible)
</sysDescr>
<sysObjectID oid="1.3.6.1.2.1.1.2" type="SnmpObjectId">.1.3.6.1.4.1.318.1.3.27</sysObjectID>
</system>
<ip oid="1.3.6.1.2.1.4">
<ipForwarding oid="1.3.6.1.2.1.4.1" type="SnmpInt32">2</ipForwarding>
<ipForwDatagrams oid="1.3.6.1.2.1.4.6" type="SnmpCounter32">0</ipForwDatagrams>
<ipAddrEntry instance=".10.145.2.16">
<ipAdEntAddr type="SnmpIPAddress">10.145.2.16</ipAdEntAddr>
<ipAdEntIfIndex type="SnmpInt32">2</ipAdEntIfIndex>
<ipAdEntNetMask type="SnmpIPAddress">255.255.255.0</ipAdEntNetMask>
</ipAddrEntry>
<ipAddrEntry instance=".127.0.0.1">
<ipAdEntAddr type="SnmpIPAddress">127.0.0.1</ipAdEntAddr>
<ipAdEntIfIndex type="SnmpInt32">1</ipAdEntIfIndex>
<ipAdEntNetMask type="SnmpIPAddress">255.255.255.255</ipAdEntNetMask>
</ipAddrEntry>
<ipNetToMediaEntry instance=".2.10.145.2.253">
<ipNetToMediaIfIndex type="SnmpInt32">2</ipNetToMediaIfIndex>
<ipNetToMediaPhysAddress type="SnmpOctetString">50 3d e5 85 96 48</ipNetToMediaPhysAddress>
<ipNetToMediaNetAddress type="SnmpIPAddress">10.145.2.253</ipNetToMediaNetAddress>
</ipNetToMediaEntry>
<ipNetToMediaEntry instance=".2.10.145.2.254">
<ipNetToMediaIfIndex type="SnmpInt32">2</ipNetToMediaIfIndex>
<ipNetToMediaPhysAddress type="SnmpOctetString">00 00 0c 07 ac 6e</ipNetToMediaPhysAddress>
<ipNetToMediaNetAddress type="SnmpIPAddress">10.145.2.254</ipNetToMediaNetAddress>
</ipNetToMediaEntry>
</ip>
<upsMIB oid="1.3.6.1.2.1.33">
<upsObjects oid="1.3.6.1.2.1.33.1">
<upsIdent oid="1.3.6.1.2.1.33.1.1">
<upsIdentManufacturer oid="1.3.6.1.2.1.33.1.1.1" type="SnmpOctetString">APC</upsIdentManufacturer>
<upsIdentName oid="1.3.6.1.2.1.33.1.1.5" type="SnmpOctetString">USALNUPS01</upsIdentName>
<upsIdentModel oid="1.3.6.1.2.1.33.1.1.2" type="SnmpOctetString">Smart-UPS 3000</upsIdentModel>
</upsIdent>
<upsOutput oid="1.3.6.1.2.1.33.1.4">
<upsOutputNumLines oid="1.3.6.1.2.1.33.1.4.3" type="SnmpInt32">1</upsOutputNumLines>
</upsOutput>
</upsObjects>
</upsMIB>
<interfaces oid="1.3.6.1.2.1.2">
<ifEntry instance=".1">
<ifIndex type="SnmpInt32">1</ifIndex>
<ifDescr type="SnmpOctetString">LOOPBACK</ifDescr>
<ifType type="SnmpInt32">24</ifType>
<ifPhysAddress type="SnmpOctetString"/>
<ifAdminStatus type="SnmpInt32">1</ifAdminStatus>
<ifOperStatus type="SnmpInt32">1</ifOperStatus>
</ifEntry>
<ifEntry instance=".2">
<ifIndex type="SnmpInt32">2</ifIndex>
<ifDescr type="SnmpOctetString">vmac0</ifDescr>
<ifType type="SnmpInt32">6</ifType>
<ifPhysAddress type="SnmpOctetString">00 c0 b7 96 fa af</ifPhysAddress>
<ifAdminStatus type="SnmpInt32">1</ifAdminStatus>
<ifOperStatus type="SnmpInt32">1</ifOperStatus>
</ifEntry>
</interfaces>
</mib-2>
</mgmt>
<private oid="1.3.6.1.4">
<enterprises oid="1.3.6.1.4.1">
<apc oid="1.3.6.1.4.1.318">
<products oid="1.3.6.1.4.1.318.1">
<hardware oid="1.3.6.1.4.1.318.1.1">
<ups oid="1.3.6.1.4.1.318.1.1.1">
<upsIdent oid="1.3.6.1.4.1.318.1.1.1.1">
<upsBasicIdent oid="1.3.6.1.4.1.318.1.1.1.1.1">
<upsBasicIdentModel oid="1.3.6.1.4.1.318.1.1.1.1.1.1" type="SnmpOctetString">Smart-UPS 3000</upsBasicIdentModel>
<upsBasicIdentName oid="1.3.6.1.4.1.318.1.1.1.1.1.2" type="SnmpOctetString">USALNUPS01</upsBasicIdentName>
</upsBasicIdent>
</upsIdent>
</ups>
</hardware>
</products>
</apc>
</enterprises>
</private>
</internet>
</dod>
</org>
</iso>
</snmp>
</result>
<parameters>
<parameter name="mid_selector_details" value="{"mode":"specific_mid"}"/>
<parameter name="agent" value="mid.server.USSUMSPSNSAPP11"/>
<parameter name="use_class" value="discovery_classy_snmp"/>
<parameter name="source" value="10.145.2.16"/>
<parameter name="port_probe" value="9803b0150a0a07030014493c58138458"/>
<parameter name="sys_id" value="603e98ec1b938450b794a827bc4bcbd9"/>
<parameter name="from_host" value=""/>
<parameter name="sys_created_on" value="2020-02-27 15:51:24"/>
<parameter name="sys_domain" value="global"/>
<parameter name="used_by_discovery" value="true"/>
<parameter name="oid_spec_list" value="table private.enterprises.cisco.ciscoMgmt.ciscoHsrpMIB.ciscoHsrpMIBObjects.cHsrpGroup.cHsrpGrpTable cHsrpGrpVirtualIpAddr table mgmt.mib-2.entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable entPhysicalContainedIn(=0),entPhysicalSerialNum,entPhysicalModelName,entPhysicalDescr,entPhysicalMfgName walk mgmt.mib-2.system.sysDescr walk mgmt.mib-2.system.sysObjectID walk mgmt.mib-2.system.sysName walk mgmt.mib-2.system.sysUpTime table mgmt.mib-2.host.hrDevice.hrDeviceTable hrDeviceType,hrDeviceDescr walk mgmt.mib-2.host.hrSystem.hrSystemUptime walk mgmt.mib-2.host.hrSystem.hrSystemProcesses walk mgmt.mib-2.host.hrSystem.hrSystemMaxProcesses table mgmt.mib-2.interfaces.ifTable ifIndex,ifDescr,ifType,ifPhysAddress,ifAdminStatus,ifOperStatus table mgmt.mib-2.printmib.prtGeneral.prtGeneralTable prtGeneralSerialNumber walk mgmt.mib-2.dot1dBridge.dot1dBase.dot1dBaseBridgeAddress walk mgmt.mib-2.dot1dBridge.dot1dBase.dot1dBaseType walk mgmt.mib-2.dot1dBridge.dot1dBase.dot1dBaseNumPorts walk mgmt.mib-2.ip.ipForwarding walk mgmt.mib-2.ip.ipForwDatagrams table mgmt.mib-2.ip.ipAddrTable ipAdEntAddr,ipAdEntIfIndex,ipAdEntNetMask table mgmt.mib-2.ip.ipNetToMediaTable ipNetToMediaIfIndex,ipNetToMediaPhysAddress,ipNetToMediaNetAddress walk iso.org.dod.internet.private.enterprises.cisco.temporary.chassis.chassisId walk iso.org.dod.internet.private.enterprises.foundry.products.switch.snChassis.snChasGen.snChasSerNum table private.enterprises.cisco.ciscoMgmt.ciscoVtpMIB.vtpMIBObjects.vlanInfo.vtpVlanTable vtpVlanType walk mgmt.mib-2.bgp.bgpVersion walk mgmt.mib-2.bgp.bgpLocalAs walk mgmt.mib-2.bgp.bgpIdentifier walk mgmt.mib-2.upsMIB.upsObjects.upsOutput.upsOutputNumLines walk mgmt.mib-2.upsMIB.upsObjects.upsIdent.upsIdentName walk mgmt.mib-2.upsMIB.upsObjects.upsIdent.upsIdentManufacturer walk mgmt.mib-2.upsMIB.upsObjects.upsIdent.upsIdentModel walk iso.org.dod.internet.private.enterprises.apc.products.hardware.ups.upsIdent.upsBasicIdent.upsBasicIdentModel walk iso.org.dod.internet.private.enterprises.apc.products.hardware.ups.upsIdent.upsBasicIdent.upsBasicIdentName walk iso.org.dod.internet.private.enterprises.apc.products.hardware.masterswitch.sPDUIdent walk iso.org.dod.internet.private.enterprises.novell.mibDoc.nwServer.nwSystem.nwSysServerName table mgmt.mib-2.dot1dBridge.qBridgeMIB.qBridgeMIBObjects.dot1qVlan.dot1qVlanCurrentTable dot1qVlanStatus"/>
<parameter name="state" value="ready"/>
<parameter name="snmp_stage" value="classify/identify"/>
<parameter name="resolve_oid" value="false"/>
<parameter name="probe_name" value="SNMP - Classify"/>
<parameter name="discover" value="CIs"/>
<parameter name="debug" value="false"/>
<parameter name="response_to" value="932e90acdb1780d0c28c81a9489619b4"/>
<parameter name="from_sys_id" value=""/>
<parameter name="priority" value="0"/>
<parameter name="agent_correlator" value="1e2ed02cdb1780d0c28c81a948961949"/>
<parameter name="probe" value="930a60500a0a0b61006f83edd300f689"/>
<parameter name="processed" value=""/>
<parameter name="error_string" value=""/>
<parameter name="sequence" value="17087586f330000001"/>
<parameter name="javascript_handlers" value="UPSHandler,APCHandler,NetwareHandler"/>
<parameter name="port" value="161"/>
<parameter name="cidata" value="<CIData><data><fld name="ip_address">10.145.2.16</fld></data></CIData>"/>
<parameter name="name" value="SNMP - Classify: 36 OIDs"/>
<parameter name="topic" value="SNMP"/>
<parameter name="queue" value="output"/>
<parameter name="ecc_queue" value="603e98ec1b938450b794a827bc4bcbd9"/>
<parameter name="use_snmp4j" value="true"/>
</parameters>
</results>

Did you add this new OID to the SNMP OID table within SN with Model and Manufacturer information?

@Patrick DeCarlo 

is it mandatory to add SNMP OID? 

Because payload already has all the data of manufacturer and model name.

why can't discovery update the CI with payload data?