[fpc-pascal] SNMP and MIBs

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Sat Jan 29 14:05:34 CET 2011


Marco van de Voort wrote:
> In our previous episode, Jeppe Johansen said:
>>> Management information base, used between SNMP, but also by e.g. sysctl.
>>>
>>> Provides a tree of variables that can be walked.
>>>
>>> I don't see why an FPC object would use this?
>> You could combine it with RTTI, and then have a great generic tool that 
>> can be used to inspect and control network equipment(and other things)
> 
> I understand that querying object is the goal, but I think the static nature
> of RTTI makes it a bad match (since you want to be dynamically add values)
>  
>> I can definitely see why it would be useful, but I'm not sure it could 
>> be done at runtime
> 
> I would go in the directly of IDispatch. COM object querying.

What are the cross-platform implications of that? Presumably once an MIB 
description had been parsed it could be written out in any number of forms.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list