From fbd4ccaa62e810e72654096e8e4fbd799db51a77 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 10 Mar 2011 15:57:58 +0000 Subject: [PATCH] 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 --- includes/polling/os/apc.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/polling/os/apc.inc.php b/includes/polling/os/apc.inc.php index 619bc8e522..89030dd5fe 100755 --- a/includes/polling/os/apc.inc.php +++ b/includes/polling/os/apc.inc.php @@ -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", "", ""),'"'); } +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", "", ""),'"');