Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #192782 > unrolled thread

Re: Were is gapcmon?

Started byMarc Auslander <marcslists@gmail.com>
First post2018-02-20 20:10 +0100
Last post2018-03-01 03:40 +0100
Articles 9 — 4 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Were is gapcmon? Marc Auslander <marcslists@gmail.com> - 2018-02-20 20:10 +0100
    Re: Were is gapcmon? "Juan R. de Silva" <juan.r.d.silva@gmail.com> - 2018-02-21 17:10 +0100
    Re: Were is gapcmon? Roberto C. Sánchez <roberto@debian.org> - 2018-02-22 02:40 +0100
      Re: Were is gapcmon? "Juan R. de Silva" <juan.r.d.silva@gmail.com> - 2018-02-22 03:10 +0100
        Re: Were is gapcmon? Roberto C. Sánchez <roberto@debian.org> - 2018-02-22 03:40 +0100
          Re: Were is gapcmon? "Juan R. de Silva" <juan.r.d.silva@gmail.com> - 2018-02-22 16:30 +0100
            Re: Were is gapcmon? Roberto C. Sánchez <roberto@debian.org> - 2018-02-22 16:40 +0100
    Re: Were is gapcmon? "Juan R. de Silva" <juan.r.d.silva@gmail.com> - 2018-02-22 02:40 +0100
    Re: Were is gapcmon? Richard Hector <richard@walnut.gen.nz> - 2018-03-01 03:40 +0100

#192782 — Re: Were is gapcmon?

FromMarc Auslander <marcslists@gmail.com>
Date2018-02-20 20:10 +0100
SubjectRe: Were is gapcmon?
Message-ID<vllsC-4Fw-17@gated-at.bofh.it>
"Juan R. de Silva" <juan.r.d.silva@gmail.com> writes:

>I've been using gapcmon GUI to control my APC UPS backup units for years. 
>I cannot find it in Debian Stretch repos. Was the package removed? For 
>what reason? What can I use in its stead?
>
>Thanks.

I've always use apcupsd which still works in stretch.  My use is pretty
trivial - just reports - I don't do anything automatic on power fail
since I can't figure out how to do anything that will always wind up
with my machine running when the power comes back!

[toc] | [next] | [standalone]


#192821

From"Juan R. de Silva" <juan.r.d.silva@gmail.com>
Date2018-02-21 17:10 +0100
Message-ID<vlF7X-ux-13@gated-at.bofh.it>
In reply to#192782
On Tue, 20 Feb 2018 14:03:01 -0500, Marc Auslander wrote:

> "Juan R. de Silva" <juan.r.d.silva@gmail.com> writes:
> 
>>I've been using gapcmon GUI to control my APC UPS backup units for
>>years.
>>I cannot find it in Debian Stretch repos. Was the package removed? For
>>what reason? What can I use in its stead?
>>
>>Thanks.
> 
> I've always use apcupsd which still works in stretch.  My use is pretty
> trivial - just reports - I don't do anything automatic on power fail
> since I can't figure out how to do anything that will always wind up
> with my machine running when the power comes back!

It's nice to here that it still works in Stretch but where did you get 
the package to install?  As I said it is not in repos any longer. Do you 
think you can share it with me? :-)

[toc] | [prev] | [next] | [standalone]


#192866

FromRoberto C. Sánchez <roberto@debian.org>
Date2018-02-22 02:40 +0100
Message-ID<vlO1z-66G-3@gated-at.bofh.it>
In reply to#192782
On Thu, Feb 22, 2018 at 01:30:40AM +0000, Juan R. de Silva wrote:
> On Tue, 20 Feb 2018 14:03:01 -0500, Marc Auslander wrote:
> 
> > "Juan R. de Silva" <juan.r.d.silva@gmail.com> writes:
> > 
> >>I've been using gapcmon GUI to control my APC UPS backup units for years. 
> >>I cannot find it in Debian Stretch repos. Was the package removed? For 
> >>what reason? What can I use in its stead?
> >>
> >>Thanks.
> > 
> > I've always use apcupsd which still works in stretch.  My use is pretty
                    ^^^^^^^
> > trivial - just reports - I don't do anything automatic on power fail
> > since I can't figure out how to do anything that will always wind up
> > with my machine running when the power comes back!
> 
> So you shared with my your joy using it but spared the where you get it. 
> Well, enjoy your little secret. :-)
> 

Juan,

