[mrtg] Chart never moves.

Gary W. Smith gary at primeexalia.com
Sun Feb 4 07:22:04 CET 2007


I'm having a problem where no data is being incremented in the logs and
not being reflected in the charts.  You can see that the data is
changing but nothing is happening.  These are large counter values
returned from perl.  Any way to fix this?

HtmlDir: /exports/mrtg/www
Imagedir: /exports/mrtg/www/images
LogDir: /exports/mrtg/logs
Options[_]:
growright,pngdate,noborder,noarrow,nobanner,nolegend,transparent,absolut
e
Step[_]: 120
Title[_]: External Traffic Analysis
PageTop[_]: <H1>External Traffic Analysis</H1>
WithPeak[_]: dwmy 
XSize[_]: 250
YSize[_]: 100
Colours[_]: DARKGRAY#999999,DARKBLUE#000099,GRAY#CCCCCC,BLUE#0000FF
Background[_]: #ffffff
Forks: 6
SingleRequest: Yes


Target[29.32.43.12]: `/exports/mrtg/scripts/iptraffic.pl 29.32.43.12 `
MaxBytes[29.32.43.12]: 10000000

WHERE the numbers are the bytes represented by iptables -L -nvx (plug
some filtering).
#/exports/mrtg/scripts/iptraffic.pl 29.32.43.12
56398531834
441271776779
43
29.32.43.12

The log changes from run to run, but this is what happens:
Run A:
1170569965 56407473157 441332183667
1170569965 0 0 0 0
1170569840 0 0 0 0

Run B:
1170569978 56409237972 441344216241
1170569978 0 0 0 0
1170569965 0 0 0 0



More information about the mrtg mailing list