Re: Question on MIB design for traps

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/9/16 Ben Greear <[email protected]>:
> I'm curious if anyone has any suggestions for resources on how
> to properly design MIBs, especially traps.
>
> Basically, I have lots of entities, and each entity has lots of
> fields, each of which can be in a few states (often 'BAD' or 'OK')
>
> It seems I can encode 'entity', 'field', 'value' in a single trap
> and have very few traps defined in my MIB, or I could go the opposite
> extreme and have one trap for every field + value combination (and
> still encode 'entity').
>
> I'm interested in the preferred design..


Have a small number of notifications, to indicate a particular
category of "event", and define these as taking additional
varbinds ('entity', 'field', 'value') as part of the payload.

The simplest approach would probably be to have just two traps:
   somethingHasGoneWrong
and
   doNotWorryEverythingIsSorted

(though probably with better names!)

Depending on your environment, it might be worth considering
a slightly richer set of notifications, but I'd tend to err on the
side of fewer rather than lots.

Dave

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.