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

Pranesh Kulkarni <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CACdN3Wd4S_i0EDGegae-Vf9-gfAF0FOfBn2neKbraiEYFn-5RQ@mail.gmail.com>
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.