# snmp information gathering

**URL:** <https://forum.ansible.com/t/snmp-information-gathering/22666>\
**Category:** Ansible Project\
**Created:** [September 28, 2016, 1:55pm UTC](https://forum.ansible.com/t/snmp-information-gathering/22666 "2016-09-28T13:55:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Prangnell](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@Mark\_Prangnell](https://forum.ansible.com/u/Mark_Prangnell)\
**Post date:** [September 28, 2016, 1:55pm UTC](https://forum.ansible.com/t/snmp-information-gathering/22666/1 "2016-09-28T13:55:14Z")

</div>

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
