Re: tool to convert snmp mib tree to database
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGZe1Xa7MuTjokAh+Y44VN4vUJuz90N=DtKi7z6FisVVbg@mail.gmail.com> |
On 6 July 2011 11:17, Victor D'Agostino <[email protected]> wrote: > I am looking for a tool to convert a mib file oid tree to a sql script which build a database table. You could use the 'mib2c' tool to do this, by simply crafting a suitable template file. Despite the name, this can be used to generate *any* style of output file, based on the input MIB structure. Have a look at 'mib2c.genhtml.conf' for an example of a non-coding based application. (Ignore the first hundred lines or so - the main content starts with the statement "@open ${name}.html@" I'd be inclined to start with a simple test MIB, and manually write down the SQL statements that you'd need to model it. Then look at crafting a mib2c.sql.conf file that generated this format. There's plenty of documentation within the mib2c script itself. Dave ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ 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