Question on MIB design for traps - SNMP
This is a discussion on Question on MIB design for traps - SNMP ; Hello!
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 ...
-
Question on MIB design for traps
Hello!
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..
Thanks,
Ben
--
Ben Greear
Candela Technologies Inc http://www.candelatech.com
-------------------------------------------------------------------------
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.p...r_id=100&url=/
_______________________________________________
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/...net-snmp-users
-
Re: Question on MIB design for traps
2008/9/16 Ben Greear :
> 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.p...r_id=100&url=/
_______________________________________________
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/...net-snmp-users