Quoting Carlos Cantu ([EMAIL PROTECTED]):
> What's the convention being used out there when a management
> app wants to make sure no traps are lost?  Traps are also
> UPD packets like regular Gets/Responses, right?  Therefore
> there is always the possiblity that a packet might be lost.
> Is there such a thing as an SNMP Trap over TCP?  Or is there
> some kind of ACK/NAK communication built into the protocol
> such that the trap sender might know that the mgmt app never
> received the trap and try to resend.

One of the design goals of SNMP was to use UDB because, as
a network management thing, you don't want the management to
hang if the network is down.

That said, Dr Rose has since recanted on the belief that only
UDP should be used; networks are far far more reliable (by and
large) that people designed and expected for.  (well LANs at
least).

However, as I hear of people tossing out 300 traps in a few seconds,
I have to wonder what the cost to the machine would be if those
were TCP?   In the "oh crap, I'm about to crash" do you want to
send "Hello, trap server are you there please?"
TS:  "Yes, hi, how are you.  nice weather we're having, isn't it"  (aka: ACK)
Sender: "I seem to be having trouble with my service"
TS: "ok, what I hear is that you are having trouble with your service, is that right?"
Sender: "Yes it is"
TS: "alrighty then, I've got it."
Sender: "well great, I'll be going now"


Compare with UDP:
"Oh crap, I'm having trouble with this service, I hope you get this."
<random static sounds as asteroid continues to travel through the chassis>


I used to rock climb.  I used to belay people.  Ears were tuned to that
person and when you heard, "SHIT!" you braced and cinched the belay line.
"SHIT!" is udp for "hello up there, I seem to be falling.  Would you be so
good as to prevent me from hitting the ground at 120mph?"

snmptrap is lightweight.  Inform is a bit heavier.
If the network in between is down or congested badly, I don't believe either
will retry to ensure you get it.

In this case, you might trap to a program on localhost that records/queues
the traps.  Heck, "print" them to lpr and have lpr eventually "print" it
to your management machine if it's really important.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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

Reply via email to