ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Дворников Михаил" <m_dvor@soc.adm.yar.ru>
To: community@altlinux.ru
Subject: Re: [Comm]  программа nut  для  ups
Date: Wed, 29 Dec 2004 16:51:45 +0300
Message-ID: <41D2B671.50601@soc.adm.yar.ru> (raw)
In-Reply-To: <36088.194.67.216.221.1104311409.squirrel@www.samdu.uz>

Nizamov Shavkat пишет:
>>NOCOMMWARNTIME 300 - выключение через 5 минут.
>>Я правильно понял?

Стал еще раз читать доки. И сделал так:

upsmon.conf:
  NOTIFYCMD  echo "Warning" > ./upswarn1
  NOTIFYFLAG ONBATT EXEC

upssched.conf
  CMDSCRIPT echo "Warning"  > ./upswarn2
  AT ONBATT powercom@localhost START_TIMER upsonbatt 10
  AT ONLINE powercom@localhost CANCEL_TIMER upsonbatt

У меня один UPS, как его выключить через 5 минут?
Зачем нужен SHUTDOWNCMD?
После отключения питания не был создан upswarn1 или upswarn2.
-- 
С уважением, Дворников Михаил.


  reply	other threads:[~2004-12-29 13:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-29  9:15 Дворников Михаил
2004-12-29  9:10 ` Nizamov Shavkat
2004-12-29 13:51   ` Дворников Михаил [this message]
2004-12-30  5:43     ` Дворников Михаил
2005-01-03 16:13       ` Nick S. Grechukh

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=41D2B671.50601@soc.adm.yar.ru \
    --to=m_dvor@soc.adm.yar.ru \
    --cc=community@altlinux.ru \
    /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