<%= template_header %>

# This file controls the activity of snmpd

# Don't load any MIBs by default.
# You might comment this lines once you have the MIBs downloaded.
export MIBS=

# snmpd control (yes means start daemon).
SNMPDRUN=yes

# snmpd options (use syslog, close stdin/out/err).
<%- ll = %i[emerg alert crit err warn notice info debug].rindex(@log_level.to_i) || 4 -%>
SNMPDOPTS='-LS<%= ll %>d -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'

<%= template_header %>

# This file controls the activity of snmpd

# Don't load any MIBs by default.
# You might comment this lines once you have the MIBs downloaded.
export MIBS=

# snmpd control (yes means start daemon).
SNMPDRUN=yes

# snmpd options (use syslog, close stdin/out/err).
SNMPDOPTS='-LS<%= @ll_num %>d -Lf /dev/null -u <%= @user %> -g <%= @group %> -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'

Make snmpd user and group configurable
Make snmpd user and group configurable
