Skip to content

Commit

Permalink
net-snmp: add SNMPv3 options
Browse files Browse the repository at this point in the history
This commit implements SNMPv3 functionality
to snmpd.init.
In particular it adds function snmpd_snmpdv3_add,
which sets the needed options in /var/run/snmpd.conf.
Additionally a possibility to download mib file
is also added.

Signed-off-by: Christian Korber <ckorber@tdt.de>
  • Loading branch information
Christian Korber committed Nov 25, 2024
1 parent 24360b7 commit 23d47f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/net-snmp/files/snmpd.init
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ start_service() {
append_authtrapenable authtrapenable enable authtrapenable
append_parm v1trapaddress host v1trapaddress
append_parm trapsess trapsess trapsess
config_foreach snmpd_snmpv3_add v3 general

procd_set_param command $PROG -Lf /dev/null -f -r
procd_set_param file $CONFIGFILE
Expand Down

0 comments on commit 23d47f7

Please sign in to comment.