From: "Павел Исопенко" <admin@pauli.ru> To: shigorin@gmail.com, ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] просьба потестировать nut-2.6 Date: Wed, 04 Apr 2012 12:00:54 +0400 Message-ID: <1333526454.7740.11.camel@localhost.localdomain> (raw) In-Reply-To: <20120403222935.GG3300@osdn.org.ua> В Срд, 04/04/2012 в 01:29 +0300, Michael Shigorin пишет: > > Что конкретно искать? Какая будет у нас методика тестирования? > > Думаю, достаточно глянуть вывод upsc ups@localhost > (по имени сконфигурированного бесперебойника) > при запустившихся upsdrv и upsd. > Итак, включаю стенд кнопкой, загрузились. Смотрим. # service upsdrv status blazer_ser is running # service upsd status upsd is running # service upsmon status upsmon is running > Хорошо бы ещё upsmon запустить и проверить выключение при > садящейся батарее, но это гораздо менее удобный эксперимент. > Вынимаем шнур из упса. Broadcast message from ... : UPS ups@localhost on battery $ upsc ups@localhost battery.voltage: 12.20 battery.voltage.nominal: 12.0 beeper.status: enabled device.type: ups driver.name: blazer_ser driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ttyS0 driver.version: 2.6.3 driver.version.internal: 1.51 input.current.nominal: 1.0 input.frequency: 50.0 input.frequency.nominal: 50 input.voltage: 17.4 input.voltage.fault: 17.4 input.voltage.nominal: 220 output.voltage: 226.7 ups.delay.shutdown: 30 ups.delay.start: 180 ups.load: 5 ups.status: OB ups.temperature: 25.0 ups.type: offline / line interactive Прошло пятьдесят две минуты, напряжение на батарее упало до 11 вольт. (Broadcast message from: пропускаю) UPS ups@localhost battery is low Executing automatic power-fail shutdown Auto logout and shutdown proceeding The system is going down for system halt NOW! Было: корректный shutdown сервера и через 30 сек отключение UPS. Икебана? -- С уважением, Павел Исопенко
next prev parent reply other threads:[~2012-04-04 8:00 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-01 17:35 Michael Shigorin 2012-04-01 18:02 ` Vladimir Karpinsky 2012-04-01 19:24 ` Maks Re 2012-04-01 19:42 ` Michael Shigorin 2012-04-02 14:07 ` Michael Shigorin 2012-04-02 17:10 ` Vladimir Karpinsky 2012-04-02 17:41 ` Michael Shigorin 2012-04-02 20:04 ` Vladimir Karpinsky 2012-04-14 5:38 ` Vladimir Karpinsky 2012-04-14 6:06 ` Vladimir Karpinsky 2012-04-14 9:37 ` Michael Shigorin 2012-04-03 22:29 ` Michael Shigorin 2012-04-04 8:00 ` Павел Исопенко [this message] 2012-04-04 10:37 ` Sergey 2012-04-05 9:05 ` Павел Исопенко 2012-04-07 11:04 ` Sergey 2012-04-04 13:12 ` Michael Shigorin
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=1333526454.7740.11.camel@localhost.localdomain \ --to=admin@pauli.ru \ --cc=shigorin@gmail.com \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git