Nut » История » Версия 2
Константин Пильник, 2016-11-22 23:23
| 1 | 1 | Константин Пильник | h1. Тестирование: виртуальный ups |
|---|---|---|---|
| 2 | |||
| 3 | конфиг - /etc/nut/ups.conf |
||
| 4 | <pre> |
||
| 5 | [apc] |
||
| 6 | driver = dummy-ups |
||
| 7 | port = evolution500.dev |
||
| 8 | desc = "dummy-ups in dummy mode" |
||
| 9 | </pre> |
||
| 10 | |||
| 11 | файл-состояния ups(примерное содержимое ответа dell) - /etc/nut/evolution500.dev |
||
| 12 | <pre> |
||
| 13 | battery.capacity: 9.00 |
||
| 14 | battery.charge: 100 |
||
| 15 | battery.charge.low: 30 |
||
| 16 | battery.charge.restart: 0 |
||
| 17 | battery.energysave: no |
||
| 18 | battery.runtime: 23148 |
||
| 19 | battery.runtime.low: 180 |
||
| 20 | battery.type: PbAc |
||
| 21 | device.mfr: DELL |
||
| 22 | device.model: Dell UPS Rack/Tower 2700W HV - 230V |
||
| 23 | device.serial: CN-0J727N-75162-9BA-0093-A00 |
||
| 24 | device.type: ups |
||
| 25 | driver.name: usbhid-ups |
||
| 26 | driver.parameter.pollfreq: 30 |
||
| 27 | driver.parameter.pollinterval: 2 |
||
| 28 | driver.parameter.port: auto |
||
| 29 | driver.version: 2.6.4 |
||
| 30 | driver.version.data: MGE HID 1.31 |
||
| 31 | driver.version.internal: 0.37 |
||
| 32 | input.frequency: 49.9 |
||
| 33 | input.frequency.nominal: 50 |
||
| 34 | input.transfer.boost.low: 210 |
||
| 35 | input.transfer.high: 286 |
||
| 36 | input.transfer.low: 160 |
||
| 37 | input.transfer.trim.high: 250 |
||
| 38 | input.voltage: 212.0 |
||
| 39 | input.voltage.nominal: 230 |
||
| 40 | outlet.1.autoswitch.charge.low: 0 |
||
| 41 | outlet.1.delay.shutdown: 2147483647 |
||
| 42 | outlet.1.delay.start: 0 |
||
| 43 | outlet.1.desc: PowerShare Outlet 1 |
||
| 44 | outlet.1.id: 1 |
||
| 45 | outlet.1.status: on |
||
| 46 | outlet.1.switchable: yes |
||
| 47 | outlet.2.autoswitch.charge.low: 0 |
||
| 48 | outlet.2.delay.shutdown: 2147483647 |
||
| 49 | outlet.2.delay.start: 1 |
||
| 50 | outlet.2.desc: PowerShare Outlet 2 |
||
| 51 | outlet.2.id: 2 |
||
| 52 | outlet.2.status: on |
||
| 53 | outlet.2.switchable: yes |
||
| 54 | outlet.desc: Main Outlet |
||
| 55 | outlet.id: 0 |
||
| 56 | outlet.switchable: no |
||
| 57 | output.current: 0.80 |
||
| 58 | output.frequency: 49.9 |
||
| 59 | output.frequency.nominal: 50 |
||
| 60 | output.voltage: 247.0 |
||
| 61 | output.voltage.nominal: 230 |
||
| 62 | ups.beeper.status: enabled |
||
| 63 | ups.date: 2011/08/02 |
||
| 64 | ups.delay.shutdown: 20 |
||
| 65 | ups.delay.start: 30 |
||
| 66 | ups.firmware: 01.04.0001 |
||
| 67 | ups.load: 7 |
||
| 68 | ups.load.high: 110 |
||
| 69 | ups.mfr: DELL |
||
| 70 | ups.model: Dell UPS Rack/Tower 2700W HV - 230V |
||
| 71 | ups.power: 198 |
||
| 72 | ups.power.nominal: 2700 |
||
| 73 | ups.productid: ffff |
||
| 74 | ups.realpower: 141 |
||
| 75 | ups.realpower.nominal: 2700 |
||
| 76 | ups.serial: CN-0J727N-75162-9BA-0093-A00 |
||
| 77 | ups.start.battery: yes |
||
| 78 | ups.start.reboot: yes |
||
| 79 | ups.status: OL CHRG BOOST |
||
| 80 | ups.test.interval: 7776000 |
||
| 81 | ups.test.result: No test initiated |
||
| 82 | ups.time: 16:45:33 |
||
| 83 | ups.timer.shutdown: 0 |
||
| 84 | ups.timer.start: 0 |
||
| 85 | ups.type: offline / line interactive |
||
| 86 | ups.vendorid: 047c |
||
| 87 | </pre> |
||
| 88 | 2 | Константин Пильник | |
| 89 | возможные значения ups.status |
||
| 90 | <pre> |
||
| 91 | OL - On line (mains is present) |
||
| 92 | OB - On battery (mains is not present) |
||
| 93 | LB - Low battery |
||
| 94 | HB - High battery |
||
| 95 | RB - The battery needs to be replaced |
||
| 96 | CHRG - The battery is charging |
||
| 97 | DISCHRG - The battery is discharging (inverter is providing load power) |
||
| 98 | BYPASS - UPS bypass circuit is active - no battery protection is available |
||
| 99 | CAL - UPS is currently performing runtime calibration (on battery) |
||
| 100 | OFF - UPS is offline and is not supplying power to the load |
||
| 101 | OVER - UPS is overloaded |
||
| 102 | TRIM - UPS is trimming incoming voltage (called "buck" in some hardware) |
||
| 103 | BOOST - UPS is boosting incoming voltage |
||
| 104 | FSD - Forced Shutdown (restricted use, see the note below) |
||
| 105 | </pre> |