Skip to content

Add module for SNMP #164

@DanielRaapDev

Description

@DanielRaapDev

Is your feature request related to a problem? Please describe.
Make it possible to configure the SNMP daemon via Ansible. So monitoring of the pfSense is possible.

Describe the solution you'd like
A new module pfsense_snmp that configures the SNMP daemon. It should offer all the options the Web UI also provides.

- name: Configure SNMP Server
  pfsensible.core.pfsense_snmp:
    state: present
    # SNMP Daemon
    enable: true
    # SNMP Daemon Settings
    pollport: 161
    rocommunity: public
    syscontact: admin@example.com
    syslocation: somewhere
    # SNMP Traps Enable
    trapenable: true
    trapserver: 1.2.3.4
    trapserverport: 162
    trapstring: exampletrap
    # SNMP Modules
    modules:
      - mibii
      - netgraph
      - pf
      - hostres
      - ucd
      - regex
    # Interface Binding
    ipprotocol: inet46
    bindip:
      - lan

Describe alternatives you've considered
None.

Would be nice to have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions