[fpc-pascal] SNMP and MIBs
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Sat Jan 29 13:29:14 CET 2011
Jeppe Johansen wrote:
> Den 29-01-2011 11:48, Marco van de Voort skrev:
>> In our previous episode, Michael Van Canneyt said:
>>>> Noted previous mention of TSNMPSend etc., but has anybody ever
>>>> looked at
>>>> compiling an MIB into an FPC object for use with RTTI?
>>> MIB = Men In Black ?
>> 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 can definitely see why it would be useful, but I'm not sure it could
> be done at runtime
There's at least one MIB compiler written in Perl which could probably
be transcribed. If the output were a Pascal file containing objects
which were instantiated as necessary presumably it could be compiled
into a DLL/so.
There seems to be a limited choice of Network Management Software,
unless you want it in Java or only with a web interface. I use an old
one from Compaq but it's Win-32 only and wants a particular version of
the BDE.
This is /not/ something that I had the remotest intention of looking at...
--
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