>>>>> On Wed, 24 May 2006 10:32:53 -0400, [EMAIL PROTECTED] said:

cnelson> I've written on the net-snmp-users list about my desire to
cnelson> implemement a stand-alone Net-SNMP-based PPP subagent and, as
cnelson> far as I've seen, not gotten any advice or feedback on how my
cnelson> subagent can implement ifTable given restrictions and
cnelson> complications on how ifNumber is handled.  I'm now down to
cnelson> the wire and have to get my MIB implemented.  I imagine I'm
cnelson> going to have to cut corners to make deadline and I'd be more
cnelson> comfortable cutting those corners if I knew I had a chance of
cnelson> cleaning up later.  I'd appreciate some feedback on how
cnelson> likely my cleanup plan is to succeed from those more familiar
cnelson> with Net-SNMP internals.

Sorry for the delay, but you have hit a complex question that makes it
harder for us to answer than you'd like (and hence no one has answered
you yet).

But you're not going to like the answer anyway, because it's "no you
can't do that".  There is no way to get the correct ifNumber count
when you have a subagent implementing a portion of the ifTable.

The best alternative, unfortunately, is to have the master agent
communicate with your PPP daemon not over agentx to collect the
interface rows but to instead use some other communication mechanism
(RPC, shared memory, whatever) and modify the master agent to collect
those devices when returning answers for the ifTable.

Merging tables generally sucks.  AgentX promises to help out with
that, and it does work in some cases, but it's hard to implement and
isn't as widely supported as it should be.  In our case, row-merging
isn't well tested either.
-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
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

Reply via email to