He was saying that he uses apcupsd, not gapcmon. There is no secret. As
you know, gapcmon really is gone and apcupsd is available in all current
Debian releases.

Regards,

-Roberto
-- 
Roberto C. Sánchez

[toc] | [prev] | [next] | [standalone]


#192868

From"Juan R. de Silva" <juan.r.d.silva@gmail.com>
Date2018-02-22 03:10 +0100
Message-ID<vlOuC-6x5-1@gated-at.bofh.it>
In reply to#192866
On Wed, 21 Feb 2018 20:36:03 -0500, Roberto C. Sánchez wrote:

> On Thu, Feb 22, 2018 at 01:30:40AM +0000, Juan R. de Silva wrote:
>> On Tue, 20 Feb 2018 14:03:01 -0500, Marc Auslander wrote:
>> 
>> > "Juan R. de Silva" <juan.r.d.silva@gmail.com> writes:
>> > 
>> >>I've been using gapcmon GUI to control my APC UPS backup units for
>> >>years.
>> >>I cannot find it in Debian Stretch repos. Was the package removed?
>> >>For what reason? What can I use in its stead?
>> >>
>> >>Thanks.
>> > 
>> > I've always use apcupsd which still works in stretch.  My use is
>> > pretty
>                     ^^^^^^^
>> > trivial - just reports - I don't do anything automatic on power fail
>> > since I can't figure out how to do anything that will always wind up
>> > with my machine running when the power comes back!
>> 
>> So you shared with my your joy using it but spared the where you get
>> it.
>> Well, enjoy your little secret. :-)
>> 
>> 
> Juan,
> 
> He was saying that he uses apcupsd, not gapcmon. There is no secret. As
> you know, gapcmon really is gone and apcupsd is available in all current
> Debian releases.

Ups, I've totaly missed that Marc said 'apcupsd'. In this case here are 
my deep appologies to Marc and everybody Being over busy last couple of 
days I was quite hasty in this case. Sorry.

BTW. about apcupsd-cgi. I found that in order to use it I need to install 
appache2. I never needed to run a server on my home desktop before. 
Wouldn't it be a little overkill to install appache server only to use 
apcupsd web interface? 

I'm realy not sure I want to spend a lot of time on securing and then 
maintaning the server. However I'm not realy familiar with the matter. Is 
it over complicated or I'd rather use CLI to control apcuspd daemon?

Thanks.

[toc] | [prev] | [next] | [standalone]


#192869

FromRoberto C. Sánchez <roberto@debian.org>
Date2018-02-22 03:40 +0100
Message-ID<vlOXE-6Kh-5@gated-at.bofh.it>
In reply to#192868
On Thu, Feb 22, 2018 at 02:04:12AM +0000, Juan R. de Silva wrote:
> 
> Ups, I've totaly missed that Marc said 'apcupsd'. In this case here are 
> my deep appologies to Marc and everybody Being over busy last couple of 
> days I was quite hasty in this case. Sorry.
> 
No problem. I certainly was not offended. It was an honest mistake.

> BTW. about apcupsd-cgi. I found that in order to use it I need to install 
> appache2. I never needed to run a server on my home desktop before. 
> Wouldn't it be a little overkill to install appache server only to use 
> apcupsd web interface? 
> 
The dependency is 'apache2 | httpd', so you can use just about any web
server since they all support CGI. You might find lighttpd simpler than
apache2.

> I'm realy not sure I want to spend a lot of time on securing and then 
> maintaning the server. However I'm not realy familiar with the matter. Is 
> it over complicated or I'd rather use CLI to control apcuspd daemon?
> 
That is a choice you have to make. If you run a firewall on your machine
and you do not expose the ports (3551 for apcupsd and 80 for httpd),
then there is no real concern. That said, if you do not want to worry
about a webserver, you can probably script something that retrieves that
data from the apcupsd process on port 3551. It should not require very
much effort at all.

Regards,

-Roberto

-- 
Roberto C. Sánchez

[toc] | [prev] | [next] | [standalone]


#192892

From"Juan R. de Silva" <juan.r.d.silva@gmail.com>
Date2018-02-22 16:30 +0100
Message-ID<vm0YO-6GG-9@gated-at.bofh.it>
In reply to#192869
On Wed, 21 Feb 2018 21:38:55 -0500, Roberto C. Sánchez wrote:

