> I am trying to implement a MIB in C and add it to the agent.
> But I got:
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: UCD-SNMP-MIB::ucdavis.254.0
Can you query the agent for other objects in the UCD-SNMP-MIB ?
What happens if you try
snmpgetnext .... UCD-SNMP-MIB::ucdavis
?
If you can see things in that MIB:
a) it shows that access control isn't a problem
b) you should then be able to walk the UCD-SNMP-MIB::mrTable
and/or NET-SNMP-AGENT-MIB::nsModuleTable which should
indicate whether your example MIB is registered with the agent.
Do you see anything in those that you recognise?
> Reading the FAQ I got:
>
> Finally, the agent itself can be extended to support additional MIB
> groups.....
> This is covered further in the next section.
>
> It is not covered in the next section!!!
> The next section is:
> What's the difference between 'exec', 'sh' and 'pass'?
No - that's the next entry in the same section - the "AGENT" section.
What's being referred to here is the "CODING" section
(which is actually the next-but-one section after AGENT)
Dave
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders