Dear Dave:
  Thank you.
  My version of agent is net-snmp 5.3 , and after I comment out trapsink or trap2sink  
  xxx.xxx.xxx.xx public 162 , the error message disappear. 
  These two line referring to the same address.
 
  If that means the comment:      trap2sink 192.111.111.1 pulic 162
  can also receive the trap v1 ? and these two line shouldn't referring to the same
  destination.

  Thank you.


Best Regards,
Clement Hsu


---------- Forwarded message ----------
From: Dave Shield < [EMAIL PROTECTED]>
Date: 2006/10/27 下午 11:34
Subject: Re: How to check problems about trap
To: Clement Hsu <[EMAIL PROTECTED]>
Cc: net-snmp-users@lists.sourceforge.net

On 26/10/06, Clement Hsu <[EMAIL PROTECTED]> wrote:
>  When I add the following two line, such like
>
>   trapcommunity public
>   trapsink xxx.xxx.xxx.xx public 162
>
>  Then , when I execute snmpd -f -d -Le, it represented
>
>       snmpd: send_Trap: Cannot send V1 PDU on V2 message

Which version of the agent are you using?


> and some error message which i don't understand.

But what *is* this error message?
If the agent is telling you something, it might be a good idea to let us
know what that message is!!   It might not be relevant or meaningful
to us either - but if you don't tell us, we'll never know.


> the whole snmpd.conf about trap is
>
>   trapcommunity public
>   trapsink xxx.xxx.xxx.xx public 162
>   trap2sink xxx.xxx.xxx.xx public 162

What happens if you comment out the "trap2sink" line
and restart the agent?  Do you still get the same error?

What about if you comment out the "trapsink" line, and *just*
have the "trap2sink" line active?  Do you get the error or not?

Are these two lines referring to the same destination, or different ones?

Dave

PS: Please don't send the same message more than once.
    If you don't get a response immediately, wait.  Don't nag.
    Thanks
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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