mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 16:26:55 +02:00
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:
@@ -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];
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user