Hi,

snmptrapd -c /home/garyc/snmptrapd.conf

I sent the snmptrapd.conf I use for coldstart trap out yesterday and also a
perl script you can use
inconjunction with the snmptrapd.conf.

Have you tried doing that?

Thanks,
Garyc

----- Original Message -----
From: "Russ Woodman" <[EMAIL PROTECTED]>
To: "Alex Burger" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 2004 1:25 PM
Subject: Re: Cannot Process SNMP Traps


> Hi,
>
> When I run snmptrapd with the options specified below, I get:
>
> read_config:traphandle: registering handler for: default
> 2004-12-15 13:20:19 NET-SNMP version 5.1.2 Started.
>
> When I send a trap, either from a Cisco device or by using the following
> command:
>
> snmptrap -v 1 - c public localhost TRAP-TEST-MIB::demotraps localhost 6 17
> '' SNMPv2-MIB::sysLocation.0 s "Just here"
>
> There is no debugging output at all.  I know the packets are being
> received because tcpdump shows them, but they seem to be summarily ignored
> by snmpd/snmptrapd.
>
> As you can see from the debug output, I am running version 5.1.2.
>
> Any clue what's wrong?
>
> Russ
>
> >
> > Try running snmptrapd in the foreground with debugging for
> > read_config:traphandle and snmptrapd.
> >
> > snmptrapd -f -Lo -Dsnmptrapd,read_config:traphandle
> >
> > When I send a test trap, I get:
> >
> > read_config:traphandle: registering handler for: default
> > 2004-12-14 21:41:49 NET-SNMP version 5.2.pre1 Started.
> > snmptrapd: input: a7
> > snmptrapd: Trap OID: SNMPv2-SMI::enterprises.534.1.11.4.1.0.22
> > snmptrapd: print_handler
> > snmptrapd: v2/3 format
> > 2004-12-14 21:41:55 localhost [127.0.0.1]:
> > SNMPv2-MIB::sysUpTime.0 = Timeticks: (12345) 0:02:03.45
> > SNMPv2-MIB::snmpTrapOID.0 = OID:
> > SNMPv2-SMI::enterprises.534.1.11.4.1.0.22
> > SNMPv2-SMI::enterprises.534.1.7.2.1.1.52 = INTEGER: 52
> > SNMPv2-SMI::enterprises.534.1.7.2.1.2.52 = OID:
> > SNMPv2-SMI::enterprises.534.1.7.15
> > SNMPv2-SMI::enterprises.534.1.11.3.0 = STRING: "Alex"
> > snmptrapd: get_traphandler default (80704d8)
> > snmptrapd: command_handler
> > snmptrapd: token = '/root/traphandle-help default'
> > snmptrapd: execute format
> > snmptrapd: notification_handler
> >
> > What do you get?
> >
> > What version of Net-SNMP are you using?
> >
> > Alex
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to