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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users