ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Andrey Liakhovets" <liakh@dol.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] nut в Сизифе
Date: Wed, 24 Aug 2011 08:19:58 +0400
Message-ID: <web-964661432@cgp.dol.ru> (raw)
In-Reply-To: <201108232253.53767@VOMUS>

On Tue, 23 Aug 2011 22:53:53 +0400 "Sergei O. Naumov" wrote:
>В сообщении от 23 августа 2011 10:02:01 автор Andrey Liakhovets написал:
>> >> и если OK - то проверять с помощью upsdrvctl.
>> >
>> >[root@yarilo ~]# service upsdrv start
>> >Starting UPS drivers:                            [DONE]
>> >[root@yarilo ~]# upsc skat@localhost ups.status
>> 
>> Но ведь говорилось об upsdrvctl !
>>
>> >Error: Connection failure: Connectio  refused
>> >
>> >Стало быть всякие chroot'ы сработали, демон запустился, я даже вижу его 
>> >запущенным. Но почему upsc не может получить к нему доступ?
>> 
>> Для upsc надо ещё настроить и запустить upsd
>> (что именно настраивать -- видно из rpm -ql nut-server).
>
>Так демон же работает, с ним нет (как мне кажется, по крайней мере) проблем. 
>upsd настроен в нем указан UPS skat с драйвером genericups и типом
>(пока наобум 4) на порте /dev/ttyUSB0.

Судя по вашим письмам, вы настроили и запустили upsdrv (пакет nut-driver).
Теперь надо настроить и запустить upsd (пакет nut-server).

>Или для upsc надо что-то еще конфигурировать?
>Что тогда?

См. выше.

А ещё потом :), когда вы захотите работать с UPS не только ручками,
но и мониторить его автоматически,
вам потребуется настроить и запустить upsmon (пакет nut).

Может, пойдём с этим в community@ ?

>Кстати, с этим UPS'ом запустил winpower (тоже на Линуксе), он честно увидел 
>его как Vigor (что это такое, кто бы знал) и получал от него по крайней мере 
>два события AC Failed и AC Restored.

winpower не смотрел.

Андрей Ляховец


      reply	other threads:[~2011-08-24  4:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19 17:21 Sergei O. Naumov
2011-08-19 18:25 ` Andrey Liakhovets
2011-08-20  7:33 ` Yura Kalinichenko
2011-08-22 17:05   ` Sergei O. Naumov
2011-08-22 18:53     ` Michael Shigorin
2011-08-23 12:45       ` Yura Kalinichenko
2011-08-23 14:14         ` Michael Shigorin
2011-08-23  6:02     ` Andrey Liakhovets
2011-08-23 18:53       ` Sergei O. Naumov
2011-08-24  4:19         ` Andrey Liakhovets [this message]

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=web-964661432@cgp.dol.ru \
    --to=liakh@dol.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git