[mrtg] (no subject)

Matthew Petach mpetach at yahoo.com
Thu Jun 12 18:35:36 CEST 2008


However, do note that you take a performance penalty
in dereferencing the symlink; so if you're pushing your
MRTG box hard, and disk I/O is a concern, doing this
will impact the amount of successfull polling you'll
be able to do; this will be most noticeable if you're
using log files instead of rrd files.

Matt

----- Original Message ----
From: Scott S. Heath <SHeath at udi.com>
To: Eric Brander <mailinglists at rednarb.com>; mrtg at lists.oetiker.ch
Sent: Thursday, June 12, 2008 7:37:24 AM
Subject: Re: [mrtg] (no subject)

Eric,

" And just a side note. I install my MRTG just as you did in /usr/local
however I create a symbolic link to it at /usr/local/mrtg and run
everything using that path. That way when there is a new version of
MRTG all I need to do is install it to its own directory and then
change the link."

That is a GREAT tip! I wish I would of thought of that when I installed
it...






-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Eric Brander
Sent: Thursday, June 12, 2008 9:29 AM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] (no subject)

On Thu, Jun 12, 2008 at 8:15 AM, Mark Tohill <Mark at u.tv> wrote:
> Hi,
>
> Can anyone give me a pointer as to what may be wrong with the
following?
>
> #UDP JITTER
>
>
Target[UDPJITTER-RTTLATEST]:`/usr/local/mrtg-2.13.1/bin/RTTSumIn`&`/usr/
local/mrtg-2.13.1/bin/RTTSumIn`:secret at 192.168.10.1
>

Mark,

Your syntax is wrong on the target line. Also, your external script
needs adjustment.

First, the script needs to output a minimum of 2 numbers.

Second, you only need to call the script once on the target line, with
no secret or address.

Target[UDPJITTER-RTTLATEST]:`/usr/local/mrtg-2.13.1/bin/RTTSumIn`

See http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html and search
for "External Monitoring Scripts".

And just a side note. I install my MRTG just as you did in /usr/local
however I create a symbolic link to it at /usr/local/mrtg and run
everything using that path. That way when there is a new version of
MRTG all I need to do is install it to its own directory and then
change the link.

HTH,

Eric Brander

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg



      



More information about the mrtg mailing list