[ Always Cc: to the mailing list, please ]

On Tue, 2005-05-17 at 17:35, Fabio "Salsa" Durieux Lopes wrote:
>  And also about SNMPv1. Do you think it would be
> better if I'd send out SNMPv1 traps?

There's no real functional difference between an SNMPv1 trap
and an SNMPv2c trap.  The format of the request is different,
but the basic functionality is just the same

>                                          I didn't find
> anything to let me decide about SNMP versions.

SNMPv1 and SNMPv2c have the same basic administrative
structure, and are fundamentally insecure (plain text
"passwords", and the like).   SNMPv3 introduces a much
stronger administrative mechanism, including secure
authentication, and even encrypted requests.

The main advantages of SNMPv2c over SNMPv1 are improved
error handling (including the use of exceptions to report
"partial results"), an extra request type (GetBulk) and
data type (Counter64).  And most relevant here - an
acknowledged notification (Inform).

If a Trap packet is dropped by the network, the sender
will never know.  That holds for both SNMPv1 and SNMPv2c
(and SNMPv3).  But an Inform packet will trigger a response
(acknowledging receipt), so the sender will know that it
got to the destination.

> So I saw the example (notification.c), tried it, it worked
> and I followed. When should I use each of the versions?

See above

>  And how am I suposed to send a SNMPv1 trap?
> (If you point a direction I think I'm able to find my
> way through...)

Use "trapsink" instead of "trap2sink" in the snmpd.conf file.
See the FAQ entries for more details.


Dave



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
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