Hi,
I'm trying to develop a MIB module (to extend the agent) and am rather daunted and confounded by the documentation for the various APIs. The API documentation itself is not helpful (and quite overwhelming). The CODING section in the FAQ is confusing (at best) regarding how to use mib2c (e.g. mentions non-existent mib2c config files, templates). It wasn't at all clear to me what option (e.g. mib2c.*.conf file) I should use, even when running mib2c and answering the questions. For example, if I want to obtain data from external sources and cache it, refreshing if it gets too stale, or if I have a mixture of hard-coded values, agent-resident values, and externally-obtained values... I'd really like to understand the options better, especially concerning what is done for me vs. what I have to (or perhaps more to the point could) do myself.
It would be helpful to me if:
- the doc errors were corrected
- the options were described in a little more detail (e.g. a high-level view of the pieces (functionality) that need to be provided for each mib2c.*.conf file vs. what they do for you, maybe a comparison (in table form) of the conf file (template) options.
- it was made clear which conf files might be used in addition to rather than instead of other conf files?
There also appears to be no guidance as the way(s) one might extend the agent without using mib2c (e.g. a well- organized and documented tutorial of the suggested(?) minimum/basic(?) set of API functions (maybe just better document example.[ch]? - it was a little terse, and also not clear what aspects were essential vs. implementation). Also, an organized tutorial (or at least a well-documented list) of the helpers (and/or added API layers?) available?
To use the analogy of a house, I'd really like to comprehend the foundation of a mib module, then see a well-strucured plan book showing the options avaiable for the frame/wall material options (API options/layers?), trim options, optional features (helpers?), modular house plans (templates?), etc.
I do appreciate that many examples are given (and referred to in the FAQ, although occasionally bogus), but it'd be nice if there was a more robust list of them (e.g. with the various distinctives, required helpers or utils, plus which ones go with others vs. are alternatives). An example for using the passpersist hook might also be nice (even though it does appear fairly straightforward).
Thank you,
Kris Kelley
P.S. The suggested PATH for using the FORTE compiler in README.solaris has a typo (/:opt --> :/opt).
This email and any files transmitted with it are confidential, may also be privileged, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, you may not copy or use it, or disclose it to anyone else; please notify the FileTek Security Administrators [EMAIL PROTECTED] immediately and destroy this email and any copies of it. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of FileTek, Inc. Finally, the recipient should check this email and any attachments for the presence of viruses. FileTek, Inc. accepts no liability for any damage caused by any virus transmitted by this email.