Discussion:
[Nut-upsuser] Belkin usp startup
Gene Heskett
2014-10-14 18:51:03 UTC
Permalink
Hi Charles;

I think its not working yet even though I seem to be getting only one
error, but I cannot seem to get upsmon to output the current ups status.

So, since I cannot find any manpages (is that a separate package, if so I
did not see it in the repo.)

about the only error I can get out of it is that it is not listening on
localhost:3493. Yet that is specified in the conf files:

ene at coyote:/etc/nut$ sudo grep localhost *
hosts.conf:MONITOR myups at localhost "Local UPS"
upsd.conf:# This defaults to the localhost listening address and port
3493. You
upsd.users:# MONITOR myups at localhost 1 upsmon pass master (or slave)
upsmon.conf:# like ups at localhost, su700 at mybox, etc.

upsmon.conf:MONITOR myups at localhost 1 gene xxxpassxxxx master

upsmon.conf:# MONITOR myups at localhost 1 upsmon pass master (or slave)
upssched.conf:# If a specific UPS (myups at localhost) comes back online,
then stop the
upssched.conf:# AT COMMOK myups at localhost CANCEL-TIMER upsgone
upsstats-single.html:<!-- LINK REL="stylesheet" TYPE="text/css"
HREF="http://localhost/nut/nut.css" / -->

Is there, someplace in this deb install, a README that helps one to set it
up correctly?

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
Charles Lepple
2014-10-15 00:28:36 UTC
Permalink
Post by Gene Heskett
I think its not working yet even though I seem to be getting only one
error, but I cannot seem to get upsmon to output the current ups status.
I don't have a working Ubuntu 10.04 configuration to check, but I think that it tries to start the driver first, and if that doesn't work, it probably doesn't start upsd.
Post by Gene Heskett
So, since I cannot find any manpages (is that a separate package, if so I
did not see it in the repo.)
You're using .debs, right?

http://packages.ubuntu.com/lucid/i386/nut/filelist shows a bunch of man pages installed in /usr/share/man
Post by Gene Heskett
about the only error I can get out of it is that it is not listening on
Technically, the listening address is in upsd.conf (defaults to "LISTEN 127.0.0.1" for IPv4). The MONITOR lines are trying to connect to upsd's listening port.
--
Charles Lepple
clepple at gmail
Loading...