ctera.ctera.ctera_filer_snmp (2.2.17) — module

CTERA Edge Filer SNMP configuration and management

Authors: Saimon Michelson (@saimonation), Ygal Blum (@ygalblum)

preview | supported by CTERA

Install collection

Install with ansible-galaxy collection install ctera.ctera:==2.2.17


Add to requirements.yml

  collections:
    - name: ctera.ctera
      version: 2.2.17

Description

Enable or Disable SNMP.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable SNMP
  ctera.ctera.ctera_filer_snmp:
    enabled: True
    port: 8161
    community_str: 'MpPcKl2sArSdTLZ4URj45'
    username: 'admin2'
    password: 'password1!'
    update_password: False
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Disable SNMP
  ctera.ctera.ctera_filer_snmp:
    enabled: False
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"

Inputs

    
port:
    description:
    - SNMP server port
    type: int

enabled:
    default: true
    description:
    - Whether SNMP should be enabled or disabled
    type: bool

password:
    description:
    - SNMP v3 authentication user password
    type: str

username:
    description:
    - SNMP v3 authentication user name
    type: str

ctera_host:
    description: IP Address or FQDN of the CTERA Networks Host
    required: true
    type: str

ctera_port:
    description: Connection port to the Host
    type: int

ctera_user:
    description: User Name for communicating with the CTERA Networks Host
    required: true
    type: str

ctera_https:
    default: true
    description: Connect to the Host using HTTPS
    type: bool

community_str:
    description:
    - SNMP v2c community string
    type: str

ctera_password:
    description: Password of the user
    required: true
    type: str

update_password:
    default: false
    description: If True, the password will be updated
    type: bool

ctera_trust_certificate:
    default: false
    description: Trust unverified certificates
    type: bool