*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

заметка про калибровку ИБП и драйвер usbhid-ups

Russian community

Moderators: MikeMac, alexey123

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
start
Starter
Starter
Posts: 73
Joined: 04 Jul 2015 17:24
Status: Offline

заметка про калибровку ИБП и драйвер usbhid-ups

#1

Post by start » 06 Apr 2019 17:58

У меня APC Smart-UPS SUA1000 подкллючен к сигме кабеелм USB-USB
Сервис UPS включен
Screenshot_20190406_184930.png
Заменил батареии, что бы запустить калибровку из шела, использовалс следуюущее:

Code: Select all

/usr/local/bin/upscmd aps1000 test.battery.start.deep
ввести имя - root
пароль пользователя можно посмотреть в файле /var/etc/upsd.users , например так :

Code: Select all

cat /var/etc/upsd.users
ввыод комманды /usr/local/bin/upscmd aps1000 test.battery.start.deep подверждающий верный ввод будет таким:

Code: Select all

Username (root): root
Password:
OK
:| P.S. aps1000 - это значение поля Identifier указанное на вкладке Services > UPS

:idea: P.S.S. посмотреть текщий стсатус можно так:

Code: Select all

/usr/local/bin/upsc aps1000
её вывод:

Code: Select all

battery.charge: 69
battery.charge.low: 10
battery.charge.warning: 50
battery.mfr.date: 2013/09/01
battery.runtime: 60
battery.runtime.low: 300
battery.temperature: 31.9
battery.type: PbAc
battery.voltage: 27.3
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Smart-UPS 1000
device.serial: AS0429132678
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: USB
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.data: APC HID 0.96
driver.version.internal: 0.41
input.sensitivity: medium
input.transfer.high: 253
input.transfer.low: 208
input.voltage: 233.2
output.frequency: 50.0
output.voltage: 234.7
output.voltage.nominal: 230.0
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.firmware: 600.3.I
ups.firmware.aux: 1.5
ups.load: 24.0
ups.mfr: American Power Conversion
ups.mfr.date: 2004/07/16
ups.model: Smart-UPS 1000
ups.productid: 0002
ups.serial: AS0429132678
ups.status: OL CHRG LB
ups.test.result: No test initiated
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.timer.start: -1
ups.vendorid: 051d
You do not have the required permissions to view the files attached to this post.
SigmaNAS-01: HP Proliant microserver g8 1610T, ZFS on 4x2T
SigmaNAS-02: Supermicro X7SPE-HF-D525, ZFS on 3x1T & 3x500G

Post Reply

Return to “Российская”