<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:o365IconsIE8;}
@font-face
{font-family:o365IconsMouse;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.ms-cui-menu, li.ms-cui-menu, div.ms-cui-menu
{mso-style-name:ms-cui-menu;
margin:0cm;
margin-bottom:.0001pt;
background:white;
border:none;
padding:0cm;
font-size:10.0pt;
font-family:"Segoe UI",sans-serif;
color:#333333;}
p.ms-cui-menusection-title, li.ms-cui-menusection-title, div.ms-cui-menusection-title
{mso-style-name:ms-cui-menusection-title;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
display:none;}
p.ms-cui-ctl, li.ms-cui-ctl, div.ms-cui-ctl
{mso-style-name:ms-cui-ctl;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:#333333;}
p.ms-cui-ctl-on, li.ms-cui-ctl-on, div.ms-cui-ctl-on
{mso-style-name:ms-cui-ctl-on;
margin:0cm;
margin-bottom:.0001pt;
background:#CDE6F7;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.ms-cui-img-cont-float, li.ms-cui-img-cont-float, div.ms-cui-img-cont-float
{mso-style-name:ms-cui-img-cont-float;
margin-top:1.5pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.ms-cui-smenu-inner, li.ms-cui-smenu-inner, div.ms-cui-smenu-inner
{mso-style-name:ms-cui-smenu-inner;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.ms-owa-paste-option-icon, li.ms-owa-paste-option-icon, div.ms-owa-paste-option-icon
{mso-style-name:ms-owa-paste-option-icon;
margin-top:0cm;
margin-right:4.5pt;
margin-bottom:0cm;
margin-left:4.5pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.ms-rtepasteflyout-option, li.ms-rtepasteflyout-option, div.ms-rtepasteflyout-option
{mso-style-name:ms-rtepasteflyout-option;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.ms-cui-menusection, li.ms-cui-menusection, div.ms-cui-menusection
{mso-style-name:ms-cui-menusection;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.wf, li.wf, div.wf
{mso-style-name:wf;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.wf-family-owa, li.wf-family-owa, div.wf-family-owa
{mso-style-name:wf-family-owa;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:o365IconsMouse;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Times New Roman",serif;}
p.wf-owa-play-large, li.wf-owa-play-large, div.wf-owa-play-large
{mso-style-name:wf-owa-play-large;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.wf-size-play-large, li.wf-size-play-large, div.wf-size-play-large
{mso-style-name:wf-size-play-large;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.wf-owa-triangle-down-small, li.wf-owa-triangle-down-small, div.wf-owa-triangle-down-small
{mso-style-name:wf-owa-triangle-down-small;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.emailstyle17
{mso-style-name:emailstyle17;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.wf-family-owa1, li.wf-family-owa1, div.wf-family-owa1
{mso-style-name:wf-family-owa1;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:o365IconsIE8;}
p.wf-owa-play-large1, li.wf-owa-play-large1, div.wf-owa-play-large1
{mso-style-name:wf-owa-play-large1;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:white;}
p.wf-owa-play-large2, li.wf-owa-play-large2, div.wf-owa-play-large2
{mso-style-name:wf-owa-play-large2;
margin:0cm;
margin-bottom:.0001pt;
text-align:center;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:white;}
p.wf-size-play-large1, li.wf-size-play-large1, div.wf-size-play-large1
{mso-style-name:wf-size-play-large1;
margin:0cm;
margin-bottom:.0001pt;
font-size:22.5pt;
font-family:"Times New Roman",serif;}
p.wf-size-play-large2, li.wf-size-play-large2, div.wf-size-play-large2
{mso-style-name:wf-size-play-large2;
margin:0cm;
margin-bottom:.0001pt;
font-size:22.5pt;
font-family:"Times New Roman",serif;}
p.wf-owa-triangle-down-small1, li.wf-owa-triangle-down-small1, div.wf-owa-triangle-down-small1
{mso-style-name:wf-owa-triangle-down-small1;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:#666666;}
span.EmailStyle40
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Hello Mike,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Indeed, “use Net_SNMP_util” solved my issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Thx for explaining how this issue occurs and how to solve it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Knowing this, I wonder how MRTG, that is using these SNMP libs, is dealing with this kind of data. I guess not in the correct way.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Kind Regards and have a great day<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Marc Engrie<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Mike Mitchell [mailto:Mike.Mitchell@sas.com]
<br>
<b>Sent:</b> Monday, December 08, 2014 10:24 PM<br>
<b>To:</b> Marc Engrie<br>
<b>Subject:</b> RE: SNMP_util.pm problem<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">I don't believe this is a problem with SNMP_util.pm<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">If we compare the two returned values, the "working" one ends with<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">04 01 30<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">and the "non-working" one ends with<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">42 05 00 ff ff ff ff<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">These are BER-encoded values. BER encoding starts with a data-type byte, then a length byte, followed by the data. A data-type of '04' is an octet-string, in other words a series of ASCII-printable
bytes. So '04 01 30' says 'a one-byte string, hex 30'. Hex 30 is ascii '0'.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">A data-type of 42 is "Application integer". So '42 05 00 ff ff ff' says 'an integer, five bytes long, value 0x00ffffff'.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">No wonder you get different values printed. The two are in different data formats.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">SNMP_util.pm is just a wrapper for SNMP_Session.pm. It is SNMP_Session.pm and BER.pm that are doing all the work.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">There is also Net_SNMP_util.pm, with the exact same API as SNMP_util.pm. You could try using Net_SNMP_util.pm by just replacing the "use SNMP_util" line with "use Net_SNMP_util". Net_SNMP_util.pm
is a wrapper for Net::SNMP, a different implementation of SNMP. You'll have to install the Net::SNMP perl module if you haven't already.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black">Mike Mitchell<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:"Courier New";color:#212121">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> mrtg <<a href="mailto:mrtg-bounces+mike.mitchell=sas.com@lists.oetiker.ch">mrtg-bounces+mike.mitchell=sas.com@lists.oetiker.ch</a>> on behalf of Marc Engrie <<a href="mailto:marc.engrie@sanoma.com">marc.engrie@sanoma.com</a>><br>
<b>Sent:</b> Monday, December 8, 2014 1:40 AM<br>
<b>To:</b> <a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a><br>
<b>Subject:</b> [mrtg] SNMP_util.pm problem</span><span style="font-size:10.0pt;font-family:"Courier New";color:#212121">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#212121"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#212121">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">I have been using MRTg and related lib for year now without problems but now I come against something strange and my guess is it is due to 64 bit integers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">I have been using the SNMP informant tool up to version 2013 without issues to query Windows machines for several info’s. 2013 was 32 bit oriented. The new version, 2014, is 64bit oriented.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">When I use SNMP_util (version 1.15) in my own Perl scripts to query the CPU instances it returns me up nicely all instances when query is against version 2013.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Eg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">$VAR1 = [for CPU's ...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> '1.48:0',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> '1.49:1',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> '6.95.84.111.116.97.108:_Total'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> ];<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">When I use SNMP_util to query the CPU instances it returns me higher values when query is against version 2014.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">$VAR1 = [for CPU's ...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> '1.48:4294967295',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> '1.49:4294967295',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> '6.95.84.111.116.97.108:4294967295'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> ];<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">One would think that the problem is due to SNMP Informant but when I use GetIf, or Mib Browser from MG-soft or Mib Browser from ManageEngine, they all return me the ‘right’ values: 0, 1, …<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Using ManageEngine, one can debug the data and there I see that the return packet from the 2013 look like this<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Type: GET. RequestID: 54 to "10.2.144.33:161".</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Time: Mon Dec 01 09:09:06:748 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 40</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 26 02 01 00 04 06 70 75 62 6c 69 63 a0 19 02 01 36 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 0e 30 0c 06 08 2b 06 01 02 01 01 02 00 05 00</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Type: GETNEXT. RequestID: 55 to "10.2.144.33:161".</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Time: Mon Dec 01 09:09:06:748 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 44</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 2a 02 01 00 04 06 70 75 62 6c 69 63 a1 1d 02 01 37 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 12 30 10 06 0c 2b 06 01 04 01 cb 00 01 02 41</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">01 01 05 00</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121"> </span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Packet from: 10.2.144.33:161 RequestID: 54</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Received Time: Mon Dec 01 09:09:06:748 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 52</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA:</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 32 02 01 00 04 06 70 75 62 6c 69 63 a2 25 02 01 36 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 1a 30 18 06 08 2b 06 01 02 01 01 02 00 06 0c</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">2b 06 01 04 01 82 37 01 01 03 01 02</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121"> </span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121"> </span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Packet from: 10.2.144.33:161 RequestID: 55</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Received Time: Mon Dec 01 09:09:07:622 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 47</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA:</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 2d 02 01 00 04 06 70 75 62 6c 69 63 a2 20 02 01 37 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 15 30 13 06 0e 2b 06 01 04 01 cb 00 01 02 41</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">01 01 01 30 04 01 30</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> While looking at a 2014 result it looks like
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Type: GET. RequestID: 49 to "10.2.144.155:161".</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Time: Mon Dec 01 09:08:34:673 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 40</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 26 02 01 00 04 06 70 75 62 6c 69 63 a0 19 02 01 31 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 0e 30 0c 06 08 2b 06 01 02 01 01 02 00 05 00</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Type: GETNEXT. RequestID: 50 to "10.2.144.155:161".</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Sent Time: Mon Dec 01 09:08:34:673 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 44</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 2a 02 01 00 04 06 70 75 62 6c 69 63 a1 1d 02 01 32 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 12 30 10 06 0c 2b 06 01 04 01 cb 00 01 02 41</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">01 01 05 00</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121"> </span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Packet from: 10.2.144.155:161 RequestID: 49</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Received Time: Mon Dec 01 09:08:34:673 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 52</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA:</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 32 02 01 00 04 06 70 75 62 6c 69 63 a2 25 02 01 31 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 1a 30 18 06 08 2b 06 01 02 01 01 02 00 06 0c</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">2b 06 01 04 01 82 37 01 01 03 01 02</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121"> </span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121"> </span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Packet from: 10.2.144.155:161 RequestID: 50</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Received Time: Mon Dec 01 09:08:34:689 CET 2014</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">Length of SNMP DATA: 51</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">DATA:</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">30 31 02 01 00 04 06 70 75 62 6c 69 63 a2 24 02 01 32 02 01</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">00 02 01 00 30 19 30 17 06 0e 2b 06 01 04 01 cb 00 01 02 41</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New";color:#212121">01 01 01 30 42 05 00 ff ff ff ff</span><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">And there I see that an extra </span><span style="font-family:"Courier New";color:#212121">ff ff ff ff</span><span style="font-family:"Calibri Light",sans-serif;color:#212121"> </span><span style="color:#212121">is
return which SNMP_util interpretes in a different way.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Is there a way to tell SNMP_util that it needs to handle this kind of data as 64 bit integer, as I guess this is a 64 bit integer) and not as something else?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Thx for helping me to solve this puzzle of 32 & 64 bit stuff.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-family:"Verdana",sans-serif;color:teal">Marc Engrie</span></i></b><span style="color:black"><br>
</span><i><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">ICT Infrastructure Manager</span></i><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">Tel: +32 15 67 8398</span></i><span style="color:black"><br>
</span><i><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">GSM: +32 476 52 35 45</span></i><span style="color:#212121"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>