I've written on the net-snmp-users list about my desire to implemement a
stand-alone Net-SNMP-based PPP subagent and, as far as I've seen, not
gotten any advice or feedback on how my subagent can implement ifTable
given restrictions and complications on how ifNumber is handled. I'm
now down to the wire and have to get my MIB implemented. I imagine I'm
going to have to cut corners to make deadline and I'd be more
comfortable cutting those corners if I knew I had a chance of cleaning
up later. I'd appreciate some feedback on how likely my cleanup plan is
to succeed from those more familiar with Net-SNMP internals.
To recap my previous question, I have an existing subagent which
provides an instance of ifTable (and ifNumber) and I want to implement a
section of ifTable in separate PPP-specific subagent. The RFC for
AgentX notes that merging such counted tables from older MIBs can't be
done wholely within the AgentX protocol. I'm perfectly willing to have
a Net-SNMP-specific solution and would welcome brainstorming on what
out-of-band mechanism might be used to allow snmpd to merge two ifTable
sections and show one table to SNMP management stations. Ideally, I'd
patch the Net-SNMP agent to see multiple offers to provide ifTable and
to sum the ifNumbers and merge the ifTable records. An less-ideal
alternative would be to have subagents which want to provide sections of
ifTable somehow tell snmpd explicitly that they wish to do so and have
snmpd react accordingly. But I don't know enough of snmpd internals to
judge whether either of these approaches can work or be done in less than a
man-decade of coding. Is this a fairly local change or does it affect
lots of code?
With that background, I'm not forced to consider putting my PPP-specific
code in my existing ifTable implementation so that the SNMP management
station sees the "correct" view of PPP as just another ifTable entry.
I'd feel more comfortable doing that now if I thought the changes
described in the previous paragraph were tenable and I could hope in the
future to put the PPP support in a separate subagent and patch up snmpd.
I'm not asking anyone else to do that patching -- now or later -- just
for some feedback now whether such a patch would be accepted and how
hard it would be to implement (and some insight later into how and where
to make the changes).
Thanks.
Chris
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders