--- Dave Shield <[EMAIL PROTECTED]> wrote:

> On 12/12/2007, PoWah Wong <[EMAIL PROTECTED]>
> wrote:
> > Killing snmpd generate a trap but snmptrapd still
> does
> > not receive it.
> 
> OK - so the issue seems to lie with the trap
> receiver,
> rather than the agent.
> 
> 
> 
> > # snmpd -f -Le -Dtrap -d
> 
> > trap: sending trap type=167, version=3
> >
> > Sending 190 bytes to UDP: [172.20.11.58]:162
>    [snip]
> 
> >
> > trap: sending trap type=167, version=3
> >
> > Sending 194 bytes to UDP: [172.20.10.149]:162
>    [snip]
> 
> 
> 
> > NET-SNMP version 5.4.1
> > Reconfiguring daemon
> > NET-SNMP version 5.4.1 restarted
> 
> > trap: sending trap type=167, version=3
> >
> > Sending 190 bytes to UDP: [172.20.11.58]:162
>    [snip]
> >
> > trap: sending trap type=167, version=3
> >
> > Sending 194 bytes to UDP: [172.20.10.149]:162
>    [snip]
> 
> 
> The agent is clearly sending the relevant traps.
> But the receiver isn't receiving them.
> So we need to find out why.
> 
> Try shutting down snmptrapd, and restarting it
> using:
> 
>     snmptrapd -f -Le -Dsnmptrapd -d
> 
> Then start up the snmpd agent again.
> What does the trap receiver display?
> 
> Dave
>
Now the trap receiver display:
# snmptrapd -f -Le -Dsnmptrapd -d
registered debug token snmptrapd, 1
netsnmp_assert !"registration != duplicate" failed
agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed
agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed
agent_registry.c:535 netsnmp_subtree_load()
snmptrapd: Freeing trap handler lists
NET-SNMP version 5.4.1

Received 192 bytes from UDP: [172.20.11.245]:32832
0000: 30 81 BD 02  01 03 30 11  02 04 67 16  C6 19 02
03    0.....0...g.....
0016: 00 FF E3 04  01 03 02 01  03 04 3E 30  3C 04 0D
80    ..........>0<...
0032: 00 1F 88 80  6A 19 93 7B  D3 C7 55 47  02 01 3A
02    ....j..{..UG..:.
0048: 02 0C 87 04  0C 74 65 73  74 5F 4D 44  35 5F 41
45    .....test_MD5_AE
0064: 53 04 0C 91  79 48 88 A3  3F 28 68 80  4D 5D 57
04    S...yH..?(h.M]W.
0080: 08 B7 E6 DF  54 9B 52 18  88 04 65 0E  7F E4 85
77    ....T.R...e....w
0096: 9E 44 59 15  6E 38 36 B0  30 AD 69 68  46 8F B9
03    .DY.n86.0.ihF...
0112: F1 CB 5E 96  5D 8C 86 E5  D1 C8 63 C7  5D 87 C4
7B    ..^.].....c.]..{
0128: 86 6F B7 52  26 B8 AF E5  CE 06 06 4B  D3 0B F5
8A    .o.R&......K....
0144: 42 22 4F 97  16 56 61 84  D2 F7 33 BC  F4 93 9F
6A    B"O..Va...3....j
0160: 38 47 6A B5  04 80 ED 4E  09 EE 54 9D  FC BD 0D
03    8Gj....N..T.....
0176: 13 66 CB 01  B3 56 99 F2  0E 49 87 41  AC 26 57
12    .f...V...I.A.&W.




      ____________________________________________________ 
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now at
http://ca.toolbar.yahoo.com.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to