Hi Dave,

Thank you so much for your resourcefullness and help. I will try applying 
what you said and changing my code to v5.

Regards,
Marwan

----- Original Message ----- 
From: "Dave Shield" <[email protected]>
To: "Marwan Khoury" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, August 25, 2009 10:23 AM
Subject: Re: CPU consumption


> 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


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release Date: 08/24/09 
12:55:00


------------------------------------------------------------------------------
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