mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
fix sentry3 os files
git-svn-id: http://www.observium.org/svn/observer/trunk@1940 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -5,12 +5,4 @@ if (!$os)
|
||||
if (preg_match("/^Sentry\ Switched /", $sysDescr)) { $os = "sentry3"; }
|
||||
}
|
||||
|
||||
?>
|
||||
<?php
|
||||
|
||||
if (!$os)
|
||||
{
|
||||
if (preg_match("/^Sentry\ Switched /", $sysDescr)) { $os = "sentry3"; }
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
@@ -10,17 +10,4 @@ $version = snmp_get($device, "systemVersion.0", "-Ovq", "Sentry3-MIB");
|
||||
$version = preg_split('/Sentry\ Switched\ CDU\ Version/', $version);
|
||||
$version = $version[1];
|
||||
|
||||
?>
|
||||
<?php
|
||||
|
||||
#Sentry3-MIB::towerModelNumber "CW-24V2-L30M"
|
||||
#Sentry3-MIB::systemVersion "Sentry Switched CDU Version 6.0g"
|
||||
#Sentry3-MIB::towerProductSN "ABEF0001561"
|
||||
|
||||
$hardware = snmp_get($device, "towerModelNumber.1", "-Ovq", "Sentry3-MIB");
|
||||
$serial = snmp_get($device, "towerProductSN.1", "-Ovq", "Sentry3-MIB");
|
||||
$version = snmp_get($device, "systemVersion.0", "-Ovq", "Sentry3-MIB");
|
||||
$version = preg_split('/Sentry\ Switched\ CDU\ Version/', $version);
|
||||
$version = $version[1];
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user