> On Thu, Feb 22, 2018 at 02:04:12AM +0000, Juan R. de Silva wrote:
>> 
>> Ups, I've totaly missed that Marc said 'apcupsd'. In this case here are
>> my deep appologies to Marc and everybody Being over busy last couple of
>> days I was quite hasty in this case. Sorry.
>> 
> No problem. I certainly was not offended. It was an honest mistake.
> 
>> BTW. about apcupsd-cgi. I found that in order to use it I need to
>> install appache2. I never needed to run a server on my home desktop
>> before. Wouldn't it be a little overkill to install appache server only
>> to use apcupsd web interface?
>> 
> The dependency is 'apache2 | httpd', so you can use just about any web
> server since they all support CGI. You might find lighttpd simpler than
> apache2.
> 
>> I'm realy not sure I want to spend a lot of time on securing and then
>> maintaning the server. However I'm not realy familiar with the matter.
>> Is it over complicated or I'd rather use CLI to control apcuspd daemon?
>> 
> That is a choice you have to make. If you run a firewall on your machine
> and you do not expose the ports (3551 for apcupsd and 80 for httpd),
> then there is no real concern. That said, if you do not want to worry
> about a webserver, you can probably script something that retrieves that
> data from the apcupsd process on port 3551. It should not require very
> much effort at all.

Thanks, Roberto.

[toc] | [prev] | [next] | [standalone]


#192893

FromRoberto C. Sánchez <roberto@debian.org>
Date2018-02-22 16:40 +0100
Message-ID<vm18u-6LJ-1@gated-at.bofh.it>
In reply to#192892
On Thu, Feb 22, 2018 at 03:19:36PM +0000, Juan R. de Silva wrote:
> On Wed, 21 Feb 2018 21:38:55 -0500, Roberto C. Sánchez wrote:
> 
> > That is a choice you have to make. If you run a firewall on your machine
> > and you do not expose the ports (3551 for apcupsd and 80 for httpd),
> > then there is no real concern. That said, if you do not want to worry
> > about a webserver, you can probably script something that retrieves that
> > data from the apcupsd process on port 3551. It should not require very
> > much effort at all.
> 
> Thanks, Roberto.
> 
I went poking around on my machine and found that if you install the
apcupsd-doc package, then you end with a bunch of examples in
/usr/share/doc/apcupsd/examples/. There appear to be examples at least
in C, Tcl, and shell. You might find something helpful there.

Regards,

-Roberto

-- 
Roberto C. Sánchez

[toc] | [prev] | [next] | [standalone]


#192867

From"Juan R. de Silva" <juan.r.d.silva@gmail.com>
Date2018-02-22 02:40 +0100
Message-ID<vlO1z-66G-5@gated-at.bofh.it>
In reply to#192782
On Tue, 20 Feb 2018 14:03:01 -0500, Marc Auslander wrote:

> "Juan R. de Silva" <juan.r.d.silva@gmail.com> writes:
> 
>>I've been using gapcmon GUI to control my APC UPS backup units for years. 
>>I cannot find it in Debian Stretch repos. Was the package removed? For 
>>what reason? What can I use in its stead?
>>
>>Thanks.
> 
> I've always use apcupsd which still works in stretch.  My use is pretty
> trivial - just reports - I don't do anything automatic on power fail
> since I can't figure out how to do anything that will always wind up
> with my machine running when the power comes back!

So you shared with my your joy using it but spared the where you get it. 
Well, enjoy your little secret. :-)

[toc] | [prev] | [next] | [standalone]


#193239

FromRichard Hector <richard@walnut.gen.nz>
Date2018-03-01 03:40 +0100
Message-ID<vomit-4eY-1@gated-at.bofh.it>
In reply to#192782

[Multipart message — attachments visible in raw view] — view raw

On 21/02/18 08:03, Marc Auslander wrote:
> "Juan R. de Silva" <juan.r.d.silva@gmail.com> writes:
> 
>> I've been using gapcmon GUI to control my APC UPS backup units for years. 
>> I cannot find it in Debian Stretch repos. Was the package removed? For 
>> what reason? What can I use in its stead?
>>
>> Thanks.
> 
> I've always use apcupsd which still works in stretch.  My use is pretty
> trivial - just reports - I don't do anything automatic on power fail
> since I can't figure out how to do anything that will always wind up
> with my machine running when the power comes back!

I think you can usually set the power-on behaviour in the BIOS (or EFI,
presumably) - independently of the OS or any shutdown process.

Richard


[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web