blob: c472da73b60f2aaad251fcebacf255746bee99b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
###########################################################################
#
# snmpd.conf - Example SevOne net-snmp Configuration
#
##
agentAddress udp6:161
## SNMPv3 Users
rouser sev1snmpuser
#engineIDType 3 engineIDNic eno1
#engineIDType 1
engineID REPLACEENGINEID
##
## SNMPv2c Community
##
com2sec6 sevone_sec ::1 2Y2LHTZP31
group ROGroup v2c sevone_sec
view alloids included .1
view limited included .1.3.6.1.2.1.1
view vzw_view included .1.3.6.1.2.1.1
view vzw_view included .1.3.6.1.2.1.1.4
view vzw_view included .1.3.6.1.2.1.1.5
view vzw_view included .1.3.6.1.2.1.1.6
view vzw_view included .1.3.6.1.2.1.2.2.1
view vzw_view included .1.3.6.1.2.1.4.20
access ROGroup "" any noauth exact alloids none none
##
## SNMP Trap Destination
trap2sink TRAPTARGET1 sevone
trap2sink TRAPTARGET2 sevone
##
## SNMP System Table
sysContact VZW Administrator
sysLocation LOCATIONTARGET
##
## disk: Check for disk space usage of a partition.
includeAllDisks 10%
##
## load: Check for unreasonable load average values.
load 8 8 8
##
## Configure this agent to be the master agent.
master agentx
##
## Override "lo" to still be softwareLoopback(24), but also have a real "speed".
interface lo 24 1000000000
##
## Send authenticationFailure traps.
authtrapenable 1
##
## This is the internal user that snmpd will use in order to
# monitor itself for various events.
iquerySecName _internal
##
## Interface-related notifications.
# This setup will send linkUp and linkDown notifications
# when any interface's ifOperStatus value changes to/from
# disabled(2).
#
notificationEvent linkUpTrap .1.3.6.1.6.3.1.1.5.4 .1.3.6.1.2.1.2.2.1.1 .1.3.6.1.2.1.2.2.1.7 .1.3.6.1.2.1.2.2.1.8
notificationEvent linkDownTrap .1.3.6.1.6.3.1.1.5.3 .1.3.6.1.2.1.2.2.1.1 .1.3.6.1.2.1.2.2.1.7 .1.3.6.1.2.1.2.2.1.8
monitor -r 10 -e linkUpTrap "Generate linkUp" .1.3.6.1.2.1.2.2.1.8 != 2
monitor -r 10 -e linkDownTrap "Generate linkDown" .1.3.6.1.2.1.2.2.1.8 == 2
##
|