Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module for SNMP #164

Open
DanielRaapDev opened this issue Jan 30, 2025 · 0 comments
Open

Add module for SNMP #164

DanielRaapDev opened this issue Jan 30, 2025 · 0 comments

Comments

@DanielRaapDev
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant