Re: Cannot send V1 PDU on V2 session

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 20/04/07, rama p <[email protected]> wrote:
> trapsink 10.0.0.4 public localhost
> trap2sink 10.0.0.5 public localhost

The syntax of the "trapsink" directive is

    trapsink  HOST  COMMUNITY  PORT

(and the same for trap2sink).
It does not make sense to specify a port number of "localhost".

Try with either

    trapsink 10.0.0.4 public
    trap2sink 10.0.0.5 public

if you want to send the two traps to different destinations,
or
    trapsink  localhost  public
    trap2sink  localhost  public

if you want to send two copies of every trap (why?) to localhost.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.