Add servertech sentry3 pdu support, by falz

git-svn-id: http://www.observium.org/svn/observer/trunk@1887 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-16 20:13:50 +00:00
parent a6e575b577
commit 1078803644
3 changed files with 28 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
<?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];
?>