From: Date: Wed, 17 Mar 2010 17:54:44 -0500 Message-id: <1268866484706506500@...1315...> In-reply-to: <201003172238.23604.dave_br@...1278...> References: <1268855205316802500@...1315...> <201003172238.23604.dave_br@...1278...> MIME-version: 1.0 Content-type: multipart/alternative; boundary="===axigen=4750486675558971044774438364566234181202=axigen===" Subject: Re: [Openvpn-devel] Bytecount Reporting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Davide Brini Cc: openvpn-devel@lists.sourceforge.net This is a MIME message. You may need a MIME compliant mail user agent. --===axigen=4750486675558971044774438364566234181202=axigen=== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Davide, =20 Yes, that makes sense - and I was going to do that originally, but I figure= d the real-time bytecount would result in less traffic (and text parsing). = One question though ... you say "status file". Do you really mean a file? I= can execute the status command over the Management Interface, but it's rea= lly a telnet type response, not in a file. =20 Thanks, ... Russell On Wed, Mar 17, 2010 05:38 PM, Davide Brini wrote: >=20 On Wednesday 17 March 2010, openvpn@...1315... wrote: >=20 > > I am trying to write an application that monitors traffic over an OpenV= PN > > link - by using bytecount information from the management interface. > > However, after I telnet in, and enter "bytecount 1" (for 1 second > > updates), I find that the real-time bytecount updates are not really ev= ery > > second. They seem to be initially, but soon slow down (to an update eve= ry > > 5-10 seconds). >=20 > Sorry for avoiding a direct answer to the question (David has already=20 > addressed that quite well), but I just wanted to tell you that you can ge= t=20 > byte counts from OpenVPN's status file, ie the one you specify with "-- > status". I used that in the past to monitor clients and traffic (it was=20 > actually a Munin plugin that read the file and collected the data). > That said, it might not suit your requirements, but I thought I mentioned= that=20 > just in case. >=20 > -- > D. >=20 > -------------------------------------------------------------------------= ----- > Download Intel=C2=AE Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Openvpn-devel mailing list > Openvpn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-devel >=20= --===axigen=4750486675558971044774438364566234181202=axigen=== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi Davide,

 

Yes, that makes sense - and I was going to do that originally, but I fig= ured the real-time bytecount would result in less traffic (and text parsing= ). One question though ... you say "status file". Do you really mean a file= ? I can execute the status command over the Management Interface, but it's = really a telnet type response, not in a file.

 

Thanks,

... Russell



On Wed, Mar 17, 2010 05:38 PM, Davide Brini <dave_b= r@...1278...> wrote:

On Wednesday 17 Marc= h 2010, openvpn@...1186...= .1315... wrote:

> I am trying to write an application that mo= nitors traffic over an OpenVPN
> link - by using bytecount informatio= n from the management interface.
> However, after I telnet in, and en= ter "bytecount 1" (for 1 second
> updates), I find that the real-time= bytecount updates are not really every
> second. They seem to be ini= tially, but soon slow down (to an update every
> 5-10 seconds).
Sorry for avoiding a direct answer to the question (David has already addressed that quite well), but I just wanted to tell you that you can get=
byte counts from OpenVPN's status file, ie the one you specify with "-= -
status". I used that in the past to monitor clients and traffic (it wa= s
actually a Munin plugin that read the file and collected the data).That said, it might not suit your requirements, but I thought I mentioned= that
just in case.

--
D.

------= ------------------------------------------------------------------------Download Intel&#174; Parallel Studio Eval
Try the new software tool= s for yourself. Speed compiling, find bugs
proactively, and fine-tune ap= plications for parallel performance.
See why Intel Parallel Studio got h= igh marks during beta.
http://p.sf.net/sfu/intel-sw-dev_______________________________________________
Openvpn-devel mailing l= ist
Openvpn-devel@lists.sourceforge.net
https://lists.so= urceforge.net/lists/listinfo/openvpn-devel
= --===axigen=4750486675558971044774438364566234181202=axigen===--