summaryrefslogtreecommitdiffstats
path: root/files/snmpd.conf
diff options
context:
space:
mode:
authorVincent S. Cojot <vcojot@redhat.com>2017-02-08 16:42:22 -0500
committerVincent S. Cojot <vcojot@redhat.com>2017-02-08 16:42:22 -0500
commit76707f93fc6e67c6905b0f79c47130eb32d7ee14 (patch)
treefe24acb8c05f1e7f9f8a4c1f770a36765fdc8daf /files/snmpd.conf
downloadopenstack-access-policy-76707f93fc6e67c6905b0f79c47130eb32d7ee14.tar.gz
openstack-access-policy-76707f93fc6e67c6905b0f79c47130eb32d7ee14.tar.xz
openstack-access-policy-76707f93fc6e67c6905b0f79c47130eb32d7ee14.zip
Initial commit
Diffstat (limited to 'files/snmpd.conf')
-rw-r--r--files/snmpd.conf74
1 files changed, 74 insertions, 0 deletions
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
+##