[AGENT++] newbie: Where's the MIB?

Bob Natale bob.natale at appliedsnmp.com
Thu Mar 1 23:06:56 CET 2007


Hi John,
Example programs sometimes use simpler approaches for brevity and clarity (wrt whatever the main objective of the example happens to be).
Many/most commercial SNMP management applications/platforms will, in fact, load MIB defs in some dynamic or load-time fashion and go from there. (Which is not to say you want find some that use hard-coded MIB defs...sometimes to reduce footprint or improve performance, etc.)
Cheers,
BobN

-----Original Message-----
From: John Mudd [mailto:johnbmudd at gmail.com]
Sent: Thursday, March 1, 2007 03:24 PM
To: agentpp at agentpp.org
Subject: [AGENT++] newbie: Where's the MIB?

When a Manger sends my Agent a Get request, it includes an OID. The
first thing my Agent has to do is look up the OID in the MIB to see if
I'm managing it.

What confuses me is that in examples such as agent.cpp it looks like
the MIB info is being populated into a C++ object via hardcoded
statements. Why doesn't the program just read a MIB file? I think
I'm missing something very basic here.

John
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp





More information about the AGENTPP mailing list