On 14 June 2012 10:41, Magda Stefan <[email protected]> wrote:
> When I used the mib2c framework to generate the subagent,
> in the C code there was no LOAD, FREE,
That is too vague to be meaningful.
mib2c can be used to generate all sorts of types of output,
which may or may not include LOAD or FREE support.
Please give details of the exact mib2c command you used.
i.e. what options you specified.
> methods so I copied from the old one
> and modified them
"modified them"? How? What changes did you make?
Are we expected to guess? Or read your mind?
> but when I run the agent for each request it gives me this
> error "No such instance currently exists at this oid".
What was the request that triggers this error?
Again - if you don't give any details about *exactly* what
you are doing, then we really can't help.
> I've checked and the
> problem is somewhere in the handler:
>
> case COLUMN_NETSNMPPRVOWD:
> if (!table_entry) {
> netsnmp_set_request_error(reqinfo, request,
> SNMP_NOSUCHINSTANCE);
>
> Please help me with a suggestion:
Is the cache being loaded when you send a request?
What debug output is generated?
What is the exact request that you are sending?
Dave
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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