Projet

Général

Profil

« Précédent | Suivant » 

Révision bc27c6d1

Ajouté par Renato Botelho il y a presque 10 ans

Remove more backticks

Voir les différences:

usr/local/www/status_rrd_graph_img.php
1184 1184
	$graphcmd .= "--start $start --end $end --step $step ";
1185 1185
	$graphcmd .= "--vertical-label \"time\" ";
1186 1186
	$graphcmd .= "--color SHADEA#eeeeee --color SHADEB#eeeeee ";
1187
	$graphcmd .= "--title \"`hostname` - {$prettydb} - {$hperiod} - {$havg} average\" ";
1187
	$graphcmd .= "--title \"" . php_uname('n') . " - {$prettydb} - {$hperiod} - {$havg} average\" ";
1188 1188
	$graphcmd .= "--height 200 --width 620 ";
1189 1189
	$graphcmd .= "DEF:\"offset=$rrddbpath$curdatabase:offset:AVERAGE:step=$step\" ";
1190 1190
	$graphcmd .= "DEF:\"sjit=$rrddbpath$curdatabase:sjit:AVERAGE:step=$step\" ";
......
1220 1220
	$graphcmd .= "GPRINT:\"wander:MAX:%7.2lf %s    \" ";
1221 1221
	$graphcmd .= "GPRINT:\"wander:LAST:%7.2lf %S    \" ";
1222 1222
	$graphcmd .= "COMMENT:\"\\n\" ";
1223
	$graphcmd .= "COMMENT:\"\t\t\t\t\t\t\t\t\t\t\t\t\t`date +\"%b %d %H\:%M\:%S %Y\"`\" ";
1223
	$graphcmd .= "COMMENT:\"\t\t\t\t\t\t\t\t\t\t\t\t\t" . strftime('%b %d %H\:%M\:%S %Y') . "\" ";
1224 1224
}
1225 1225
else {
1226 1226
	$data = false;

Formats disponibles : Unified diff