From 76707f93fc6e67c6905b0f79c47130eb32d7ee14 Mon Sep 17 00:00:00 2001 From: "Vincent S. Cojot" Date: Wed, 8 Feb 2017 16:42:22 -0500 Subject: Initial commit --- files/snmpd.conf | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 files/snmpd.conf (limited to 'files/snmpd.conf') diff --git a/files/snmpd.conf b/files/snmpd.conf new file mode 100644 index 0000000..c472da7 --- /dev/null +++ b/files/snmpd.conf @@ -0,0 +1,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 +## -- cgit