From: alisher <alisher_faiz@rambler.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Мониторинг UPS'a
Date: Mon, 25 Feb 2008 11:44:16 +0600
Message-ID: <47C255B0.1000203@rambler.ru> (raw)
In-Reply-To: <200802160006.37333.vip0@seversk.ru>
Vyatcheslav Perevalov пишет:
> В сообщении от 16 февраля 2008 Olexander Chernetskyy написал(a):
>
>> Эпиграф. "Нет в жизни счастья."
>>
>> Запускаю
>> ./upsmon_usbv092 100 120 /dev/hiddev0
>>
>
> Ну так осталось совсем маленько - скриптом перехватить UPSMON_USB: AC fail!
> и через нужное время сделать shutdown -h 0
>
> Я не прав?
>
Помогите пожалуйста с таким скриптом для nut
[admin@serversmb ~]$ upsc myups@localhost
battery.charge: 85.0
battery.voltage: 26.20
battery.voltage.nominal: 24.0
driver.name: megatec
driver.parameter.port: /dev/ttyS0
driver.version: 2.0.5
driver.version.internal: 1.5
input.frequency: 50.0
input.voltage: 212.8
input.voltage.fault: 213.2
input.voltage.maximum: 232.9
input.voltage.minimum: 176.2
output.voltage: 207.7
output.voltage.nominal: 220.0
ups.beeper.status: enabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 21.0
ups.mfr: unknown
ups.model: unknown
ups.serial: unknown
ups.status: OL
ups.temperature: 25.0
next prev parent reply other threads:[~2008-02-25 5:44 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 12:06 Olexander Chernetskyy
2008-02-08 12:12 ` Алексей Шенцев
2008-02-08 12:33 ` Olexander Chernetskyy
2008-02-08 12:55 ` Алексей Шенцев
2008-02-08 13:34 ` Andriy Dobrovol`s`kii
2008-02-08 13:38 ` Алексей Шенцев
2008-02-14 6:29 ` Olexander Chernetskyy
2008-02-14 6:38 ` Алексей Шенцев
2008-02-14 6:59 ` Olexander Chernetskyy
2008-02-14 10:21 ` Sergey Vlasov
2008-02-15 13:20 ` Sergey Vlasov
2008-02-15 14:10 ` Olexander Chernetskyy
2008-02-15 14:49 ` Sergey Vlasov
2008-02-15 18:01 ` Olexander Chernetskyy
2008-02-15 18:06 ` Vyatcheslav Perevalov
2008-02-15 18:22 ` Olexander Chernetskyy
2008-02-15 18:40 ` Vyatcheslav Perevalov
2008-02-15 18:59 ` Olexander Chernetskyy
2008-02-15 19:09 ` Vyatcheslav Perevalov
2008-02-15 20:34 ` Olexander Chernetskyy
2008-02-25 5:44 ` alisher [this message]
2008-02-15 23:01 ` Michael Shigorin
2008-02-16 16:05 ` Olexander Chernetskyy
2008-02-14 9:53 ` [Comm] rsync iso-образа из /pub/beta Журкин Владимир Александрович
2008-02-14 14:41 ` Mikhail Gusarov
2008-02-15 0:22 ` Журкин Владимир Александрович
2008-02-15 4:11 ` [Comm] Установка GRUB2 Aleksey Deryagin
2008-02-15 5:14 ` Хихин Руслан
2008-02-15 5:54 ` Gleb Kulikov
2008-02-15 6:25 ` Хихин Руслан
2008-02-15 6:30 ` Mikhail Gusarov
2008-02-15 7:59 ` Дерягин Алексей
2008-02-17 6:22 ` Andrey Rahmatullin
2008-02-15 7:01 ` Gleb Kulikov
2008-02-15 7:22 ` Хихин Руслан
2008-02-17 9:15 ` Хихин Руслан
2008-02-19 20:25 ` Aleksey Deryagin
2008-02-19 20:39 ` Хихин Руслан
2008-02-20 0:34 ` Евгений Терешков
2008-02-20 3:46 ` Aleksey Deryagin
2008-02-15 17:13 ` Victor
2008-02-16 20:10 ` Aleksey Deryagin
2008-02-16 20:15 ` Aleksey Deryagin
2008-02-16 20:46 ` Aleksey Deryagin
2008-02-15 23:07 ` Michael Shigorin
2008-02-16 5:40 ` Aleksey Deryagin
2008-02-16 9:43 ` Michael Shigorin
2008-02-16 19:57 ` Aleksey Deryagin
2008-02-08 14:15 ` [Comm] Мониторинг UPS'a Motsyo Gennadi aka Drool
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47C255B0.1000203@rambler.ru \
--to=alisher_faiz@rambler.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git