New line correction

This commit is contained in:
Calvario
2015-06-11 15:53:46 +02:00
parent 1e6755c4d5
commit ced0804ba5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -30,4 +30,4 @@ if ($device['os'] == "dsm") {
if(is_numeric($ups_charge)) {
discover_sensor($valid['sensor'], 'charge', $device, $ups_charge_oid, 'UPSChargeValue', $ups_device_manufacturer.' '.$ups_device_model, 'UPS Charge Value', '1', '1', 0, 10, NULL, 100, $ups_charge);
}
}
}
+1 -1
View File
@@ -30,4 +30,4 @@ if ($device['os'] == "dsm") {
if (is_numeric($ups_real_power_nominal)) {
discover_sensor($valid['sensor'], 'power', $device, $ups_real_power_nominal_oid, 'UPSRealPowerNominal', $ups_device_manufacturer.' '.$ups_device_model, 'UPS Real Power Nominal', '1', '1', NULL, NULL, NULL, NULL, $ups_real_power_nominal);
}
}
}
+1 -1
View File
@@ -54,4 +54,4 @@ if ($device['os'] == "dsm") {
if (is_numeric($ups_battery_voltage_nominal)) {
discover_sensor($valid['sensor'], 'voltage', $device, $ups_battery_voltage_nominal_oid, 'SystemStatus', $ups_device_manufacturer.' '.$ups_device_model, 'UPS Battery Voltage Nominal', '1', '1', NULL, NULL, NULL, NULL, $ups_battery_voltage_nominal);
}
}
}