Merge pull request #2796 from laf/issue-2091

Added config option to force showing sysName instead of IP
This commit is contained in:
Daniel Preussker
2016-01-19 05:34:49 +00:00
3 changed files with 19 additions and 0 deletions
+2
View File
@@ -209,6 +209,8 @@ function generate_device_link($device, $text=null, $vars=array(), $start=0, $end
$text = $device['hostname'];
}
$text = ip_to_sysname($device,$text);
if (isset($config['os'][$device['os']]['over'])) {
$graphs = $config['os'][$device['os']]['over'];
}