basic 3com detection with image

git-svn-id: http://www.observium.org/svn/observer/trunk@1205 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-18 15:21:40 +00:00
parent 9db71c6ea0
commit 4e79cff994
3 changed files with 10 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ while ($device = mysql_fetch_array($device_query))
case "ios": case "ios":
case "iosxe": case "iosxe":
case "catos": case "catos":
case "3com":
$device['type'] = 'network'; $device['type'] = 'network';
break; break;
case "asa": case "asa":

BIN
html/images/os/3com.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,9 @@
<?php
if(!$os) {
if(strstr($sysDescr, "3Com Switch ")) { $os = "3com"; }
}
?>