[mrtg] help please
Benjamin Jeeves
benjamin_jeeves at yahoo.co.uk
Wed Jan 30 10:04:47 CET 2008
Hi All
I am using 14all.cgi and below is my mrtg config file. The target is a Perl script which returns two values- lest say 2895.45 and 27865.65 but when the graphs are drawn it always show with kPkts and with 2.895 and 2.786 I want it to show as 2895.45 Pkts and 27865.65 Pkts - I think Imust be going wrong in some place?
WorkDir: /var/www/mrtg
LogFormat: rrdtool
Target[haw-peak]: `/home/mdssup/hwthn-peak-thpt.pl`
PageTop[haw-peak]: <H1>MDS-HAWTHORN-LINK PEAK TEST</H1>
Options[haw-peak]: gauge,nopercent,noinfo,growright,absolute
Title[haw-peak]: MDS HAWTHORN Peak Pkts Thpt
MaxBytes[haw-peak]: 500000
kMG[haw-peak]: ,,
YLegend[haw-peak]: Peak Traffic
ShortLegend[haw-peak]: Pkts
Legend1[haw-peak]: In Pkts
Legend2[haw-peak]: Out Pkts
LegendI[haw-peak]: In Pkts Thpt
LegendO[haw-peak]: In Pkts Thpt
Directory[haw-peak]: link
Here is my rrd info
rrdtool info /var/www/mrtg/link/haw-peak.rrd
filename = "/var/www/mrtg/link/haw-peak.rrd"
rrd_version = "0003"
step = 300
last_update = 1201682702
ds[ds0].type = "GAUGE"
ds[ds0].minimal_heartbeat = 600
ds[ds0].min = 0.0000000000e+00
ds[ds0].max = 5.0000000000e+07
ds[ds0].last_ds = "UNKN"
ds[ds0].value = 5.6532000000e+03
ds[ds0].unknown_sec = 0
ds[ds1].type = "GAUGE"
ds[ds1].minimal_heartbeat = 600
ds[ds1].min = 0.0000000000e+00
ds[ds1].max = 5.0000000000e+07
ds[ds1].last_ds = "UNKN"
ds[ds1].value = 5.0514500000e+04
ds[ds1].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 800
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 800
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 8.4798000000e+03
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 7.5771750000e+04
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 800
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 2.5439400000e+04
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 2.2731525000e+05
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 800
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 2.9679300000e+05
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 2.6520112500e+06
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[4].cf = "MAX"
rra[4].rows = 800
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 800
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 2.8266000000e+03
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 2.5257250000e+04
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 800
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 2.8266000000e+03
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = 2.5257250000e+04
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 800
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 2.8266000000e+03
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 2.5257250000e+04
rra[7].cdp_prep[1].unknown_datapoints = 0
---------------------------------
Sent from Yahoo! - a smarter inbox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080130/c52e686a/attachment-0001.html
More information about the mrtg
mailing list