remove includes/osdiscovery, old and deprecated

git-svn-id: http://www.observium.org/svn/observer/trunk@1830 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-14 18:17:43 +00:00
parent b9faf0fbba
commit d31741cd73
58 changed files with 0 additions and 539 deletions
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "3Com Switch ")) { $os = "3com"; }
else if(strstr($sysDescr, "3Com SuperStack")) { $os = "3com"; }
}
?>
-11
View File
@@ -1,11 +0,0 @@
<?php
if(!$os) {
if(strpos($sysDescr, "Apple AirPort") !== FALSE) { $os = "airport"; }
else if(strpos($sysDescr, "Apple Base Station") !== FALSE) { $os = "airport"; }
else if(strpos($sysDescr, "Base Station V3.84") !== FALSE) { $os = "airport"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if (!$os) {
if (preg_match("/8VD-X20/", $sysDescr)) { $os = "minkelsrms"; }
if (preg_match("/SensorProbe/i", $sysDescr)) { $os = "akcp"; }
}
?>
-11
View File
@@ -1,11 +0,0 @@
<?php
if(!$os) {
if(strstr($sysObjectId, ".1.3.6.1.4.1.207")) { $os = "allied"; }
if(strstr($sysObjectId, ".1.3.6.1.4.1.207.1.4.126")) { unset($os); }
}
?>
-11
View File
@@ -1,11 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "APC Web/SNMP Management Card")) { $os = "apc"; }
else if(strstr($sysDescr, "APC Switched Rack PDU")) { $os = "apc"; }
else if(strstr($sysDescr, "APC MasterSwitch PDU")) { $os = "apc"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Raid Subsystem V")) { $os = "areca"; }
}
?>
-7
View File
@@ -1,7 +0,0 @@
<?php
if(!$os) {
if(preg_match("/^Cisco\ Adaptive\ Security\ Appliance/", $sysDescr)) { $os = "asa"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if (!$os) {
if (preg_match("/AXIS.*Network Camera/", $sysDescr)) { $os = "axiscam"; }
}
?>
@@ -1,9 +0,0 @@
<?php
if (!$os) {
if (preg_match("/^AXIS .* Network Document Server/", $sysDescr)) { $os = "axisdocserver"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if(stripos($sysDescr, "bcm963") !== FALSE) { $os = "bcm963"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if (!$os) {
if (preg_match("/Brother NC-.*h,/", $sysDescr)) { $os = "brother"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Cisco Systems Catalyst 1900")) { $os = "cat1900"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Cisco Catalyst Operating System Software")) { $os = "catos"; }
}
?>
-11
View File
@@ -1,11 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Dell Color Laser")) { $os = "dell-laser"; }
elseif(strstr($sysDescr, "Dell Laser Printer")) { $os = "dell-laser"; }
elseif(preg_match("/^Dell.*MFP/", $sysDescr)) { $os = "dell-laser"; }
}
?>
-12
View File
@@ -1,12 +0,0 @@
<?php
if (!$os) {
if (preg_match("/D-Link DES-/", $sysDescr)) { $os = "dlink"; }
else if (preg_match("/Dlink DES-/", $sysDescr)) { $os = "dlink"; }
else if (preg_match("/^DES-/", $sysDescr)) { $os = "dlink"; }
else if (preg_match("/^DGS-/", $sysDescr)) { $os = "dlink"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if (!$os) {
if (preg_match("/D-Link .* AP/", $sysDescr)) { $os = "dlinkap"; }
else if (preg_match("/D-Link Access Point/", $sysDescr)) { $os = "dlinkap"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Dell Out-of-band SNMP Agent for Remote Access Controller")) { $os = "drac"; }
}
?>
-11
View File
@@ -1,11 +0,0 @@
<?php
if(!$os) {
if(strstr($sysObjectId, ".1.3.6.1.4.1.1916.2")) { $os = "extremeware"; }
if(strstr($sysDescr, "XOS")) { $os = "xos"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
$fnSysVersion = snmp_get($device, "1.3.6.1.4.1.12356.1.3.0", "-Ovq");
if(strstr($fnSysVersion, "Fortigate")) {
$os = "fortigate";
}
}
?>
-8
View File
@@ -1,8 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "FreeBSD")) { $os = "freebsd"; } ## It's FreeBSD!
if(strstr($sysDescr, "Voswall")) { $os = "voswall"; } ## Oh-No-It-Isn't!!
if(strstr($sysDescr, "m0n0wall")) { $os = "monowall"; } ## Ditto
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Force10 Operating System")) { $os = "ftos"; }
}
?>
@@ -1,12 +0,0 @@
<?php
if(!$os) {
if ($sysDescr == "") {
if (snmp_get($device, "GAMATRONIC-MIB::psUnitManufacture.0", "-Oqv", "") == "Gamatronic") {
$os = "gamatronicups";
}
}
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if(strpos($sysDescr, "IES-") !== FALSE) { $os = "ies"; }
}
?>
-13
View File
@@ -1,13 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Cisco Internetwork Operating System Software")) { $os = "ios"; }
if(strstr($sysDescr, "IOS (tm)")) { $os = "ios"; }
if(strstr($sysDescr, "Cisco IOS Software")) { $os = "ios"; }
if(strstr($sysDescr, "IOS-XE")) { $os = "iosxe"; }
if(strstr($sysDescr, "IOS XR")) { $os = "iosxr"; }
}
?>
-7
View File
@@ -1,7 +0,0 @@
<?php
if(!$os) {
if(preg_match("/IronWare/", $sysDescr)) { $os = "ironware"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "JETDIRECT")) { $os = "jetdirect"; }
else if(strstr($sysDescr, "HP ETHERNET MULTI-ENVIRONMENT")) { $os = "jetdirect"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysObjectId, ".1.3.6.1.4.1.2636")) { $os = "junos"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysObjectId, ".1.3.6.1.4.1.4874")) { $os = "junose"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "KONICA MINOLTA ")) { $os = "konica"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "KYOCERA ")) { $os = "kyocera"; }
}
?>
-3
View File
@@ -1,3 +0,0 @@
<?php
?>
-7
View File
@@ -1,7 +0,0 @@
<?php
if(!$os) {
if(preg_match("/^Linux/", $sysDescr)) { $os = "linux"; }
}
?>
-4
View File
@@ -1,4 +0,0 @@
<?php
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "MGE Switched PDU")) { $os = "mgepdu"; }
}
?>
-11
View File
@@ -1,11 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Pulsar M")) { $os = "mgeups"; }
else if(strstr($sysDescr, "Evolution S")) { $os = "mgeups"; }
else if(strstr($sysDescr, "Galaxy PW")) { $os = "mgeups"; }
}
?>
-7
View File
@@ -1,7 +0,0 @@
<?php
if(!$os) {
if(preg_match("/^NetBSD/", $sysDescr)) { $os = "netbsd"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if (!$os) {
if (preg_match("/^NetMan.*plus/", $sysDescr)) { $os = "netmanplus"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if (!$os) {
if (preg_match("/^Netopia /", $sysDescr)) { $os = "netopia"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Novell NetWare")) { $os = "netware"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "NX-OS")) { $os = "nxos"; }
}
?>
-7
View File
@@ -1,7 +0,0 @@
<?php
if(!$os) {
if(preg_match("/^OpenBSD/", $sysDescr)) { $os = "openbsd"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if($sysDescr == "SNMP TME") { $os = "papouch-tme"; }
else if($sysDescr == "TME") { $os = "papouch-tme"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if (!$os)
{
#if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; } /* Powerconnect 5324 */
if (stristr($sysDescr, "PowerConnect ")) { $os = "powerconnect"; }
else if (preg_match("/Dell.*Gigabit\ Ethernet/i",$sysDescr)) { $os = "powerconnect"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysObjectId, ".1.3.6.1.4.1.674.10893.2.102")) { $os = "powervault"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if (!$os) {
if (preg_match("/^Prestige \d/", $sysDescr)) { $os = "prestige"; }
else if (preg_match("/^P-.*-/", $sysDescr)) { $os = "prestige"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if(stristr($sysDescr, "ProCurve")) { $os = "procurve"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if (!$os)
{
if (strstr($sysDescr, "Neyland 24T")) { $os = "radlan"; } /* Dell Powerconnect 5324 */
if (strstr($sysDescr, "AT-8000")) { $os = "radlan"; } /* Allied Telesis AT-8000 */
}
?>
-7
View File
@@ -1,7 +0,0 @@
<?php
if(!$os) {
if(preg_match("/Redback/", $sysDescr)) { $os = "redback"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "RICOH Aficio")) { $os = "ricoh"; }
}
?>
-12
View File
@@ -1,12 +0,0 @@
<?php
if(!$os) {
if ($sysDescr == "router") {
if (is_numeric(snmp_get($device, "SNMPv2-SMI::enterprises.14988.1.1.4.3.0", "-Oqv", ""))) {
$os = "routeros";
}
}
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if(strstr($sysObjectId, "netscreen")) { $os = "screenos"; } elseif (strstr($sysObjectId, ".1.3.6.1.4.1.674.3224.1")) { $os = "screenos"; }
}
?>
-12
View File
@@ -1,12 +0,0 @@
<?php
if(!$os) {
if(preg_match("/^SunOS/", $sysDescr))
{
$os = "solaris";
list(,,$version) = explode (" ", $sysDescr);
if($version > "5.10") { $os = "opensolaris"; }
}
}
?>
-8
View File
@@ -1,8 +0,0 @@
<?php
if (!$os)
{
if (strstr($sysDescr, "SonicWALL")) { $os = "sonicwall"; }
}
?>
-11
View File
@@ -1,11 +0,0 @@
<?php
if(!$os) {
if(strpos($sysDescr, "TG585v7") !== FALSE) { $os = "speedtouch"; }
else if(strpos($sysDescr, "SpeedTouch 5") !== FALSE) { $os = "speedtouch"; }
else if (preg_match("/^ST\d/", $sysDescr)) { $os = "speedtouch"; }
}
?>
-8
View File
@@ -1,8 +0,0 @@
<?php
if(!$os) {
if(preg_match("/Windows/", $sysDescr)) { $os = "windows"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if(!$os) {
if(strstr($sysDescr, "Xerox Phaser")) { $os = "xerox"; }
}
?>
-10
View File
@@ -1,10 +0,0 @@
<?php
if(!$os) {
if(strpos($sysDescr, "ZyWALL") !== FALSE) { $os = "zywall"; }
}
?>
-9
View File
@@ -1,9 +0,0 @@
<?php
if (!$os) {
if (preg_match("/^ES-/", $sysDescr)) { $os = "zyxeles"; }
}
?>