[rrd-users] mrtg-traffic-sum issue
Tobias Oetiker
tobi at oetiker.ch
Sun Aug 3 10:52:48 CEST 2008
Hi R,
the catch has no braces ... try
mrtg-traffic-sum --catch="(.*eth.*)" --min=1 /backup/mrtg-2/mrtg/mrtg.cfg
Today R Dicaire wrote:
> Hi folks...Running mrtg-traffic-sum --catch=".*eth.*" --min=1
> /backup/mrtg-2/mrtg/mrtg.cfg
> I get the following:
>
> Use of uninitialized value in sprintf at
> /backup/mrtg-2/bin/mrtg-traffic-sum line 97.
> Use of uninitialized value in sprintf at
> /backup/mrtg-2/bin/mrtg-traffic-sum line 97.
> Use of uninitialized value in sprintf at
> /backup/mrtg-2/bin/mrtg-traffic-sum line 97.
> Use of uninitialized value in sprintf at
> /backup/mrtg-2/bin/mrtg-traffic-sum line 97.
> Use of uninitialized value in sprintf at
> /backup/mrtg-2/bin/mrtg-traffic-sum line 97.
> Use of uninitialized value in sprintf at
> /backup/mrtg-2/bin/mrtg-traffic-sum line 97.
> Subject: Traffic total for '/backup/mrtg-2/mrtg/mrtg.cfg' (1.8) 2008/07
>
> Start: Tue Jul 1 00:00:00 2008
> End: Thu Jul 31 23:59:59 2008
> Interface In+Out in GB
> ------------------------------------------------------------------------------
> 15
> 170
> 165
> 8
> 219
> 39
>
> Is this a bug in the script, or incorrect usage on my part?
>
> mrtg-2.16.1
>
> perl --version
> This is perl, v5.8.6 built for i486-linux
>
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users
mailing list