mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
- Unknown Linux devices with -server in the kernel version are now identified as a server. (Tested on Ubuntu 9.10-server)
git-svn-id: http://www.observium.org/svn/observer/trunk@929 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -133,6 +133,10 @@ while ($device = mysql_fetch_array($device_query))
|
||||
if($device['os'] == "junose") {
|
||||
include("includes/discovery/processors-junose.inc.php");
|
||||
}
|
||||
|
||||
if($device['os'] == "linux") {
|
||||
if (($device['type'] == "unknown") && preg_match("/-server$/", $device['version'])) { $device['type'] = 'server'; }
|
||||
}
|
||||
|
||||
if($device['os'] == "ios" || $device['os'] == "iosxe" || $device['os'] == "catos" || $device['os'] == "asa" || $device['os'] == "pix") {
|
||||
include("includes/discovery/cisco-vlans.inc.php");
|
||||
|
||||
Reference in New Issue
Block a user