Deprecated

Removed in None

i

Reason:Updated modules released with more functionality | Alternative:nxos_snmp_server

cisco.nxos.nxos_snmp_contact (7.0.0) — module

(deprecated, removed after 2024-01-01) Manages SNMP contact info.

| "added in version" 1.0.0 of cisco.nxos"

Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)

Install collection

Install with ansible-galaxy collection install cisco.nxos:==7.0.0


Add to requirements.yml

  collections:
    - name: cisco.nxos
      version: 7.0.0

Description

Manages SNMP contact information.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# ensure snmp contact is configured
- cisco.nxos.nxos_snmp_contact:
    contact: Test
    state: present

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - Manage the state of the resource.
    type: str

contact:
    description:
    - Contact information.
    required: true
    type: str

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - snmp-server contact New_Test
  type: list