mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
net-snmp: add notification config options
Add config support which allow snmpd to take a more active role by sending traps. Following config options are supported which map directly on snmpd directives: -trapcommunity -trapsink -trap2sink -informsink -authtrapenable -v1trapaddress -trapsess Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
committed by
Hans Dedecker
parent
916f14aacf
commit
bb0dfbe6cc
@@ -88,5 +88,32 @@ config engineid
|
||||
option engineidtype '3'
|
||||
option engineidnic 'eth0'
|
||||
|
||||
#config trapcommunity 'trapcommunity'
|
||||
# option community 'public'
|
||||
|
||||
#config trapsink
|
||||
# option host 'nms.system.com'
|
||||
# option community 'public'
|
||||
# option port '162'
|
||||
|
||||
#config trap2sink
|
||||
# option host 'nms.system.com'
|
||||
# option community 'secret'
|
||||
# option port '162'
|
||||
|
||||
#config informsink
|
||||
# option host 'nms.sytem.com'
|
||||
# option community 'public'
|
||||
# option port '162'
|
||||
|
||||
#config authtrapenable 'authtrapenable'
|
||||
# option enable '1'
|
||||
|
||||
#config v1trapaddress 'v1trapaddress'
|
||||
# option host '1.2.3.4'
|
||||
|
||||
#config trapsess 'trapsess'
|
||||
# option trapsess '-v 3 -e 0x80001f88808c18d3f7b0000 -u trapuser -a MD5 -A administrator -l authPriv -x DES -X rootpasswd udp:127.0.0.1:162'
|
||||
|
||||
config snmpd general
|
||||
# list network 'wan'
|
||||
|
||||
Reference in New Issue
Block a user