🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3965

How to read counter64 in IdSNMP

#3965
From: Mert CAN
Date: Tue, 10 May 2005 13:28
12 lines
1512 bytes
  I can read a 32 bit counter value by using the code below.
    snmp_mng->QuickSend("1.3.6.1.2.1.2.2.1.10.4","public","192.168.2.1",1);
     inoctet = StrToInt(snmp_mng->Reply->Value[0]);

  But I can't get the counter64 type value by using the code below? Is there 
a special way of reading it?
    snmp_mng->QuickSend("1.3.6.1.3.9999.1.2.1.3.5","public",pch_snmp,1);
    total_inoctet = snmp_mng->Reply->Value[0];

I captured the traffic. The response for my request for this OID is coming 
to my computer. Also other SNMP manager utilities can read the value of this 
OID but by using Indy 9, I couldn't read it. 
Technical Details
Message-ID: <4280ba31$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,85c530933f006885,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mert CAN" <sokrates1331@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: How to read counter64 in IdSNMP
Date: Tue, 10 May 2005 16:28:45 +0300
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 160.75.38.49
Message-ID: <4280ba31$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115732529 160.75.38.49 (10 May 2005 06:42:09 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail