mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add detection of APC InRow chillers, patch by Bill Fenner
git-svn-id: http://www.observium.org/svn/observer/trunk@1816 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -48,6 +48,13 @@ if ($hardware == " ")
|
|||||||
$hardware .= ' ' . trim(snmp_get($device, "1.3.6.1.4.1.318.1.1.4.1.1.0", "-OQv", "", ""),'"');
|
$hardware .= ' ' . trim(snmp_get($device, "1.3.6.1.4.1.318.1.1.4.1.1.0", "-OQv", "", ""),'"');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($hardware == " ")
|
||||||
|
{
|
||||||
|
# InRow chiller
|
||||||
|
$hardware = trim(snmp_get($device, "1.3.6.1.4.1.318.1.1.13.3.2.2.1.4.0", "-OQv", "", ""),'"');
|
||||||
|
$hardware .= ' ' . trim(snmp_get($device, ".1.3.6.1.4.1.318.1.1.13.3.2.2.1.7.0", "-OQv", "", ""),'"');
|
||||||
|
}
|
||||||
|
|
||||||
######################
|
######################
|
||||||
|
|
||||||
$AOSrev = trim(snmp_get($device, "1.3.6.1.4.1.318.1.4.2.4.1.4.1", "-OQv", "", ""),'"');
|
$AOSrev = trim(snmp_get($device, "1.3.6.1.4.1.318.1.4.2.4.1.4.1", "-OQv", "", ""),'"');
|
||||||
|
|||||||
Reference in New Issue
Block a user