Looking for simple was to generate sub agent for a table.

"Neil Shelford" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

 

I'm trying to create a simple agent for a table I've create.  I want to
have the table data stored in the agent.  I've generated agent code
using the following command:

 

>> mib2c -c mib2c-dataset.conf testable.c

 

And built the agent using:

 

>> net-snmp-config -compile-subagent testAgent testable.c

 

I start master and sub agents:

 

>> snmpd       (containing master agentx in the snmpd.conf)

>> testAgent -DtestTable

 

The testAgent returns "registering PDU failed 263!"  None of the
snmpget, snmpset or snmpwalk work. ("No such object available on this
agent at this oid")

Does anyone know the reason why this error might be occurring?  Or the
easiest method to create a sub agent for a table?

 

Regards,

Neil.



This e-mail from Ultra Electronics Limited and any attachments to it are confidential to the intended recipient and may also be privileged.  If you have received it in error please notify the sender and delete it from your system.  If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person.  All communications may be subject to interception or monitoring for operational and/or security purposes.  Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection.  Ultra Electronics Limited is a company registered in England and Wales, registration number 2830644.  The address of its registered office is 417 Bridport Road, Greenford, Middlesex, UB6 8UA.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.