Hi.  I'm trying to use snmptrapd in Gentoo Linux to log the activity
on a Linksys router.

The package is instaled and it seems to me the configuration files are OK.
If I turn the dump packet option -d, I see packets coming from the
router (see below).   But when I try to get formatted output, nothing
happens.

Received 115 bytes from x.x.x.x
2004-10-14 07:40:12 0000: 30 82 00 6F  02 01 00 04  06 70 75 62  6C 69
63 A4    0..o.....public.
2004-10-14 07:40:12 0016: 82 00 60 06  09 2B 06 01  04 01 9E 73  01 01
40 04    [EMAIL PROTECTED]
2004-10-14 07:40:12 0032: C0 A8 95 01  02 01 06 02  01 01 43 04  FF FF
FF FF    ..........C.....
2004-10-14 07:40:12 0048: 30 82 00 3F  30 82 00 3B  06 0A 2B 06  01 04
01 9E    0..?0..;..+.....
2004-10-14 07:40:12 0064: 73 01 01 00  04 82 00 2B  40 6F 75 74  20 31
39 32    [EMAIL PROTECTED] 192
2004-10-14 07:40:12 0080: 2E 31 36 38  2E 31 34 39  2E 38 20 31  31 32
36 20    .168.149.8 1126
2004-10-14 07:40:12 0096: 31 33 30 2E  32 30 36 2E  31 33 30 2E  39 35
20 31    130.206.130.95 1
2004-10-14 07:40:12 0112: 32 33 0A                                    
         23.

The command I'm using is
snmptrapd -f -Lo -F "%A %y-%02.2m-%02.2l %02.2h:%02.2j:%02.2k %v\n" -Oa

I've tried using -C to ignore conf files, -m and -M to specify mibs
and mib directory... No luck :(

Any ideas?

Thanks!

Juan C.


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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