Retrieve facts for a device using SNMP, the facts will be inserted to the ansible_facts key.

Options

namedescriptionrequiredchoices
host Set to target snmp server (normally ) true
version SNMP Version to use, v2/v2c or v3 true
  • v2
  • v2cv3
community The SNMP community string, required if version is v2/v2c
level Authentication level, required if version is v3
  • authPriv
  • authNoPriv
username Username for SNMPv3, required if version is v3
integrity Hashing algoritm, required if version is v3
  • md5
  • sha
authkey Authentication key, required if version is v3
privacy Encryption algoritm, required if level is authPriv
  • des
  • aes
privkey Encryption key, required if version is authPriv

Author

Patrick Ogenstad (@ogenstad)