2009/8/25 Marwan Khoury <[email protected]>:
> From whatI understand I need to generate a C file and an H file for each
> node that I have in my mib.

No.
You would typically have one pair of code files for each table,
and another for (all of) the scalar objects.   But it's also possible
to combine two or more related tables, or a table and associated
scalars, into the same code file.
   That would normally be done by creating separate code files
(using mib2c) and then combining the files manually.



> woud i have to use mib2c for each node? and what configuration file should i
> use? I need to search for these entries in a table that is loaded in the
> subagent and

> Should I be doing
> mib2c -c mib2c.scalar.conf  profact-total
> mib2c -c mib2c.scalar.conf  profact-ok

No - "mib2c -c mib2c.scalar.conf  jpm"
should generate a single code file for all of the scalar objects.


> mib2c  -S cache=1 -c mib2c.table_data.conf   methodTable

That would be a sensible starting point.

Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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

Reply via email to