aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/templates
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-11-19 19:51:11 -0600
committerMatt Rude <[email protected]>2011-11-19 19:51:11 -0600
commitda4255f0dbc3b7a565ff4828761f24b4db014925 (patch)
tree61a0f8a191810b5def31ab7cc0ee94586a0c0fca /scripts/templates
parentbc363293f13b87f5608d71b072916b38a4d95774 (diff)
downloadtime.mattrude.com-da4255f0dbc3b7a565ff4828761f24b4db014925.tar.gz
time.mattrude.com-da4255f0dbc3b7a565ff4828761f24b4db014925.tar.bz2
time.mattrude.com-da4255f0dbc3b7a565ff4828761f24b4db014925.zip
Starting to use the new mrumon
Diffstat (limited to 'scripts/templates')
-rwxr-xr-xscripts/templates/graphs.cgi18
1 files changed, 12 insertions, 6 deletions
diff --git a/scripts/templates/graphs.cgi b/scripts/templates/graphs.cgi
index efda9b2..9486ba0 100755
--- a/scripts/templates/graphs.cgi
+++ b/scripts/templates/graphs.cgi
@@ -122,17 +122,23 @@ sub graph_clients($$) {
my $step = $range*$points_per_sample/$xpoints;
rrd_graph($range, $file, $ypoints,
"DEF:clients=$rrd:clients:LAST",
- "DEF:abusive=$rrd:abusive:LAST",
+ "DEF:limited=$rrd:limited:LAST",
+ "DEF:kod=$rrd:kod:LAST",
'AREA:clients#002A97FF:Clients:',
'GPRINT:clients:LAST:Current\:%8.2lf %s',
'GPRINT:clients:AVERAGE:Average\:%8.2lf %s',
'GPRINT:clients:MIN:Minimum\:%8.2lf %s',
'GPRINT:clients:MAX:Maximum\:%8.2lf %s\n',
- 'AREA:abusive#F51D30FF:Abusive:',
- 'GPRINT:abusive:LAST:Current\:%8.2lf %s',
- 'GPRINT:abusive:AVERAGE:Average\:%8.2lf %s',
- 'GPRINT:abusive:MIN:Minimum\:%8.2lf %s',
- 'GPRINT:abusive:MAX:Maximum\:%8.2lf %s\n',
+ 'AREA:limited#ffff00:Limited:',
+ 'GPRINT:limited:LAST:Current\:%8.2lf %s',
+ 'GPRINT:limited:AVERAGE:Average\:%8.2lf %s',
+ 'GPRINT:limited:MIN:Minimum\:%8.2lf %s',
+ 'GPRINT:limited:MAX:Maximum\:%8.2lf %s\n',
+ 'AREA:kod#F51D30FF: K O D :',
+ 'GPRINT:kod:LAST:Current\:%8.2lf %s',
+ 'GPRINT:kod:AVERAGE:Average\:%8.2lf %s',
+ 'GPRINT:kod:MIN:Minimum\:%8.2lf %s',
+ 'GPRINT:kod:MAX:Maximum\:%8.2lf %s\n',
);
}