# -> / for phpdoc

git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-05-25 11:29:53 +00:00
parent ba28732c3b
commit cacf913a55
235 changed files with 754 additions and 743 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ if ($device['os'] == "mgeups")
echo("MGE UPS External ");
# Environmental monitoring on UPSes etc
# FIXME upsmgConfigEnvironmentTable and upsmgEnvironmentSensorTable are used but there are others ...
/// FIXME upsmgConfigEnvironmentTable and upsmgEnvironmentSensorTable are used but there are others ...
$mge_env_data = snmpwalk_cache_oid($device, "upsmgConfigEnvironmentTable", array(), "MG-SNMP-UPS-MIB");
$mge_env_data = snmpwalk_cache_oid($device, "upsmgEnvironmentSensorTable", $mge_env_data, "MG-SNMP-UPS-MIB");
@@ -51,7 +51,7 @@ upsmgEnvironmentInput2State.1 = open
$high_limit = $mge_env_data[$index]['upsmgConfigHumidityHigh'];
$hysteresis = $mge_env_data[$index]['upsmgConfigHumidityHysteresis'];
# FIXME warninglevels might need some other calculation in stead of hysteresis
/// FIXME warninglevels might need some other calculation in stead of hysteresis
$low_warn_limit = $low_limit + $hysteresis;
$high_warn_limit = $high_limit - $hysteresis;
@@ -60,7 +60,7 @@ upsmgEnvironmentInput2State.1 = open
if ($current != 0)
{
# Humidity = 0 -> Sensor not available
# FIXME true for MGE as wel as APC?
/// FIXME true for MGE as wel as APC?
discover_sensor($valid['sensor'], 'humidity', $device, $oid, $index, $sensorType, $descr, '1', '1', $low_limit, $low_warn_limit, $high_warn_limit, $high_limit , $current);
}
}