When Discovery scans a SNMP enabled device, it can sometimes mis-identify it. e.g. A Server may look to Discovery like a Printer. Or a Printer is classified as a Router. The CI will then be inserted in the wrong CMDB table.
There are many causes. Here are a few:
A Server has SNMP enabled, and the normal SSH or WMI/Powershell/WinRM probes fail
If the normal Linux/Solaris/HP-UX or Windows identifiers fail, perhaps due to connection or credentials issues, Shazzam will fall back to using SNMP to Identify the device. Discovery may mis-identify a server as something else if OID values returned by the SNMP - Classify probe includes the clues that tell us if a device can Route, Switch, Print or other functions that may also be present in a server.
A Linux server could therefore be identified as a Router because of this.
Solution: We cannot discover servers by SNMP alone, so fix whatever is causing the SSH or WMI/Powershell/WinRM probes to fail. The SNMP probe will then not be used.
An HP Server has an iLO card with 'Passthrough' enabled, and the card's IP is scanned
Compaq/HP servers usually have an iLO device in them that has its own Ethernet port and IP address. This is like an independent watchdog or monitor inside the same box, and not part of "the server" from the discovery point of view.
These implement SNMP, and if they are configured for "SNMP Pass-through", then instead of reporting on itself it makes the card look like the Server instead. The SNMP results for the iLO IP address will appear to be for the server's hardware and operating system.
e.g. the input from the 'SNMP - Classify' probe might look like one of these, which are clearly the server operating system and not the iLO card:
<sysDescr oid="220.127.116.11.18.104.22.168" type="SnmpOctetString">HP-UX atksts00 B.11.31 U ia64 3910543201</sysDescr>
<sysObjectID oid="22.214.171.124.126.96.36.199" type="SnmpObjectId">.188.8.131.52.184.108.40.206.3.2.6</sysObjectID>
<sysDescr oid="220.127.116.11.18.104.22.168" type="SnmpOctetString">Hardware: Intel64 Family 6 Model 47 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 9600 Multiprocessor Free)</sysDescr>
<sysObjectID oid="22.214.171.124.126.96.36.199" type="SnmpObjectId">.188.8.131.52.4.1.3184.108.40.206.1.2</sysObjectID>
An SNMP OID Classification record has been added incorrectly
There is a table in the instance that allows entering overrides so that instead of the out-of-box code figuring out the class, we use the specified Table and Identifier for a particular unique System OID value, which may be entered in error.
e.g. If scanning a "Xerox WorkCentre Pro" printer, the 'SNMP - Classify' probe result includes this 'system' data:
<sysName oid="220.127.116.11.18.104.22.168" type="SnmpOctetString">P01IT08</sysName>
<sysDescr oid="22.214.171.124.126.96.36.199" type="SnmpOctetString">Xerox WorkCentre Pro Multifunction System; ESS 0.040.010.51172, IOT 50.0.0, UI 0.12.50.3, Finisher 3.20.0, Scanner 4.9.0</sysDescr>
<sysUpTime oid="188.8.131.52.184.108.40.206" type="SnmpTimeTicks">51948316</sysUpTime>
<sysObjectID oid="220.127.116.11.18.104.22.168" type="SnmpObjectId">.22.214.171.124.126.96.36.199.188.8.131.52.24.1</sysObjectID>
If there has been a record accidentally added to the table with OID=184.108.40.206.220.127.116.11.18.104.22.168.24.1, and set to a Table and/or Classifier that is simply wrong, it uses that regardless.
Solution: Delete or Correct the SNMP OID Classification record for that OID.
An SNMP OID Classification record needs to be added because the device is non-Standard
Some manufacturer's devices have very unusual SNMP implementations, making it impossible to accurately classify programatically, based on the rules of the Standard MIBs.
Solution: Create a SNMP OID Classification record for this Make and Model
You will need to search the ECC Queue table for the SNMP - Classify probe input record for this device's IP address. The use the sysObjectID value, like the one highlighted above.
An network device based on Linux uses the 'Linux' OID
A lot of network devices are fundamentally ARM- or MIPS-based embedded systems running Linux OS, plus some dedicated hardware and interfaces. These can appear to be Linux, so a Router may be put in the Linux Server table.
In some cases manufacturers fail to assign their own SNMP SnmpObjectId and other SNMP data specific to their make and model, and the default 'Linux' OID remains.
e.g. An embedded linux device using the Net-SNMP SNMP MIB module software returns sysObjectID "22.214.171.124.4.1.8072.3.2.10". The following non-server devices have been seen reporting that non-unique SnmpObjectId:
- Riverbed Technology, SteelCentral Flow Gateway/User Interface Module
- Aruba Network, CP-HW-5K IP Router
- Dell, iDRAC7 Remote Access Controller
- ExtraHop, Discover 8100
- Intermec PM43 Printer
Solution: In this situation don't add the OID to the SNMP OID Classification table, because several different makes/models may use it. It should still be possible to automatically classify the device based on other clues in the SNMP data. If not. you may consider contacting the device manufacturer to have this corrected to use a unique OID for the make and model.
- This cause should not be confused with a Linux Server with SNMP enabled failing to classify. With SSH configured correctly, SNMP is not used.
- This in theory could be seen with any embedded device using the Net-SNMP SNMP MIB module, with a different final digit of the OID for different Operating Systems. 10=Linux, 3=Solaris, etc.
Probes Time-Out before receiving the data
Some SNMP-enabled network devices are very simple embedded microcontroller implementations, which are slow. e.g. PDUs, UPSs. They do give serial number data, but sometimes time-out before they have.
More advanced fast devices such as L2 Switches will be running the SNMP interface code in the same multi-tasking CPU as functional switch code, and under high load the SNMP thread may not respond very quickly or pass the data back very fast. This has been seen with big Cisco Switches, and others.
This causes 2 main problems:
- The Probe times out because no data at all was received before the Probe timeout. The Sensor will Error in this situation, and Identification will fail.
- Data was received before we time out the probe, but it was incomplete. As SNMP is based on UDP, it is hard to detect this situation, and we may not realise we only received partial data back from the device. This can also be the case for big devices that have a lot of data to transfer, such as Cisco Switches with huge routing tables.
We will then continue to run the Classify and Identify sensors with incomplete data, potentially missing the key classification information.
Once you have identified devices that can be slow to respond, you can incrementally increase the SNMP Probe timeouts until the issues are resolved. These MID Server Parameters can be used to configure the SNMP porbes. More details on these are in the documentation for 'MID Server Parameters' or 'SNMP probe parameters':
- mid.snmp.request.timeout - Maximum time to wait for a response for the first OID request
- mid.snmp.session.timeout - Maximum time to wait for responses to OID requests once a session has been established.
- timeout and established_session_timeout are Probe Parameters, that will override the above two MID Server Parameters, but for a Specific Probe, such as "SNMP - Classify" or "SNMP - Identity". These would then apply to Discovery via any MID Server.