mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
redesigned graph defining system (still seems a bit batshit, but nevermind). lots of improvements to various pollers, only writing RRDs if valid data is returned, etc.
git-svn-id: http://www.observium.org/svn/observer/trunk@1506 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -12,7 +12,7 @@ function ifNameDescr($interface, $device = NULL) {
|
||||
|
||||
function ifLabel ($interface, $device = NULL) {
|
||||
global $config;
|
||||
if(!$device) { $device = device_array($interface['device_id']); }
|
||||
if(!$device) { $device = device_by_id_cache($interface['device_id']); }
|
||||
$os = strtolower($device['os']);
|
||||
|
||||
if (isset($config['os'][$os]['ifname'])) {
|
||||
|
Reference in New Issue
Block a user