Ad Widget

Collapse

snmptrapd.conf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arika
    Junior Member
    • Apr 2008
    • 4

    #1

    snmptrapd.conf

    Hi all
    Plz help me..I need the configured snmptrapd.conf file to fetch the traps...
    I tried a lot to configure bt i thnk its wrong..else somebody tell me the steps how to configure snmptrapd.conf...
    Do I need any other file for snmptrap???

    Thanx
  • Tenzer
    Senior Member
    • Nov 2007
    • 316

    #2
    Have you looked at the page in the wiki regarding this?
    http://www.zabbix.com/wiki/doku.php?id=howto:snmptraps

    Comment

    • arika
      Junior Member
      • Apr 2008
      • 4

      #3



      I dnt knw wot to do.
      my snmptrapd.conf is lik dis:

      ################################################## #########################
      #
      # snmptrapd.conf
      #
      # - created by the snmpconf configuration program
      #
      ################################################## #########################
      # SECTION: Authentication options
      #
      # Authentication options

      # ignoreauthfailure: Ignore authentication failure traps
      # arguments: (1|yes|true|0|no|false)

      ignoreauthfailure 1



      ################################################## #########################
      # SECTION: Output formatting for traps received.
      #
      # Output from snmptrapd is formatted according to the
      # rules defined by the formatting configuration directives.

      # format2: How SNMPv2 and SNMPv3 traps are formatted.
      # See the snmptrapd.conf manual page for format string details.
      # arguments: formatstring

      format2 format2



      ################################################## #########################
      # SECTION: Runtime options
      #
      # Runtime options

      # donotfork: Do not fork from the shell
      # arguments: (1|yes|true|0|no|false)

      donotfork 1



      ################################################## #########################
      # SECTION: Logging options
      #
      # Logging options

      # logoption: Set options controlling where to log to
      # See -L options in the snmptrapd.conf man page

      logoption -Lo

      # outputoption: Toggle options controlling output display
      # See -O options in the snmptrapd.conf man page

      outputoption -On






      ################################################## #########################
      #
      # snmptrapd.conf
      #
      # - created by the snmpconf configuration program
      #



      ################################################## #########################
      # SECTION: Output formatting for traps received.
      #
      # Output from snmptrapd is formatted according to the
      # rules defined by the formatting configuration directives.

      # format1: How SNMPv1 traps are formatted.
      # See the snmptrapd.conf manual page for format string details.
      # arguments: formatstring

      format1 format1



      ################################################## #########################
      # SECTION: Runtime options
      #
      # Runtime options

      # pidfile: Store Process ID in file
      # arguments: PID file

      pidfile finished



      ################################################## #########################
      # SECTION: Logging options
      #
      # Logging options

      # donotlogtraps: Prevent traps from being logged
      # Useful when you only want to use traphandles
      # arguments: (1|yes|true|0|no|false)

      donotlogtraps 0

      # outputoption: Toggle options controlling output display
      # See -O options in the snmptrapd.conf man page

      outputoption finished

      # printeventnumbers: Print event numbers (rising/falling alarm, etc.)
      # arguments: (1|yes|true|0|no|false)

      printeventnumbers 1


      but i dnt knw wheathr its wrong or right..
      plz help..

      Comment

      Working...