Hi,

I'm trying to finish out a simple mfd agent, and I've hit a hole
(probably in my head).  I'm working with 5.3 on 32-bit FC5, using the
Fedora RPMs.  My goal is to implement the standard IF-MIB with a bunch
of spoofed data, so a linux box can appear to be an arbitrarily complex
network device, like an enterprise router.

I worked through the mib2c tutorial, implemented a local store to feed
into the agent.  The resulting ifTable agent works as advertised, if I
run 

% ifTable -M -L -f -DifTable myhost:161

I'm able to walk the tablea dn find all my made-up data.  I'd now like
to connect my fake table into the master agent, my pref (gut feel only)
is to use agentX.  I've enabled agentX in the snmpd (I see the message
"Turning on AgentX master support.").  I run the ifTable agent and see
in the output:

NET-SNMP version 5.3 AgentX subagent connected
registering pdu failed: 263!

When I walk the master agent, I see the mib-2 info, but to ifTable data.
I've scanned through the tutorial, which helped me get the table up and
running, but I can't find the info where the rest of the MIB (like
ifNumber) gets implemented through mib2c.  My guess is the MIB data
outside of my table implementation is missing, and that's why the master
agent isn't passing down the getnext commands.

Thanks.


This message (including any attachments) contains confidential 
and/or proprietary information intended only for the addressee.  
Any unauthorized disclosure, copying, distribution or reliance on 
the contents of this information is strictly prohibited and may 
constitute a violation of law.  If you are not the intended 
recipient, please notify the sender immediately by responding to 
this e-mail, and delete the message from your system.  If you 
have any questions about this e-mail please notify the sender 
immediately. 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to