Groups | Search | Server Info | Login | Register


Groups > comp.dcom.net-management > #51

mrtg - need help with cfg

Newsgroups comp.dcom.net-management
Date 2014-01-15 00:50 -0800
Message-ID <db5b58f8-8a78-4a7b-8f83-db0551533a3d@googlegroups.com> (permalink)
Subject mrtg - need help with cfg
From Sarel Vermaak <cirusystems@gmail.com>

Show all headers | View raw


Hi all,

I currently have a bash file that returns the number of pages printed on our Minolta Printer. This value is always increasing and need to plot the unique pages printed on a graph using mrtg.

Everything is working and a cron job polling every 5 minutes.

However, I need some help with the mrtg options. 

(1) Currently in the day graph it shows Max / Average / Current --> I need this to display Total / Max for the day.
(2) On all the other graphs week /month / year, it shows the average --> I need the totals for those periods.

Is this even possible? Please see my cfg file below.

Target[totalcount]: `/scripts/B211Counter.sh`
WithPeak[totalcount]: ymw
MaxBytes[totalcount]: 10000
Options[totalcount]: nopercent, growright
Title[totalcount]: B211 Printer
PageTop[totalcount]: <H1>B211 Page Counter</H1>
YLegend[b211totalcount]: Pages
ShortLegend[b211totalcount]:
LegendO[b211totalcount]: Pages:
Legend2[b211totalcount]: Pages

Thanx for all your help in advance

Back to comp.dcom.net-management | Previous | Next | Find similar


Thread

mrtg - need help with cfg Sarel Vermaak <cirusystems@gmail.com> - 2014-01-15 00:50 -0800

csiph-web