The asset discovery module can gather hardware and software inventories from network equipments using snmp:
1. Set a community for SNMP into the Scan Configuration:
In the console go to Asset Discovery > Configuration > Scan Configuration >select the scan created for network devices >Active Protocols then select 'Network Devices (SNMP) and click on 'Add Credentials'
If the credentials don't exist already then create new one by selecting 'create new credentials' and set it according to the version of SNMP that is available for these devices:
2. Check that the scanner is capable of accessing to snmp:
The test has to be done from the scanner itself, not from any other device. This is extremely important because
it is possible that snmp on the targets is accessible from another device that the scanner, but not from the scanner
itself. Do not test the access to the targets from any other device that the scanner itself.
3. Check the available OIDs:
The scanner needs to be allowed to read all the following OIDs:
.1.3.6.1.2.1.1.1.0 sysDescr (RFC1213-MIB)
.1.3.6.1.2.1.17.1.4.1.2 dot1dBasePortIfIndex (BRIDGE-MIB)
.1.3.6.1.2.1.17.1.4.1.2.* dot1dBasePortIfIndex subtree (BRIDGE-MIB)
.1.3.6.1.2.1.17.4.3.1.1 dot1dTpFdbAddress (BRIDGE-MIB)
.1.3.6.1.2.1.17.4.3.1.2.* dot1dTpFdbPort subtree (BRIDGE-MIB)
.1.3.6.1.2.1.17.7.1.2.2.1.2 dot1qTpFdbPort (Q-BRIDGE-MIB)
.1.3.6.1.2.1.17.7.1.2.2.1.3.* dot1qTpFdbStatus subtree (Q-BRIDGE-MIB)
.1.3.6.1.2.1.2.2.1.1 ifIndex (IF-MIB)
.1.3.6.1.2.1.2.2.1.2.* ifDescr subtree (IF-MIB)
.1.3.6.1.2.1.2.2.1.3.* ifType subtree (IF-MIB)
.1.3.6.1.2.1.2.2.1.6.* ifPhysAddress subtree (IF-MIB)
.1.3.6.1.2.1.2.2.1.7.* ifAdminStatus subtree (IF-MIB)
.1.3.6.1.2.1.2.2.1.8.* ifOperStatus subtree (IF-MIB)
.1.3.6.1.2.1.47.1.2.1.1.2.* entLogicalDescr subtree (ENTITY-MIB)
These OIDs must be accessible/enabled on the target network equipment else the scanner will not be able to
gather some information.
Notes:
" * " means the scanner scans the rest of the branch as well.
This list of OIDs can change from one release to another.
To have a more recent list of OIDs:
1. Read it from the console:
2. Read from the scripts:
To have the most accurate list of OIDs that are scanned, simply go to the agent install folder on the scanner then
edit the file ..\data\RemoteInventory\chl\snmp_connectivity.chl and search for the keyword "szOid".
e.g: "szOid = ".1.3.6.1.2.1.17.1.4.1.2." + vecConnectivityTmp[j].PortNumber"