shorthost for realtime graph

git-svn-id: http://www.observium.org/svn/observer/trunk@2618 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-09-30 13:35:09 +00:00
parent b3b16cf8fe
commit 34fd920ab4
+1 -1
View File
@@ -37,7 +37,7 @@ header("Content-type: image/svg+xml");
/********** HTTP GET Based Conf ***********/
$ifnum=@$port['ifIndex']; // BSD / SNMP interface name / number
$ifname=@$port['ifDescr']; //Interface name that will be showed on top right of graph
$hostname=$device['hostname'];
$hostname=shorthost($device['hostname']);
/********* Other conf *******/
$scale_type="follow"; //Autoscale default setup : "up" = only increase scale; "follow" = increase and decrease scale according to current graphed datas