LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2012, 12:25 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Rep: Reputation: 26
Question Meaning of traphandle line in /etc/snmp/snmptrapd.conf (Debian)


Hi everyone,
I just came across the file /etc/snmp/snmptrapd.conf and was told to add the line
Code:
traphandle default /path/to/script
I know that this line is used to run the script whose absolute path is "/path/to/script", but I would like to understand better what "traphandle" and "default" mean in this file. Also, what are other options for traphandle, besides "default"
Thanks in advance.
 
Old 10-26-2012, 03:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it's all very clearly described in the manpage - http://www.net-snmp.org/docs/man/snmptrapd.conf.html
 
Old 10-26-2012, 07:35 AM   #3
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by acid_kewpie View Post
it's all very clearly described in the manpage - http://www.net-snmp.org/docs/man/snmptrapd.conf.html
Thanks a lot! Have a great day.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I find the default content of snmptrapd.conf ? aocferreira Linux - Networking 2 03-22-2011 07:43 AM
Net-SNMP writing a Subagent - snmp.conf Unknown token: master AustinMarton Programming 0 12-16-2008 08:34 PM
snmptrapd.conf is gone?!?! lipos Linux - Networking 1 07-16-2008 05:39 AM
could not find the snmptrapd.conf file linux_aru Linux - General 1 06-19-2007 07:59 AM
I don't have an snmptrapd.conf jon3k Linux - Software 0 09-10-2004 05:53 PM


All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration