25 lines
816 B
Plaintext
25 lines
816 B
Plaintext
|
# {{ ansible_managed }}
|
||
|
|
||
|
# This file controls the activity of snmpd and snmptrapd
|
||
|
|
||
|
# Don't load any MIBs by default.
|
||
|
# You might comment this lines once you have the MIBs downloaded.
|
||
|
export MIBS={{ snmpd_mibs }}
|
||
|
|
||
|
# snmpd control (yes means start daemon).
|
||
|
SNMPDRUN={{ 'yes' if snmpd_run else 'no' }}
|
||
|
|
||
|
# snmpd options (use syslog, close stdin/out/err).
|
||
|
SNMPDOPTS='{{ snmpd_opts }}'
|
||
|
|
||
|
# snmptrapd control (yes means start daemon). As of net-snmp version
|
||
|
# 5.0, master agentx support must be enabled in snmpd before snmptrapd
|
||
|
# can be run. See snmpd.conf(5) for how to do this.
|
||
|
TRAPDRUN={{ 'yes' if snmpd_trapd_run else 'no' }}
|
||
|
|
||
|
# snmptrapd options (use syslog).
|
||
|
TRAPDOPTS='{{ snmpd_trapd_opts }}'
|
||
|
|
||
|
# create symlink on Debian legacy location to official RFC path
|
||
|
SNMPDCOMPAT={{ 'yes' if snmpd_snmpd_compat else 'no' }}
|