On 27/10/06, Avnindra Singh <[EMAIL PROTECTED]> wrote:
> Yeah. I'm aware of the implementation in the main agent. Requirements
> are to make it a part of a subagent.
So configure the main agent to not include this module,
and compile a subagent that *does* include these files.
There's no need to
I generated sub agent code for scalars in HOST-RESOURCES_MIB using:
>> env MIBS="+HOST-RESOURCES-MIB" mib2c -c mib2c.scalar.conf hrSystem
>
>
> I presume you realise that the Net-SNMP agent already implements this
> particular group? (See agent/mibgroup/host/hr_system.c)
>
Dave,
Thanks for you r
On 26/10/06, Avnindra Singh <[EMAIL PROTECTED]> wrote:
> I generated sub agent code for scalars in HOST-RESOURCES_MIB using:
> env MIBS="+HOST-RESOURCES-MIB" mib2c -c mib2c.scalar.conf hrSystem
I presume you realise that the Net-SNMP agent already implements this
particular group? (See agent/mib
Hi All,
I generated sub agent code for scalars in HOST-RESOURCES_MIB using:
env MIBS="+HOST-RESOURCES-MIB" mib2c -c mib2c.scalar.conf hrSystem
It generates hrSystem.c and hrSystem.h. Inside the .c file there are two
kind of functions:
a) init_hrSystem (to be called from the sub agent)
b) handle