mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
dc0ebc7343
git-svn-id: http://www.observium.org/svn/observer/trunk@2517 61d68cd4-352d-0410-923a-c4978735b2b8
13 lines
497 B
PHP
13 lines
497 B
PHP
<?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];
|
|
|
|
?>
|