My system is working with 5.4.2.1 and we are using net-snmp as a thread 
on fedora.
When i am doing a query on  agent it is going to the below part of code :

      /*
         * Deal with unhandled results -> noSuchInstance (rather
         * than noSuchObject -- in that case, the type will
         * already have been set to noSuchObject when we realised
         * we couldn't find an appropriate tree).
         */
        if (status == SNMP_ERR_NOERROR)
            snmp_replace_var_types(asp->pdu->variables, ASN_NULL,
                                   SNMP_NOSUCHINSTANCE);

Want to know why the request is going here. Is my table is registered 
properly in the tree.

Regards,
Manjit

Niels Baggesen wrote:
> Den 09-03-2011 10:08, Manjit skrev:
>> I am using net-snmp 5.4.2.1 .
>> For my system i need to support ipNetToMediaTable and ipNetToMedia table
>> both.
>> When i am doing a walk on these two tables i am only getting values for
>> ipNetToPhysicalTable.
>>
>> But ipNetToMediaTable returns nothing.
>> [root@pactprov cli]#  /opt/servers/netsnmp/bin/snmpwalk  -On -v 2c -c
>> private 172.16.8.186 ipNetToMediaTable
>> .1.3.6.1.2.1.4.22 = No Such Instance currently exists at this OID
>
> What OS? How did you configure? (and why are you using 5.4.2.1 which 
> is rather old)
>
> /Niels
>


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to