summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/snmptrapd.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/snmptrapd.conf b/debian/snmptrapd.conf
index 5dd4fec..d037b52 100644
--- a/debian/snmptrapd.conf
+++ b/debian/snmptrapd.conf
@@ -16,4 +16,9 @@
#
#authCommunity log,execute,net private 
#authCommunity log,execute,net public
-#traphandle default /usr/bin/traptoemail -s smtp.example.org foobar@example.org
+#
+## 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