Both modules can be operated side by side: the older devices over SNMP v1 and v2,
the ones switched to v3 over SNMPv3. In both cases a connected
gateway is required.
The wizard shows four steps for both; only the middle part differs from the
standard path in Creating a Scan Job.
Prerequisites
Both modules capture active network components such as switches, routers and printers through predefined MIBs, such as the Printer MIB and RFC1213-MIB, and also which system is connected to which switch, port and VLAN.Ports and protocols
Permissions
- SNMP v1 and v2 needs a read community, by default
public. - SNMPv3 needs the device’s access data: user name, algorithm and password for
authentication and encryption, and a context name where applicable. At the
security level without encryption (
authNoPriv), the encryption algorithm and encryption password stay empty, and without a configured context the context name does too. - The gateway’s computer is allowed to send SNMP queries to the devices, through an access list or allowlist.
- Depending on the device, access to the OID tree must also be granted—through the community or the group.
Network requirements
- SNMP v1, v2c or v3 is enabled on the device.
- The firewall allows the port. Flooding protection (ICMP, UDP) and intrusion protection do not block the queries.
- The devices respond to ping.
- For the topology, switches, routers and firewalls speak a neighbor discovery protocol: CDP or LLDP, as uniformly as possible, preferably LLDP.
- Cisco devices with SNMPv3 need the matching SNMPv3 contexts for the VLAN and Bridge MIB so that learned MAC addresses and VLAN assignments are read completely.
- The device name comes from the SNMP system name (OID
1.3.6.1.2.1.1.5). If it is not set, the IP address appears as the name.
Entering the targets
The Targets step carries a table with one row per target. The columns are almost the same for both modules:
Into the target column may go a single address, a range, a network in CIDR
notation (e.g. /24) or a hostname. A whole network therefore fits into one row.
The column is called Credentials with both modules, even though with
SNMP v1 and v2 a community stands in it and no account. The entry in the
Credentials for All Targets field above the table applies to all rows without
their own assignment. With SNMP v1 and v2 the cell per row stays a picker with free
text—so a community can be typed straight into the row.
The access data
An entry of the type SNMP v1 and v2 carries a single field: the Community. An entry of the type SNMPv3 carries Username, Authentication Algorithm (None, MD5 or SHA-1), Authentication Password, Encryption Algorithm (None, AES, AES-128, AES-192, AES-256, DES or TDES), Encryption Password and Context Name.If the authentication stands at None, the encryption jumps back to None
automatically: encryption without authentication does not exist in SNMPv3 and
cannot be created here either.
Common issues
Checking devices that are not scanned
If a device is not scanned, check in this order:- Does the device support SNMP? If not, capture it manually.
- Is SNMP enabled on the device?
- Does the device respond to ping from the gateway? If not, check the network connection.
- Is there a firewall in between? Check its log.
- Are the community or the SNMPv3 access data correct?
- Do the community, user name or password contain a backslash (
\) or an@? Many devices have problems with these—change the value. - Is the gateway’s computer allowed to send SNMP queries to the device?
- Is access to the OID tree granted?
- Do monitoring, the firewall or security solutions (flooding protection, intrusion protection) block the query? If so, set up exceptions.
- Is the device within the specified address range?
- Does another tool, such as Paessler SNMP Tester, read values like uptime or description? If so, contact support.
- Is the firmware up to date?