summaryrefslogtreecommitdiff
path: root/debian/snmptrapd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/snmptrapd.conf')
-rw-r--r--debian/snmptrapd.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/snmptrapd.conf b/debian/snmptrapd.conf
new file mode 100644
index 0000000..d037b52
--- /dev/null
+++ b/debian/snmptrapd.conf
@@ -0,0 +1,24 @@
+###############################################################################
+#
+# EXAMPLE-trap.conf:
+# An example configuration file for configuring the Net-SNMP snmptrapd agent.
+#
+###############################################################################
+#
+# This file is intended to only be an example.
+# When the snmptrapd agent starts up, this is where it will look for it.
+#
+# All lines beginning with a '#' are comments and are intended for you
+# to read. All other lines are configuration commands for the agent.
+
+#
+# PLEASE: read the snmptrapd.conf(5) manual page as well!
+#
+#authCommunity log,execute,net private 
+#authCommunity log,execute,net public
+#
+## send mail when get any events
+#traphandle defalut /usr/bin/traptoemail -s smtp.example.org foobar@example.org
+#
+## send mail when get linkDown
+#traphandle .1.3.6.1.6.3.1.1.5.3 /usr/bin/traptoemail -s smtp.example.org foobar@example.org