[mrtg] How to monitor ipsec vpn in mrtg

Stuart J. Browne sjbrowne at bluebottle.com
Fri Mar 30 05:50:56 CEST 2007

> -----Original Message-----
> From: Amos Shapira
> Sent: Friday, March 30, 2007 12:56 PM
> To: mrtg at lists.oetiker.ch
> Subject: Re: [mrtg] How to monitor ipsec vpn in mrtg
> On 30/03/07, Craig Metzer <ucantspamthis at hotmail.com> wrote:
> > What I do is write a script to walk the Tunnel Index:
> > and then loop through all the 
> instances to
> > build the respective graphs for whichever measurement you 
> want to make.  You
> > can do all that in the host template.
> Hi Craig,
> About that "host template" that you mention - could you elaborate
> about this? (format, documentation, how-to's, whatever)?
> I've been looking for template solutions for MRTG and so far came up
> with nothing.

Look at 'cfgmaker --host-template <templatefile>'.

We use them extensivly here.. Simply put, they allow you to do custom
actions for every host to generate a more dynamic mrtg configuration.


More information about the mrtg mailing list