example snmptrapd.conf for linksys for newbee - SNMP

This is a discussion on example snmptrapd.conf for linksys for newbee - SNMP ; Hello, I am desperately trying to identify the traffic passing through my Linksys wag300n. I have configured snmptrapd.conf on my mac but nothing gets logged. The version of snmp software on my mac is 5.4.1 (running OS X 10.4.11 tiger). ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: example snmptrapd.conf for linksys for newbee

  1. example snmptrapd.conf for linksys for newbee

    Hello,

    I am desperately trying to identify the traffic passing through my
    Linksys wag300n. I have configured snmptrapd.conf on my mac but nothing
    gets logged. The version of snmp software on my mac is 5.4.1 (running OS
    X 10.4.11 tiger). I got the impression from the manual pages that it
    will not report traps from unrecognised devices, but I was not able to
    figure out how to work around this.

    Is anybody able to provide an example snmptrapd.conf that would capture
    events from a Linksys.

    Thanks in advance.

  2. Re: example snmptrapd.conf for linksys for newbee

    Fergus McMenemie wrote:
    > I am desperately trying to identify the traffic passing through my
    > Linksys wag300n. I have configured snmptrapd.conf on my mac but nothing
    > gets logged. The version of snmp software on my mac is 5.4.1 (running OS
    > X 10.4.11 tiger). I got the impression from the manual pages that it
    > will not report traps from unrecognised devices, but I was not able to
    > figure out how to work around this.
    >
    > Is anybody able to provide an example snmptrapd.conf that would capture
    > events from a Linksys.


    Probably better: post your snmptrapd.conf a we'll have a look at it :-)


  3. Re: example snmptrapd.conf for linksys for newbee

    On 2 Jun, 18:15, "Karsten P. Hoffmann"
    wrote:
    > FergusMcMenemiewrote:


    > > Is anybody able to provide an example snmptrapd.conf that would capture
    > > events from a Linksys.

    >
    > Probably better: post your snmptrapd.conf a we'll have a look at it :-)


    ################################################## #########################
    #
    # snmptrapd.conf
    #

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

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

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

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

    # logoption: Set options controlling where to log to See -L options
    in the snmptrapd.conf man page
    logOption f /var/log/snmptraps.log



  4. Re: example snmptrapd.conf for linksys for newbee



    fergus@twig.demon.co.uk wrote:
    > ################################################## #########################
    > #
    > # snmptrapd.conf
    > #
    >
    > # ignoreauthfailure: Ignore authentication failure traps
    > # arguments: (1|yes|true|0|no|false)
    > ignoreauthfailure yes
    > disableAuthorization yes

    [...]

    This works for me, except for the line 'disableAuthorization yes', which
    my snmptrapd (net-snmp 5.2.3) didn't understand.

    Can you tell, what doesn't work for you?

    Did you checkout the debug option of snmptrapd,yet? (-d -D ALL)

    HTH,

    -Karsten.

  5. Re: example snmptrapd.conf for linksys for newbee

    On 11 Jun, 20:03, "Karsten P. Hoffmann"
    wrote:
    > fer...@twig.demon.co.uk wrote:
    > > ################################################## #########################
    > > #
    > > # snmptrapd.conf
    > > #

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

    >
    > [...]
    >
    > This works for me, except for the line 'disableAuthorization yes', which
    > my snmptrapd (net-snmp5.2.3) didn't understand.
    >
    > Can you tell, what doesn't work for you?
    >
    > Did you checkout the debug option of snmptrapd,yet? (-d -D ALL)
    >
    > HTH,
    >
    > -Karsten.


    Thanks, I will have the chance to try it Sat.

+ Reply to Thread