Re: Local snmpwalk fails with Unknown Object Identifier

Oliver Graute <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CA+KjHfbeb5ARAJTn1eT2HZ3Dcj_XOxEzeh9QJnNZFLLnPLZ+XA@mail.gmail.com>
Hello,

here some additional infos:

If I snmpwalk via the OID Number it is also working:

snmpwalk -v3 -m ALL -M /home/graute/snmp/mibs -n "" -u admin -a SHA -A
"12345678" -x AES -X "12345678" -l authPriv 127.0.0.1 1.3.6.1.2.1

And I see this:
snmpwalk -v3 -m ALL -M /home/graute/snmp/mibs -n "" -u admin -a SHA -A
"12345678" -x AES -X "12345678" -l authPriv 127.0.0.1 1.3.6.1.2.1
.1.3.6.1.2.1.1.1.0 = STRING: "TAINY-iQ"
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.8072.3.2.10
.1.3.6.1.2.1.1.3.0 = Timeticks: (148116) 0:24:41.16
.1.3.6.1.2.1.1.4.0 = STRING: "[email protected]"
.1.3.6.1.2.1.1.5.0 = STRING: "TAINY-iQ"
.1.3.6.1.2.1.1.6.0 = STRING: "Dr. Neuhaus Telekommunikation GmbH"
.1.3.6.1.2.1.1.8.0 = Timeticks: (29) 0:00:00.29
.1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.6.3.11.3.1.1
.1.3.6.1.2.1.1.9.1.2.2 = OID: .1.3.6.1.6.3.15.2.1.1
.1.3.6.1.2.1.1.9.1.2.3 = OID: .1.3.6.1.6.3.10.3.1.1
.1.3.6.1.2.1.1.9.1.2.4 = OID: .1.3.6.1.6.3.1
......

But the same via the MIB is still not working:

snmpwalk -v3 -m ALL -M /home/graute/snmp/mibs -n "" -u admin -a SHA -A
"12345678" -x AES -X "12345678" -l authPriv 127.0.0.1 system.0
system.0: Unknown Object Identifier (system.0)

Best regards,

Oliver

On Tue, Jun 23, 2015 at 3:14 PM, Oliver Graute <[email protected]> wrote:
> Hello,
>
> I observe a strange problem with net-snmp while retrieving a subtree
> with snmpwalk:
>
> On the Target Host itself I got a Unknown Object Identifier Error Message..
>
> snmpwalk -v3 -m ALL -M /usr/share/snmp/mibs -n "" -u admin -a SH
> A -A "12345678" -x AES -X "12345678" -l authPriv localhost TAINY-MIB::tainyMIBOb
> jects
> TAINY-MIB::tainyMIBObjects: Unknown Object Identifier
> (TAINY-MIB::tainyMIBObjects)
>
> The same command from a Remote Host to the Target is working like expecting:
>
> snmpwalk -v3 -m ALL -M /home/graute/snmp/mibs -n "" -u admin -a SHA -A
> "12345678" -x AES -X "12345678" -l authPriv 192.168.1.8:161
> TAINY-MIB::tainyMIBObje
> cts
>
> snmpwalk -v3 -m ALL -M /home/graute/snmp/mibs -n "" -u admin -a SHA -A
> "12345678" -x AES -X "12345678" -l authPriv 192.168.1.8:161
> TAINY-MIB::tainyMIBObje
> cts
> TAINY-MIB::tainyCSQ = INTEGER: 99
> TAINY-MIB::tainyLACCID = ""
> TAINY-MIB::tainyWirelessWANIP = ""
> TAINY-MIB::tainyAccessTechnology = INTEGER: 0
> TAINY-MIB::tainyAccessTechnologyString = STRING: "Access Technology Unknown"
> TAINY-MIB::tainyWirelessNetWorkConnected = INTEGER: 0
> TAINY-MIB::tainyWirelessWANOnline = INTEGER: 0
> TAINY-MIB::tainyIMEI = ""
> TAINY-MIB::tainyIMSI = ""
> TAINY-MIB::tainyICCID = ""
> TAINY-MIB::tainyDNS1 = ""
> TAINY-MIB::tainyDNS2 = ""
> TAINY-MIB::tainyDNS3 = ""
>
> ...
>
> Some ideas whats is going wrong here?
>
> The TAINY-MIB is a self created MIB and is stored in  /usr/share/snmp/mibs
>
> /usr/bin/snmpwalk -V
> NET-SNMP version: 5.7.3
>
> Best regards,
>
> Oliver

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
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.