Project

General

Profile

« Previous | Next » 

Revision b8316459

Added by Chris Buechler over 9 years ago

fix text. Ticket #5387

View differences:

src/usr/local/www/status_rrd_graph_img.php
1240 1240
	/* define graphcmd for dhcpd stats */
1241 1241
	$graphcmd = "$rrdtool graph $rrdtmppath$curdatabase-$curgraph.png ";
1242 1242
	$graphcmd .= "--start $start --end $end --step $step ";
1243
	$graphcmd .= "--vertical-label \"Dhcp Leases\" ";
1243
	$graphcmd .= "--vertical-label \"DHCP Leases\" ";
1244 1244
	$graphcmd .= "--color SHADEA#eeeeee --color SHADEB#eeeeee ";
1245 1245
	$graphcmd .= "--title \"" . php_uname('n') . " - {$prettydb} - {$hperiod} - {$havg} average\" ";
1246 1246
	$graphcmd .= "--height 200 --width 620 ";
......
1249 1249
	$graphcmd .= "DEF:\"$curif-dhcprange=$rrddbpath$curdatabase:dhcprange:AVERAGE:step=$step\" ";
1250 1250
	$graphcmd .= "AREA:\"$curif-leases#{$colordhcpd[0]}:Active Leases\" ";
1251 1251
	$graphcmd .= "LINE2:\"$curif-staticleases#{$colordhcpd[1]}:Static Leases\" ";
1252
	$graphcmd .= "LINE1:\"$curif-dhcprange#{$colordhcpd[2]}:Dhcp Range\" ";
1252
	$graphcmd .= "LINE1:\"$curif-dhcprange#{$colordhcpd[2]}:DHCP Range\" ";
1253 1253
	$graphcmd .= "COMMENT:\"\\n\" ";
1254 1254
	$graphcmd .= "COMMENT:\"\t\t\t	  current\t\t average\t\tmaximum\\n\" ";
1255 1255
	$graphcmd .= "COMMENT:\"Active Leases\t\" ";
......
1262 1262
	$graphcmd .= "GPRINT:\"$curif-staticleases:AVERAGE:%8.0lf	  \" ";
1263 1263
	$graphcmd .= "GPRINT:\"$curif-staticleases:MAX:%8.0lf \" ";
1264 1264
	$graphcmd .= "COMMENT:\"\\n\" ";
1265
	$graphcmd .= "COMMENT:\"Dhcp Range\t\t\" ";
1265
	$graphcmd .= "COMMENT:\"DHCP Range\t\t\" ";
1266 1266
	$graphcmd .= "GPRINT:\"$curif-dhcprange:LAST:%8.0lf	  \" ";
1267 1267
	$graphcmd .= "GPRINT:\"$curif-dhcprange:AVERAGE:%8.0lf	  \" ";
1268 1268
	$graphcmd .= "GPRINT:\"$curif-dhcprange:MAX:%8.0lf \" ";

Also available in: Unified diff