snmp information gathering

12 views
Skip to first unread message

Mark Prangnell

unread,
Sep 28, 2016, 12:59:37 PM9/28/16
to Ansible Project
Hi,

I'm new to Ansible and am after some assistance with the snmp_facts module.  I am looking to extract some information using snmp_facts  but the OIDs are not included by default. I know they exist as I can get the information using snmpwalk.  Are there any additional switches I can use in the playbook to get more info?

Below is a section the playbook I'm running.

   tasks:
   - name: Display SNMP information
     snmp_facts: host={{ inventory_hostname }} version=v2c community=XXXXXX


Thanks,
Mark
Reply all
Reply to author
Forward
0 new messages