Re: snmpwalk on table works but snmpget on the same fails

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJU=BNMYedmE+3L309KhmmSuJGuQ9hN9xQW_CnwbUGaASA@mail.gmail.com>
Hi Pranesh,

1) Check SNMP agent is running or not
<pushpa>  SNMP agent is running </pushpa>
 2) check with snmpgetnext
<pushpa> snmpgetnext works </pushpa>

On Mon, Sep 21, 2015 at 7:11 AM, Pranesh Kulkarni <[email protected]>
wrote:

> 1) Check SNMP agent is running or not
>  2) check with snmpgetnext
>
> On Mon, Sep 21, 2015 at 7:29 PM, Pushpa Thimmaiah <
> [email protected]> wrote:
>
>> Hi,
>>
>> I have defined new mib table and generated corresponding .c and .h file
>> using tool 'mib2c'.
>> I am able to walk on the newly created mib table
>>
>> test$ snmpwalk -m ALL -M ~/mibs -v 2c -c pushpa 192.168.107.26
>> MIBMODULE::newTable
>> MIBMODULE::newtableElement1.339787776.1 = INTEGER: 24
>> MIBMODULE::newtableElement2.339787776.1 = INTEGER: 1
>> MIBMODULE::newtableElement3.339787776.1 = INTEGER: 36
>>
>>
>> $ snmpget -m ALL -M ~/mibs -v 2c -c pushpa 192.168.107.26
>> MIBMODULE::newtableElement1.339787776.1
>>
>> MIBMODULE::newtableElement1.339787776.1= No Such Instance currently
>> exists at this OID
>>
>>
>> Kindly let me know how to debug the issue.
>>
>>
>> Thanks and Regards,
>> Pushpa.T
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Thanks,
> Pranesh
>

------------------------------------------------------------------------------

_______________________________________________
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.