[collectd] [PATCH] OpenVPN plugin

Doug MacEachern Doug.MacEachern at hyperic.com
Thu Jan 15 02:35:53 CET 2009


> -----Original Message-----
> From: Florian Forster [mailto:octo at verplant.org]
> Sent: Saturday, January 10, 2009 6:22 AM
> To: Doug MacEachern
> Cc: collectd at verplant.org
> Subject: Re: [collectd] [PATCH] OpenVPN plugin
> 
> Hi Doug,
> 
> On Fri, Jan 02, 2009 at 01:48:47PM -0500, Doug MacEachern wrote:
> > > thanks a lot for your plugin :) Unfortunately, my version of
> OpenVPN
> > > (2.0.9-4etch1) doesn't print client lists yet :/
> >
> > Hmm, is that due to version or config?
> > I thought it has been around since 2004.10.28 -- Version 2.0-beta15:
> 
> Config: The client-list comes from the `multi' module, which I don't
> use; I'm using a simple point-to-point setup.
> 
> I only get the basic statistics (anything up to and including `Auth
> read
> bytes') and the statistics provided by the LZO module:
> -- 8< --
>  OpenVPN STATISTICS
>  Updated,Sat Jan 10 13:38:39 2009
>  TUN/TAP read bytes,40890145
>  TUN/TAP write bytes,263550002
>  TCP/UDP read bytes,176683637
>  TCP/UDP write bytes,46685004
>  Auth read bytes,263551082
>  pre-compress bytes,19441208
>  post-compress bytes,18400792
>  pre-decompress bytes,140660826
>  post-decompress bytes,243595819
>  END
> -- >8 --
> 
> I think the TUN/TAP and TCP/UDP stats are sufficiently handled by the
> `interface' and `netlink' plugins. Do you (or anybody else) think the
> LZO statistics (such as the compression ratio) are worth collecting?

Hmm, in our setup we don't have those stats, not sure if they'd worth
collecting.

> > Yes, this is correct.  The options can also be in the
> > openvpn/server.conf:
> > status-version 2
> > status openvpn-status.log
> 
> Yeah, but I think it's okay to leave that to the openvpn(8) manual
page
> to explain ;)

Agreed :)
 
> Regards,
> -octo
> --
> Florian octo Forster
> Hacker in training
> GnuPG: 0x91523C3D
> http://verplant.org/



More information about the collectd mailing list