This is very early support of snmpd, support only few options.
- Ansible 2.5+;
---
# Enable snmpd service or not.
snmpd_enable: 'true'
# Restart snmpd after deploy or not.
snmpd_restart: 'true'
# Install snmpd package or not.
snmpd_install_package: 'true'
snmpd:
- system:
- rocommunity: 'public'
# Using IP or Networks to SNMP access. If there is no Network section, then the value is simply set: rocommunity public and full access to SNMP
network:
- '10.0.0.0/8'
- '172.16.20.0/24'
- '192.168.0.0/16'
syslocation: '37 Riegelmann Boardwalk, Brooklyn, NY 11224, USA'
syscontact: '[email protected]'
agent:
- agentaddress: 'udp:161'
extend:
- "pi_cputemp /usr/bin/pi_cputemp"