ansible / ansible.builtin / v2.6.0 / module / nxos_snmp_traps Manages SNMP traps. | "added in version" 2.2 of ansible.builtin" Authors: Jason Edelman (@jedelman8) preview | supported by networkansible.builtin.nxos_snmp_traps (v2.6.0) — module
pip
Install with pip install ansible==2.6.0
Manages SNMP traps configurations.
# ensure lldp trap configured - nxos_snmp_traps: group: lldp state: enabled
# ensure lldp trap is not configured - nxos_snmp_traps: group: lldp state: disabled
group: choices: - aaa - bfd - bgp - bridge - callhome - cfs - config - eigrp - entity - feature-control - generic - hsrp - license - link - lldp - mmode - ospf - pim - rf - rmon - snmp - storm-control - stpx - switchfabric - syslog - sysmgr - system - upgrade - vtp - all description: - Case sensitive group. required: true state: choices: - enabled - disabled default: enabled description: - Manage the state of the resource. required: false
commands: description: command sent to the device returned: always sample: snmp-server enable traps lldp ; type: list