ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] apcupsd master/slave
@ 2003-10-27 11:34 Serge V Kompan
  2003-10-27 15:25 ` [sisyphus] " Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: Serge V Kompan @ 2003-10-27 11:34 UTC (permalink / raw)
  To: sisyphus

Стоит в системе apcupsd-3.10.5-alt1, перекомпиленный с поддержкой
master/slave
Есть BACK UPS Pro 1400, который подключен к порту ttyS0 кабелем
940-0020B
В режиме standalone - все прекрасно работает.
Теперь я поставил его в режим master.
на другом компьютере поднял apcupsd-3.10.5-alt1 в качестве slave
Но когда перегружаю демон apcupsd то он по какой то причине не
подымаеться.
В логах пишеться что он поднялся и больше ничего!!!
Поэтому есть вопросы:

1: что нужно прописать что бы логи были на slave более информативные
(ставил в /etc/~init.d/apcupsd в парметре запуска демона -d 4 - но
результата не дало)
2: подскажите возможную ошибку в конфигах
Привожу минимальный набор параметров для master/slave
UPSTYPE backups
UPSCABLE 940-0020B
DEVICE /dev/ttyS0
LOCKFILE /var/lock/serial
NETSERVER on    # if off then use inetd
SERVERPORT 7000
EVENTSFILE /var/log/apcupsd/events
ANNOY 300       # annoy logged in users every 5 min
ANNOYDELAY 120  # start annoy after 2 min of power failure
NOLOGON disable
BATTERYLEVEL -1
MINUTES -1      # shutdown on low battery signal
TIMEOUT 0       # expire timer to shutdown
KILLDELAY 0     # better to 0 on unix (from manual)
STATTIME 0      # obsolete
DATATIME 60
STATFILE /var/log/apcupsd/status
FACILITY local3
UPSCLASS netmaster
UPSMODE net
NETPORT 65535
SLAVE inter.trata.ta
SENSITIVITY L
WAKEUP 300      # wake up not earlier than 5 min after power restored
SLEEP 180       # sleep 3 min before kill the power
RETURNCHARGE 15 # power on after charging to 15%
UPSNAME SU1400

slave
UPSCABLE ether
UPSTYPE backups
LOCKFILE /var/lock/serial
NETSERVER off
UPSCLASS netslave
UPSMODE net
NETPORT 65535
MASTER <указываю имя мастера>
  

-- 
С уважением,
 Serge                          mailto:skompan@kspu.kr.ua



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [sisyphus] Re: apcupsd master/slave
  2003-10-27 11:34 [sisyphus] apcupsd master/slave Serge V Kompan
@ 2003-10-27 15:25 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2003-10-27 15:25 UTC (permalink / raw)
  To: sisyphus

On Mon, Oct 27, 2003 at 01:34:24PM +0200, Serge V Kompan wrote:
> Стоит в системе apcupsd-3.10.5-alt1, перекомпиленный с
> поддержкой master/slave

nut?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-27 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-27 11:34 [sisyphus] apcupsd master/slave Serge V Kompan
2003-10-27 15:25 ` [sisyphus] " Michael Shigorin

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