Проект

Общее

Профиль

Действия

Тестирование: виртуальный ups

конфиг - /etc/nut/ups.conf

[apc]
driver = dummy-ups
port = evolution500.dev
desc = "dummy-ups in dummy mode" 

файл-состояния ups(примерное содержимое ответа dell) - /etc/nut/evolution500.dev

battery.capacity: 9.00
battery.charge: 100
battery.charge.low: 30
battery.charge.restart: 0
battery.energysave: no
battery.runtime: 23148
battery.runtime.low: 180
battery.type: PbAc
device.mfr: DELL
device.model: Dell UPS Rack/Tower 2700W HV - 230V
device.serial: CN-0J727N-75162-9BA-0093-A00
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.6.4
driver.version.data: MGE HID 1.31
driver.version.internal: 0.37
input.frequency: 49.9
input.frequency.nominal: 50
input.transfer.boost.low: 210
input.transfer.high: 286
input.transfer.low: 160
input.transfer.trim.high: 250
input.voltage: 212.0
input.voltage.nominal: 230
outlet.1.autoswitch.charge.low: 0
outlet.1.delay.shutdown: 2147483647
outlet.1.delay.start: 0
outlet.1.desc: PowerShare Outlet 1
outlet.1.id: 1
outlet.1.status: on
outlet.1.switchable: yes
outlet.2.autoswitch.charge.low: 0
outlet.2.delay.shutdown: 2147483647
outlet.2.delay.start: 1
outlet.2.desc: PowerShare Outlet 2
outlet.2.id: 2
outlet.2.status: on
outlet.2.switchable: yes
outlet.desc: Main Outlet
outlet.id: 0
outlet.switchable: no
output.current: 0.80
output.frequency: 49.9
output.frequency.nominal: 50
output.voltage: 247.0
output.voltage.nominal: 230
ups.beeper.status: enabled
ups.date: 2011/08/02
ups.delay.shutdown: 20
ups.delay.start: 30
ups.firmware: 01.04.0001
ups.load: 7
ups.load.high: 110
ups.mfr: DELL
ups.model: Dell UPS Rack/Tower 2700W HV - 230V
ups.power: 198
ups.power.nominal: 2700
ups.productid: ffff
ups.realpower: 141
ups.realpower.nominal: 2700
ups.serial: CN-0J727N-75162-9BA-0093-A00
ups.start.battery: yes
ups.start.reboot: yes
ups.status: OL CHRG BOOST
ups.test.interval: 7776000
ups.test.result: No test initiated
ups.time: 16:45:33
ups.timer.shutdown: 0
ups.timer.start: 0
ups.type: offline / line interactive
ups.vendorid: 047c

возможные значения ups.status

OL      - On line (mains is present)
OB      - On battery (mains is not present)
LB      - Low battery
HB      - High battery
RB      - The battery needs to be replaced
CHRG    - The battery is charging
DISCHRG - The battery is discharging (inverter is providing load power)
BYPASS  - UPS bypass circuit is active - no battery protection is available
CAL     - UPS is currently performing runtime calibration (on battery)
OFF     - UPS is offline and is not supplying power to the load
OVER    - UPS is overloaded
TRIM    - UPS is trimming incoming voltage (called "buck" in some hardware)
BOOST   - UPS is boosting incoming voltage
FSD     - Forced Shutdown (restricted use, see the note below)

Обновлено Константин Пильник около 8 лет назад · 2 изменени(я, ий)