Pcornel
Networking · IP Services › SNMP

Polling

Cheat sheet · https://pcornel.dk/topic.php?topic=1229

Back to the Topic

Answer

SNMP polling means the manager periodically requests values (get, getbulk, walk) from agents over UDP 161; the polling interval limits how quickly changes are seen.

Remember

Polling is pull: the manager asks every few minutes, so short spikes between polls are invisible. Use 64-bit counters (ifHCInOctets) on fast links — 32-bit counters wrap in seconds at 10 Gb/s. Gaps usually mean timeouts: ACL, credentials, CPU or too many OIDs in one request.

First checks

  • show snmp — packets in/out and errors (bad community, unknown user, ACL drops).
  • show snmp user / show snmp group — SNMPv3 users and security levels.
  • show snmp host — trap and inform receivers.
  • show running-config | include snmp-server — communities, views, ACLs.
  • From the manager: snmpwalk -v3 -l authPriv -u <user> -a SHA -A <pw> -x AES -X <pw> <device> 1.3.6.1.2.1.1 — test a read.

Verify in this order

manager sends get/getbulk on schedule → agent answers within the timeout → 64-bit counters read → rates calculated → graphs and alerts updated

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1229

Confirmation

Confirm action

Continue?