mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
graphing system updates
git-svn-id: http://www.observium.org/svn/observer/trunk@1599 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -89,17 +89,6 @@ function device_array($device_id)
|
||||
return $device;
|
||||
}
|
||||
|
||||
function get_device_id_by_interface_id($interface_id) {
|
||||
if(is_numeric($interface_id)) {
|
||||
$device_id = mysql_result(mysql_query("SELECT `device_id` FROM `ports` WHERE `interface_id` = '".$interface_id."'"),0);
|
||||
}
|
||||
if(is_numeric($device_id)){
|
||||
return $device_id;
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
function getHostOS($device)
|
||||
{
|
||||
global $config;
|
||||
|
Reference in New Issue
Block a user