From: "Dmitry V. Levin" <ldv@alt-linux.org> To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru> Subject: Re: [mdk-re] Мониторинг SmartUPS'а Date: Tue Feb 19 13:32:21 2002 Message-ID: <20020219103938.GA1635@ldv.office.alt-linux.org> (raw) In-Reply-To: <20020219103101.GA23012@home-pool4-78.com2com.ru> [-- Attachment #1: Type: text/plain, Size: 1756 bytes --] On Tue, Feb 19, 2002 at 01:31:01PM +0300, Yura Zotov wrote: > > > > > Да, в общем, не принципиально. Оказалось, что в пакете > > > > > apcupsd-3.8.2-alt1 поломан http-сервер, и ничего, кроме > > > > > /var/lib/apcupsd/apcupsd.status не доступно. Ну, это мы > > > > > переживем. > > > > > > > > Всё там нормально, просто ссылочку ручками пропишите с > > > > /usr/lib/cgi-bin > > > > куда-нибудь типа > > > > /var/www/cgi-bin/apc > > > > И будут Вам и столбики и проценты по адресу > > > > http://www.yourdomain.ru/cgi-bin/apc/upsstats.cgi?host=127.0.0.1 > > > > :) > > > > > > > > > > По-моему, apcnisd все-таки поломан. Вот что валится на консоль. > > > > > > # apcnisd > > > > > > $ telnet localhost 7000 > > > > > > # FATAL ERROR in apcipc.c at line 494 > > > attach_shmarea: shared memory version mismatch (or UPS not yet > > > ready to report) > > > > Надо просто немного подождать - "UPS not yet ready to report". > > А сколько нужно ждать? Я ждал несколько минут, результат не > изменился. При этом, /var/lib/apcupsd/apcupsd.status обновляется > каждые 10 секунд (на время проверки apcnisd я STATTIME > устанавливал в 0). Ждать надо секунд 10-20. > У кого-нибудь это работает? Какие настройки у вас для apcnisd? > Достаточно ли написать в /etc/apcupsd/hosts.allow > MONITOR 127.0.0.1 "Local Host" Я иногда использую "/sbin/apcaccess status", не более того. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.com/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-02-19 13:32 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-19 2:31 Yura Zotov 2002-02-19 2:37 ` "Баталов Григорий" 2002-02-19 3:30 ` Yura Zotov 2002-02-19 9:41 ` [mdk-re] íÏÎÉÔÏÒÉÎÇ SmartUPS'Á Evgeniy Kobzev 2002-02-19 12:16 ` [mdk-re] Мониторинг SmartUPS'а Yura Zotov 2002-02-19 12:39 ` Dmitry V. Levin 2002-02-19 13:25 ` Yura Zotov 2002-02-19 13:32 ` Dmitry V. Levin [this message] 2002-02-19 10:03 ` [mdk-re] íÏÎÉÔÏÒÉÎÇ SmartUPS'Á Russu V.F.
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=20020219103938.GA1635@ldv.office.alt-linux.org \ --to=ldv@alt-linux.org \ --cc=mandrake-russian@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