more trailing spaces hunted down and shot

git-svn-id: http://www.observium.org/svn/observer/trunk@1879 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-16 17:52:29 +00:00
parent acf745cc60
commit 318a3ebf93
12 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysObjectId, ".1.3.6.1.4.1.1671")) { $os = "adva"; }
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysObjectId, ".1.3.6.1.4.1.2254.2.4")) { $os = "deltaups"; }
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysObjectId, ".1.3.6.1.4.1.14125.100.1.3")) { $os = "engenius"; }
else if (strstr($sysObjectId, ".1.3.6.1.4.1.14125.101.1.3")) { $os = "engenius"; }
+1 -1
View File
@@ -5,7 +5,7 @@ if (!$os)
if (strstr($sysDescr, "Cisco Internetwork Operating System Software")) { $os = "ios"; }
else if (strstr($sysDescr, "IOS (tm)")) { $os = "ios"; }
else if (strstr($sysDescr, "Cisco IOS Software")) { $os = "ios"; }
if (strstr($sysDescr, "IOS-XE")) { $os = "iosxe"; }
if (strstr($sysDescr, "IOS XR")) { $os = "iosxr"; }
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysObjectId, "1.3.6.1.4.1.2468.1.4.2.1")) { $os = "ipoman"; }
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysDescr, "Pulsar M")) { $os = "mgeups"; }
else if (preg_match("/^Galaxy /", $sysDescr)) { $os = "mgeups"; }
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
if (!$os)
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"; }
else if (preg_match("/Dell.*Gigabit\ Ethernet/i",$sysDescr)) { $os = "powerconnect"; }
}
?>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysObjectId, ".1.3.6.1.4.1.534")) { $os = "powerware"; }
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysDescr, "Neyland 24T")) { $os = "radlan"; } /* Dell Powerconnect 5324 */
if (strstr($sysDescr, "AT-8000")) { $os = "radlan"; } /* Allied Telesis AT-8000 */
+4 -4
View File
@@ -2,12 +2,12 @@
if (!$os)
{
if (preg_match("/^SunOS/", $sysDescr))
{
$os = "solaris";
if (preg_match("/^SunOS/", $sysDescr))
{
$os = "solaris";
list(,,$version) = explode (" ", $sysDescr);
if ($version > "5.10") { $os = "opensolaris"; }
if ($version > "5.10") {
if ($version > "5.10") {
if (preg_match("/oi_/", $sysDescr)) { $os = "openindiana"; }
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if (strstr($sysDescr, "SonicWALL")) { $os = "sonicwall"; }
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
if (!$os)
if (!$os)
{
if ($sysDescr == 'NETOS 6.0')
{