summaryrefslogtreecommitdiff
path: root/debian/snmptrapd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/snmptrapd.conf')
-rw-r--r--debian/snmptrapd.conf12
1 files changed, 9 insertions, 3 deletions
diff --git a/debian/snmptrapd.conf b/debian/snmptrapd.conf
index 51aeef7..d037b52 100644
--- a/debian/snmptrapd.conf
+++ b/debian/snmptrapd.conf
@@ -5,8 +5,7 @@
#
###############################################################################
#
-# This file is intended to only be an example. If, however, you want
-# to use it, it should be placed in /etc/snmp/snmptrapd.conf.
+# 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
@@ -15,4 +14,11 @@
#
# 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