diff --git a/html/graph-realtime.php b/html/graph-realtime.php
index 7dc052d1f..5762a025a 100755
--- a/html/graph-realtime.php
+++ b/html/graph-realtime.php
@@ -36,7 +36,8 @@ header("Content-type: image/svg+xml");
/********** HTTP GET Based Conf ***********/
$ifnum=@$port['ifIndex']; // BSD / SNMP interface name / number
-$ifname=$device['hostname']. " ". @$port['ifDescr']; //Interface name that will be showed on top right of graph
+$ifname=@$port['ifDescr']; //Interface name that will be showed on top right of graph
+$hostname=$device['hostname'];
/********* Other conf *******/
$scale_type="follow"; //Autoscale default setup : "up" = only increase scale; "follow" = increase and decrease scale according to current graphed datas
@@ -58,6 +59,7 @@ $attribs['graph_in']='fill="none" stroke="green" stroke-opacity="0.8"';
$attribs['graph_out']='fill="none" stroke="blue" stroke-opacity="0.8"';
$attribs['legend']='fill="black" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4"';
$attribs['graphname']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="8"';
+$attribs['hostname']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4"';
$attribs['grid_txt']='fill="gray" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="6"';
$attribs['grid']='stroke="gray" stroke-opacity="0.5"';
$attribs['switch_unit']='fill="#435370" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4" text-decoration="underline"';
@@ -89,6 +91,7 @@ print('' . "\n");?>
>
>
text-anchor="end">=$ifname?>
+ text-anchor="end">=$hostname?>
>Switch to bytes/s
>AutoScale (=$scale_type?>)
>