Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Let The Music Play: Join EFF Today

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 143 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

snmptrapd.conf




DESCRIPTION

       snmptrapd.conf is the configuration file(s)  which  define
       how  the  ucd-snmp SNMP trap receiving demon operates when
       it receives a trap.  These files may contain  any  of  the
       directives  found  in  the DIRECTIVES section below.  This
       file is not required for the demon to operate, receive, or
       report  traps.  It is used solely as a method of providing
       extensibility to the trap demon.


PLEASE READ FIRST

       First, make sure you have read the  snmp_config(5)  manual
       page  that  describes how the ucd-snmp configuration files
       operate, where they are located  and  how  they  all  work
       together.


DIRECTIVES

       traphandle OID|default PROGRAM [ARGS ...]
              The  traphandle  configuration directive configures
              the snmptrapd program to launch an external program
              any time it receives a trap matching the OID token.
              If the OID token is the word default then any  trap
              not  matching any other trap handler will call this
              default one instead.  The program  is  fed  details
              about  the  trap to its standard input, in the fol­
              lowing format, one entry per line:

              HOSTNAME
                     The name of the host in question  that  sent
                     the  trap, as determined by gethostbyaddr().

              IPADDRESS
                     The IP address of the  host  that  sent  the
                     trap.

              VARBINDS
                     A  list  of  variable bindings that describe
                     the trap and the variables enclosed  in  it.
                     The  first  token  on the line, up until the
                     space, in the OID and the remainder  of  the
                     line  is its value.  The first OID should be
                     the system.sysUpTime.0 OID, and  the  second
                     should be the ...snmpTrap.snmpTrapOID.0 OID.
                     The remainder of the OIDs, with the possible
                     exception  of the last one, are the variable
                     bindings contained  within  the  trap.   For
                     SNMPv1  traps, the very last OID will be the
                     ...snmpTrap.snmpTrapEnterprise OID  and  its
                     value.   Essentially, SNMPv1 traps have been
                     converted to the SNMPv2 trap PDU type by the
                     method  described in the SNMPv1/SNMPv2 coex­
                     istence document, for  which  I  forget  the

              message (note that the SNMPv3 protocol uses  SNMPv2
              style TRAPs and INFORMs).


NOTES

       o      The  demon  blocks on the executing traphandle com­
              mands.  (This should be fixed in the future with an
              appropriate signal catch and wait() combination).


SEE ALSO

       snmp_config(5),   snmptrapd(8),  syslog(8),  variables(5),
       read_config(3).

                           28 Aug 2001          SNMPTRAPD.CONF(5)
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.05 Seconds