haught.apcos.apcos_snmp (1.2.2) — module

Manage snmp configuration on APC OS devices.

Authors: Matt Haught (@haught)

Install collection

Install with ansible-galaxy collection install haught.apcos:==1.2.2


Add to requirements.yml

  collections:
    - name: haught.apcos
      version: 1.2.2

Description

This module provides declarative management of APC snmp configuration on APC UPS NMC systems.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set snmp name
  haught.apcos.apcos_snmp:
    index: 1
    community: "public"
    accesstype: "read"

Inputs

    
index:
    choices:
    - 1
    - 2
    - 3
    - 4
    description:
    - Index of SNMPv1 user.
    type: int

enable:
    description:
    - Global SNMPv1 enable.
    type: bool

community:
    description:
    - SNMPv1 community name.
    type: str

accesstype:
    choices:
    - disabled
    - read
    - write
    - writeplus
    description:
    - SNMP access enable for index.
    type: str

accessaddress:
    description:
    - SNMPv1 NMS IP/CIDR address for index.
    type: str

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  sample:
  - snmp -c1 public
  type: list