Re: sysORTable from subagent

2008-06-25 Thread Goran
Thanks for your answere. It helped and now sysORTable works from the subagent. I'm registring to sysORTable last in the initialization process of the subagent. I will wait for the first release of 5.5 before I start to use it. I think I can survive without the reregistration for now. T

Re: sysORTable from subagent

2008-06-23 Thread Magnus Fromreide
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On Mon, 2

Re: sysORTable from subagent

2008-06-23 Thread Magnus Fromreide
On Mon, 2008-06-23 at 14:02 +0200, Goran wrote: > Hi > > Is it possible to register to the sysORTable from within a subagent? Yes. > It works when I register to the sysORTable when compiling the > nstAgentModuleObject.c into the Agent. If I register to sysORTable > from th

sysORTable from subagent

2008-06-23 Thread Goran
Hi Is it possible to register to the sysORTable from within a subagent? It works when I register to the sysORTable when compiling the nstAgentModuleObject.c into the Agent. If I register to sysORTable from the example subagent (nstAgentSubagentObject.c and example-demon.c) nothing ends up in the

Re: sysORTable rewrite

2008-03-28 Thread Dave Shield
On 27/03/2008, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > Another problem of this patch is that it fails to follow the rules set > out in 'MIB Module ReWrites' Note that the policy outlined in this Wiki page currently has no standing whatsoever. It's just something that I put together as my

Re: sysORTable rewrite

2008-03-27 Thread Thomas Anders
Magnus Fromreide wrote: > I have a rewrite of sysORTable that have the following advantages and > disadvantages: Without having done a full review yet, I must say I like what you did. I'd be fine with committing it to trunk. > Another problem of this patch is that it fails to fo

sysORTable rewrite

2008-03-27 Thread Magnus Fromreide
Hello. I have a rewrite of sysORTable that have the following advantages and disadvantages: Advantages: * Supports reregistering of sysORTable entries from subagents * Supports unregistering of sysORTable entries * Defines a public interface * Uses a container handler for

Re: sysORTable registrations in subagents

2007-06-26 Thread Wes Hardaker
>>>>> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: MF> The question that rise from this is how to handle sysORTable in MF> subagents, the obvious way seems to be that sysORTable entries are MF> automatically reregistered just like mib registrations

sysORTable registrations in subagents

2007-06-24 Thread Magnus Fromreide
); } void shutdown_zzz(void) { unregister_sysORTable(theOID, sizeof(theOID)/sizeof(oid)); } --- EOF --- If it is part of the main agent then theOID do show up in sysORTable but if it is part of a subagent then it will not be there. The reson for the difference is that the agentx subagent module only reg

Re: sysORTable

2006-11-13 Thread Wes Hardaker
>>>>> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: MF> I was trying to write an agnet module and should register myself MF> in sysORTable and then got very confused as it looks like the MF> header file for doing that isn't part of the default

sysORTable

2006-11-11 Thread Magnus Fromreide
Hi! I was trying to write an agnet module and should register myself in sysORTable and then got very confused as it looks like the header file for doing that isn't part of the default install - is this intentional?