[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-coders
Subject:    snmpwalk of Net Snmp throws the error " Wrong Type (should be Counter64): INTEGER: 27344896"
From:       Padmaja Sridharan <padmajasridharan90 () gmail ! com>
Date:       2013-10-31 5:35:57
Message-ID: CAPGG=M+G6WnnT+576uNH4JPzujjNuiY3DNY=QPewzVFKGTFQeg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi ,


We run snmpwalk of  net-SNMP 5.7.2 with Emanate SNMP agents on HPUX 11.31
ia64



We have customized MIB that has OID configuration(mounted filesystems) with
fileSystemBlock defined as Counter64. When run snmpwalk with that OID, it
gives the following message.



# snmpwalk -m HP-UNIX -v2c -c public localhost 1.3.6.1.4.1.11.2.3.1.2.2.1



…

HP-UNIX::fileSystemBlock.1073741825.0 = INTEGER:Wrong Type (should be
Counter64):  2048000

HP-UNIX::fileSystemBlock.1073741827.0 = Wrong Type (should be Counter64):
INTEGER: 27344896

HP-UNIX::fileSystemBlock.1073741828.0 = Wrong Type (should be Counter64):
INTEGER: 8192

…



Can you please help with the following queries

1.       How data type of object is determined?

2.       What information is fetched by snmpwalk from emanate snmp agents?



Thanks for your help


Regards,

Padmaja

[Attachment #5 (text/html)]

<div dir="ltr"><p class="MsoNormal"><font color="#000000">Hi ,</font></p><p \
class="MsoNormal"><font color="#000000"><br></font></p><p class="MsoNormal"><font \
color="#000000">We run snmpwalk of  net-SNMP 5.7.2 with Emanate SNMP agents \
on</font><span style="color:rgb(31,73,125)"> </span>HPUX 11.31 ia64</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">We have customized MIB that has OID configuration(mounted
filesystems) with fileSystemBlock defined as Counter64. When run snmpwalk with
that OID, it gives the following message.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"># snmpwalk -m HP-UNIX -v2c -c public localhost
1.3.6.1.4.1.11.2.3.1.2.2.1</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">…</p>

<p class="MsoNormal">HP-UNIX::fileSystemBlock.1073741825.0 = INTEGER:Wrong Type \
(should be Counter64):  2048000</p>

<p class="MsoNormal">HP-UNIX::fileSystemBlock.1073741827.0 = Wrong Type (should
be Counter64): INTEGER: 27344896</p>

<p class="MsoNormal">HP-UNIX::fileSystemBlock.1073741828.0 = Wrong Type (should
be Counter64): INTEGER: 8192</p>

<p class="MsoNormal">…</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Can you please help with the following queries</p>

<p class="" style>1.<span style="font-size:7pt;font-family:&#39;Times New \
Roman&#39;">       </span>How data type of object is determined? </p>

<p class="" style>2.<span style="font-size:7pt;font-family:&#39;Times New \
Roman&#39;">       </span>What information is fetched by snmpwalk from emanate snmp \
agents?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks for your help</p><p class="MsoNormal"><br></p><p \
class="MsoNormal">Regards,</p><p class="MsoNormal">Padmaja </p>

<p class="MsoNormal"> </p></div>



------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic