SNMP is one of the protocols through which Lansweeper can retrieve data regarding network devices like printers, switches, routers etc. By default, Lansweeper retrieves various properties from these devices via SNMP. This includes basic details such as serial number and description, but also more advanced details such as interface and toner information. This article explains how to troubleshoot SNMP scanning issues.
If the SNMP protocol was not scanned for a device in your network, do the following:
- Follow the steps in this article to ensure there is no general scanning issue.
- Make sure that TCP port 135 is closed on the device, as having this port open will cause the device to be identified as a Windows computer. Windows computers are not scanned via SNMP.
- Make sure SNMP is enabled on the device.
The procedure to enable SNMP can vary greatly between devices. Consult your vendor's documentation.
- Make sure SNMP on the device responds to a read request on OID 18.104.22.168.22.214.171.124.0. This is a system OID that should exist on SNMP enabled devices. Lansweeper tries to read this OID first. If no response is given, it is assumed SNMP is disabled or not working and Lansweeper skips SNMP scanning.
- Make sure SNMP traffic in your network (over port 161) isn?t blocked. Scanning requests are sent outbound by your Lansweeper server and are accepted inbound on your network devices.
Make sure the device responds to SNMP requests on the same IP address as they were received. If the device responds from a different IP address, Lansweeper will ignore this data.
- If you're using an SNMPv3 credential, make sure FIPS compliance is not enabled on your Lansweeper server.
- Use the devicetester.exe tool, found in the folder below on your Lansweeper server, to test the SNMP connection to the device. Launch the tester from your Lansweeper server directly, submit the IP address of the device and your SNMP credential. Read-only rights are sufficient for your credential. A successful SNMP test should list the ObjectID of the device as seen in the screenshot below.
Program Files (x86)\Lansweeper\Actions
- Once SNMP access works in the test tool, make sure the correct SNMP community string with read access (the one previously used in devicetester) is submitted under Scanning\Scanning Credentials in Lansweeper and mapped to the device.
- Rescan the network device, e.g. by hitting the Rescan Asset button on the device's Lansweeper webpage.
- Verify whether SNMP was scanned by looking for an OID in the Summary tab of the device?s webpage. If no OID is present here, SNMP wasn?t scanned and custom OIDs cannot be scanned either.