Re: [Nut-upsuser] mustek powermust 1060 - upsmon wodoo and crappy messages

2011-08-22 Thread Rob MacGregor
On Mon, Aug 22, 2011 at 19:49,   wrote:
>
> Hello and thanks for reply, but still unclear for me your answer.
>
> What to understand? Nut will be able to do a clean shutdown even if it
> cannot read/estimate runtime? Does it mean that everything is ok with this
> ups?

Yes, because NUT will start the shutdown only when the UPS signals
that the battery is low, not based off of the runtime estimate. Even
if your UPS provided an estimated runtime this would still be the way
NUT worked.

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] power on settings after a power failure

2010-07-15 Thread Rob MacGregor
On Fri, Jul 16, 2010 at 05:19, James  wrote:
>
>  Can I set any UPS to only provide power after the battery is charged to a
> certain level?
> Or better yet, a certain length on consecutive time when the power has been
> on.
>
> I'd be worried about flapping, where the power goes on and off.

ISTR that support for that kind of feature can only be done in the UPS
itself, and not all support it.

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] MGE Ellipse 500 USB power failure problem

2010-01-03 Thread Rob MacGregor
On Sun, Jan 3, 2010 at 22:35, Dimitris Mandalidis  wrote:
>
> Never. There are LED indicators for this according to the manual.

Doesn't mean much - if you're only getting 30 seconds of runtime your
batteries aren't healthy (or you've massively overloaded the UPS).

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] nut files empty

2009-10-31 Thread Rob MacGregor
On Sat, Oct 31, 2009 at 11:12, mystified  wrote:
> I just installed nut in Debian and all of my files are missing.   I'm not
> even sure what all files are required.  I hope someone can give me the list
> of the files and I can create them.  Also if there is any pertinent info I
> need.

How did you install it - from source of through apt-get/aptitude/etc?
What version did you install?  What do you mean when you say "all of
my files are missing"?

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] networkupstools.org domain

2009-09-13 Thread Rob MacGregor
On Sun, Sep 13, 2009 at 10:31, Daniel O'Connor  wrote:
>
> Hmm, are you sure? http://www.networkupstools.org/ gives me the gandi
> parked domain page.

I too see the parked domain page, so it's not an issue with cached values.

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Slave as master

2009-06-03 Thread Rob MacGregor
On Wed, Jun 3, 2009 at 13:11, Scott Evans  wrote:
> I have a similar question to this as well, in that I have my server set up
> using NUT with a SOLA-330 (working nicely!) and my desktop is using an APC
> BackUPS-300 (this model has no serial/USB comms) as the SOLA & APC are rated
> the same, I was wanting my server to send a broadcast packet across my LAN
> to force all PC's (that are still powered by UPS's) to shut down... (I have
> a third desktop without a UPS at this time! and in the event of a power
> outage this will already be down!)
>
> Is this possible to be done? if so, where can I find such information?

A machine can be a master for an UPS that it isn't powered by.  The
documentation has covered this for at least 5 years now ;)

-- 
         Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Belkin support?

2009-05-31 Thread Rob MacGregor
On Sun, May 31, 2009 at 19:26, Gene Heskett  wrote:
> Greetings;
>
> I have the newest nut (nut-2.2.2-4.fc10.i386) from fedora 10 repos) installed
> and this ups (from lsusb -vv):

Note that 2.2.2 is over a year old.  2.4.1 is the latest version.  If
you run into any problems expect to be advised to upgrade.

> As nut comes totally non-configured, is there an instructional web page?, or
> can someone please tell me how to make this combo work with linux?

http://www.networkupstools.org/, and the man pages ;)

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Where are usbhid-ups driver parameters defined - and what do some of them mean?

2009-05-22 Thread Rob MacGregor
On Fri, May 22, 2009 at 08:41, Richard Chapman  wrote:
> I am using the usbhid-ups driver with a Belkin UPS.
> upsc shows several parameters which I would like to both understand and
> probably change. In particular the following part of upsc output:
>
> battery.charge.low: 30
> battery.charge.warning: 30
> battery.runtime: 120
>
> My questions are:
>
> 1) What is the difference between battery.charge.low and
> battery.charge.warning? I presume these are % thresholdsWhich of these
> triggers the low battery event?
> 2) Is there some way to change these? 30% charge seems to me to be sailing a
> little close to the wind. As the battery ages - I'm sure the UPS will cut
> out long before "zero" is reached. Also - if it comes back up with  < 30%
> charge - and another power fail occurs soon after - that is not good. Are
> these set i the source code - or is there another config file somewhere.
> upsrw doesn't appear to be able to change these.
> 3) What exactly is battery.runtime.

This answer in the list archive
(http://osdir.com/ml/monitoring.nut.user/2007-12/msg00014.html) covers
at least some of your questions.  This
(http://www.mscs.dal.ca/~selinger/ups/backups.html) slightly old page
describes the variables you list.

In short, not all UPS units support changing the low battery level and
the battery.runtime is the runtime in seconds of your UPS on
batteries.  The link says it's without load, but I have a unit that
changes that reported value based upon load.  Either way, 120 seconds
is not enough time to shut down.  Either your UPS is under specified
(ie the load is high) or the batteries are very, very, old.

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB

2009-05-10 Thread Rob MacGregor
On Sun, May 10, 2009 at 22:44, Vianney Lejeune  wrote:
>
> Ok ;-). Where can I find the value of the ./configure switches used in the
> Debian package ?

I'd ask the package maintainer.  His name is Arnaud Quette, you may
just seem him active on this list ;)

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB

2009-05-10 Thread Rob MacGregor
On Sun, May 10, 2009 at 22:10, Vianney Lejeune  wrote:
>
> I would like too, but I can't do it without breaking the dependencies as a
> newer version is no longer available on Etch.

Install from the source.  It's not difficult ;)

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] ups.delay.shutdown clarification

2009-02-25 Thread Rob MacGregor
On Wed, Feb 25, 2009 at 19:13, Des Dougan  wrote:
> A client of mine has an APC Back-UPS 350 model (USB connected). His
> office had a power incident yesterday, where there was an interruption
> of about 30 seconds. During that time, the server shut down. As soon
> as it went on battery, the daemon initiated a shutdown. In checking it
> today, I see the ups.delay.shutdown setting is -1. I tried to adjust
> it, but could not do so.
>
> What does the "-1" setting mean? I Googled, but couldn't find anything
> relevant. Am I correct in assuming it is this setting that caused the
> immediate shutdown? Today, the UPS shows a load of 35, via the upsc
> command, so it doesn't appear it was overloaded.

However you may find that it almost immediately hit low battery (LB)
due to an aged and failing battery - a not uncommon problem.

You need to do a test to find out if that is the problem.  The real
world test is, of course, to pull the power from the UPS (while
watching the charge of the UPS).  More practically is to move
everything off the UPS and plug in a load (one or 2 100W light bulbs)
and do the same test, but not risking the server ;)

You'll find chapter and verse on this in the list archive.

-- 
     Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Network UPS Tools version 2.4.1 released

2009-02-17 Thread Rob MacGregor
On Tue, Feb 17, 2009 at 10:12, Scott Evans  wrote:
> Hi Arnaud...
>
> Will this update be made available as .deb file ??? I'm using Ubuntu, I
> prefer to use files from the repositories over compiling,

That is going to be largely in the hands of those managing the
repositories I suspect - you should ask the maintainer of the NUT
package.

> and is there
> really a need to update to this version from 2.2.2 ???

That's always a personal/business call.  If there have been any
security vulnerabilities fixed since 2.2.2 (that haven't been back
ported by the package maintainer) then I would say you should.
Otherwise, only if you have a problem with your 2.2.2 install or it is
lacking a feature in the current version that you need.

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-22 Thread Rob MacGregor
On Sat, Nov 22, 2008 at 20:20, Charles Lepple <[EMAIL PROTECTED]> wrote:
>
> I have not been following this closely... did we verify that the
> permissions are correct? That can also cause the "No matching UPS"
> message.

Well, it was installed from a package so the odds are reasonable,
though I haven't checked permissions because I've no idea how the
Gentoo package is set up.

I'm also badly out of touch with the internals of NUT, but nobody else
seems to be around so I'm trying to work it through one step at a time
;)

-- 
     Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-22 Thread Rob MacGregor
On Sat, Nov 22, 2008 at 11:32, Barb Smith <[EMAIL PROTECTED]> wrote:
>
> gentoo mystified # /etc/init.d/upsdrv start
>  * Starting UPS drivers ...
> Network UPS Tools - UPS driver controller 2.2.2
> Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.11 (2.2.2)
> Warning: This is an experimental driver.
> Some features may not function correctly.
>
> No matching USB/HID UPS found
> Driver failed to start (exit status=1)
>  * Failed to start UPS drivers!

So, that says that your UPS isn't supported by that driver.  In his
first reply Charles listed 2 drivers to try.  You've tried one, now
try the other...

-- 
         Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-22 Thread Rob MacGregor
On Sat, Nov 22, 2008 at 03:49, Barb Smith <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] ~ $ ls /lib/nut/
> al175 bestups   genericups   mge-utalkrhino
>  upsdrvctl
> apcsmart  cpsupsisbmex   netxml-ups   safenet
>  usbhid-ups
> bcmxcpcyberpowerliebert  newmge-shut  skel
> victronups
> bcmxcp_usbdummy-ups masterguard  nitram   solis
> belkinenergizerups  megatec  oneactripplite
> belkinunv etapromegatec_usb  optiups  tripplite_usb
> bestfcom  everups   metasys  powercom tripplitesu
> bestuferrups  gamatronicmge-shut powerpanel   upscode2

So, you need to be using an ups driver that exists (which at least one
other person has already said) ;)


-- 
         Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-21 Thread Rob MacGregor
On Fri, Nov 21, 2008 at 16:42, Barb Smith <[EMAIL PROTECTED]> wrote:
>
>  * Starting UPS drivers ...
> Network UPS Tools - UPS driver controller 2.2.2
> Can't start /lib/nut/tripplite-ups: No such file or directory
>  * Failed to start UPS drivers!

Whats in your upsd.conf?  What's the output of:

ls /lib/nut


-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-21 Thread Rob MacGregor
reading difficult
as it makes
not top post
Can you please

On Fri, Nov 21, 2008 at 14:33, Barb Smith <[EMAIL PROTECTED]> wrote:
>
> That's the problem.  It shows the drivers are running and I can't kill
> them but they don't show up in ps aux.  I get the following:
> gentoo mystified # /etc/init.d/upsdrv restart
>  * Stopping UPS drivers ...
> Network UPS Tools - UPS driver controller 2.2.2
> Can't open /var/lib/nut/tripplite-ups-auto.pid: No such file or directory
>  * Failed to stop UPS drivers!
>
> I can't find anything in syslog.  The problem is that on the gentoo forum
> almost no one uses nut.  They use another program.  With my old ups I got
> help from a nut developer who was a gentoo user.

Try:

/etc/init.d/upsdrv zap
/etc/init.d/upsdrv start

-- 
     Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-21 Thread Rob MacGregor
On Fri, Nov 21, 2008 at 09:49, Barb Smith <[EMAIL PROTECTED]> wrote:
> I use gentoo and I installed through portage.  I use /etc/init.d/upsdrv to
> start the driver and /etc/init.d/upsmon to start the daemon.

Ah, one of the distros that IMO aren't so friendly for those new to Linux ;)

So, when you start the driver, what errors do you get?  What appears
in the logs?

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-21 Thread Rob MacGregor
On Fri, Nov 21, 2008 at 06:26, Barb Smith <[EMAIL PROTECTED]> wrote:
> yes the directory exists but the drivers are in another directory inside
> that one.  I do have nut set to ownership.

What distro are you using, how did you install NUT and how are you
trying to start it?

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-21 Thread Rob MacGregor
On Fri, Nov 21, 2008 at 05:55, Barb Smith <[EMAIL PROTECTED]> wrote:
> My problem is that nut isn't recognizing the driver
>
> Network UPS Tools - UPS driver controller 2.2.2
> Can't open /var/lib/nut/tripplite-ups-auto.pid: No such file or directory

Does the directory /var/lib/nut exist?

Does the user you're running NUT as own the directory?

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Tripp-lite Omni VS1000

2008-11-20 Thread Rob MacGregor
On Thu, Nov 20, 2008 at 13:39, Barb Smith <[EMAIL PROTECTED]> wrote:
> I just purchased a new ups and I'm unsure about several things.  For one
> thing I don't know what driver I need.  Also, it uses a usb port and I had
> a serial port before.  I'm not sure how this needs to be set up.  Thanks
> in advance for help

Checking the list of supported models:

http://www.networkupstools.org/compat/stable.html

doesn't list that model.  It might work with the usbhid-ups driver.

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] MGE Pulsar EX over serial problem (FreeBSD)

2008-11-18 Thread Rob MacGregor
On Tue, Nov 18, 2008 at 09:27, Arnaud Quette <[EMAIL PROTECTED]> wrote:
> I've installed a FreeBSD into VirtualBox, but haven't yet completed
> this install (what's the right command to install nut btw?)

cd /usr/ports/sysutils/nut && make install

;)

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Access to internal UPS logs?

2008-09-17 Thread Rob MacGregor
On Wed, Sep 17, 2008 at 08:11, James Harper
<[EMAIL PROTECTED]> wrote:
>
> It's a brand new UPS (3 weeks old) and has failed this way twice, both
> after hours. No other equipment at the same site was affected indicating
> that there were no power problems.

I'd still second Arjen's recommendation - I've had an UPS that
reported a battery state that was healthy, but failed upon switching
to battery in under a second (the delay was enough to be apparent, but
too short to be timed).  That it is new doesn't preclude a
failed/failing battery.

-- 
 Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
 doesn't become a monster. Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] couple questions about supported UPSes and politics of purchase

2008-01-18 Thread Rob MacGregor
On Jan 18, 2008 1:47 PM, Eric S. Johansson <[EMAIL PROTECTED]> wrote:
> a customer of mine needs a UPS capable of supporting a small server in his
> office.  Obviously, nut is a good thing for him for clean shutdown etc.
> especially with the crappy quality power in his office condo.
>
> I wanted to purchase an MGE UPS but it looks like they purchased APC and are 
> now
> flogging that product line.  Now, I've never been happy with APC.  I have an 
> APC
> 3000 (sans batteries) sitting in the basement.  It worked but, it needs new
> batteries every 24 months and they get expensive.  (Note: if you're in the
> Boston area and you want it, make me a reasonable offer either in cash or
> equipment trade and it's yours.) And I had a little 350 unit for my wife's
> desktop which also ate batteries.  Contrast to the Belkin 1100 units I have
> running a couple servers and some switches in the basement.  They've worked
> really well with decent battery life.  I might even get brave enough to 
> connect
> NUT to them this weekend.  :-)

I've got a pair of SOHO type units.  A little 650 VA Belkin unit,
that's ok (nothing special, but at that price I didn't expect anything
else) and an MGE Ellipse unit.  The MGE is a better unit, but the
internal fan is starting to fail (it sounds like dust-related
problems), I now have to work out if it's worth trying to/is possible
to replace the fan, or just replace the unit with one with out a fan.

Despite that, I'd still buy MGE-OPS over Belkin.  The units seem
better built and mine has been more reliable than my Belkin.  The fact
that they support open source is a major advantage IMO (yes, I'm
biased, have you tried the Belkin Bulldog software under Linux?).

Either way, you'll need to replace the batteries every few years.
Over time they degrade and stop holding any meaningful charge.  After
about 3-4 years my Belkin batteries only held about 2 seconds of
runtime (as I discovered when the power went out, the Belkin beeped
once and died).

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Spurious shutdown

2007-06-27 Thread Rob MacGregor
On 6/27/07, Darren Salt <[EMAIL PROTECTED]> wrote:
> I had a brief power interruption this evening which caused a spurious
> shutdown. The system log contains a report of "low battery" status; however,
> checking the battery soon after powering up again showed a fairly typical 80%
> charge. The UPS had, however, been beeping to indicate imminent shutdown,
> which is slightly suspicious.
<---SNIP---
> At present, I'm not certain whether this is a bug in nut or a problem with
> the UPS.

Simple test - while watching the reported status from the UPS, pull the plug :)

I had an UPS display similar issues, turned out the batteries were
pretty close to the end of their lives and the once 20 minute runtime
was down to a few minutes - just enough time to flag LB and for (most)
of the systems to shut down cleanly.

Certainly if the UPS itself is providing an audible LB signal then
it's unlikely that NUT caused an un-needed shutdown.

-- 
         Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] I have a Belkin F6C900.

2007-05-31 Thread Rob MacGregor
On 5/31/07, Barb Smith <[EMAIL PROTECTED]> wrote:
> I use a serial port.  The only thing that changed was that I emerged a
> bunch of programs (I use Gentoo).

Keep the traffic on the list.

Ok, so, is that serial cable still connected and what "bunch" of programs?

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] I have a Belkin F6C900.

2007-05-31 Thread Rob MacGregor
On 5/31/07, Barb Smith <[EMAIL PROTECTED]> wrote:
> My Belking is no longer responding to the megatec driver.  I get  *
> Starting UPS drivers ...
> Network UPS Tools - UPS driver controller 2.0.5
> Network UPS Tools - Megatec protocol driver 1.5 (2.0.5)
> Carlos Rodrigues (c) 2003-2006
>
> Megatec protocol UPS not detected.
> Driver failed to start (exit status=1)
>   * Failed to start UPS drivers!

Ok, so what changed?  Did you do anything, has the USB cable become
disconnected, etc?

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Cannot move /bin/upsdrvctl to /sbin

2007-03-13 Thread Rob MacGregor

On 3/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:



Hi,

In Red Hat /etc/init.d/halt script, it expects upsdrvctl to be in /sbin rather
than /bin which sounds normal considering the power of that command.

If I move this file to sbin, this is what I get when invoking it:

[EMAIL PROTECTED] nut-2.0.5]# mv /bin/upsdrvctl /sbin/
[EMAIL PROTECTED] nut-2.0.5]# which upsdrvctl
/sbin/upsdrvctl
[EMAIL PROTECTED] nut-2.0.5]# upsdrvctl
-bash: /bin/upsdrvctl: Aucun fichier ou répertoire de ce type


What if you kick off a fresh shell?  I'm wondering if somehow it's
caching the location of the binary (as csh does).  I've never seen
bash do that before, but there's always a first time :)

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Additional server eralier shutdown condition

2007-02-02 Thread Rob MacGregor

On 2/2/07, Vladimir I. Umnov <[EMAIL PROTECTED]> wrote:


No. It is not true. Documentation says:
 >>>

Early Shutdowns
===

One thing that gets requested a lot is early shutdowns in upsmon.  With
upssched, you can now have this functionality.  Just set a timer for some
length of time at ONBATT which will invoke a shutdown command if it elapses.

Just be sure to cancel this timer if you go back ONLINE before then.

>>>

This means that NUT with upssched set their own timer. I think this is missing 
functionality.
I need UPS monitoring software query my UPSes (APC cannot work with many UPSes 
in native mode,
but can do such query) for current battery level and current estimated run time 
each 5 seconds.
And if it reaches configured value, take appropriate action.

For now it stops me to choose NUT. May be I wrong and it is possible in NUT???


You're missing the point - the UPS tells NUT when it's getting low and
then NUT starts the shutdown.  If you want something to second guess
the UPS then you'll have to look elsewhere.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Additional server eralier shutdown condition

2007-01-31 Thread Rob MacGregor

On 1/31/07, Vladimir I. Umnov <[EMAIL PROTECTED]> wrote:

Is it possible to shutdown earlier by certain conditions: by battery
level and estimated by UPS runtime.
In APCUPSD this done by config options "BATTERYLEVEL" "MINUTES".


As specified in the FAQ, see the man page for upssched.


By what condition NUT shutdown server?


Based on the OB (on battery) and LB (low battery) signals of the UPS (AFAIK).


How to disable UPS shutdown?


I'm assuming you're monitoring the UPS from a host not powered from
it.  See the upsmon man page about the monitor-only option (as
mentioned in the README).

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] close pc

2006-12-29 Thread Rob MacGregor

On 12/29/06, Marc Collin <[EMAIL PROTECTED]> wrote:

hi

i think nut close the computer when the battery is low...
is there a way to close it after a few time is electricity is off?


This is detailed in the FAQ (http://www.networkupstools.org/faq/) which says:

Q: How can I make upsmon shut down my system after some fixed interval?

A: You probably don't want to do this, since it doesn't maximize your
   runtime on battery.  Assuming you have a good reason for it (see
   the next entry), then look at upssched.txt or the upssched man
   page for some ideas.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] MGE Pulsar Extreme communication problems

2006-06-16 Thread Rob MacGregor

On 6/16/06, Arnaud Quette <[EMAIL PROTECTED]> wrote:


> > finally, what are you bsd and libusb versions?
>
> FreeBSD 6.0 and libusb 0.1.12.

IIRC, there were such systems working
@Thierry and Rob: are you facing such problems on your setup?


No, but I'm still using serial on FreeBSD 5.4.  I'm unlikely to be
moving to USB before I upgrade to (at least) FreeBSD 6.1, and that
isn't going to happen soon.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Recommended UPS to buy for use with NUT?

2006-06-05 Thread Rob MacGregor

On 6/4/06, Scott Tuc Ellentuch at T-B-O-H <[EMAIL PROTECTED]> wrote:

Warning on that. Even though the Ellipse Pulsar 1200 I bought
said it would do 90 minutes, its pretty much "hard coded" to just do a
countdown and shutdown within 20-30. Even if you deplete the battery
completely, when you start it up it thinks its at 86% charged. You can't
go by what the MGE calc says and what you'll get for all models.


Hmmm, the MGE unit I've got correctly reports the charge on startup,
but then I bought the Ellipse Premium - maybe it's only the bottom of
the range that suffers this way.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Recommended UPS to buy for use with NUT?

2006-06-04 Thread Rob MacGregor

On 6/4/06, Arjen de Korte <[EMAIL PROTECTED]> wrote:


At least here in the Netherlands, quite a few (cheap) UPSes are sold
nowadays that sport high VA ratings, but really lack the battery
capacity needed to power even a modest load for more than a few minutes.
Clay should avoid these at all cost.


MGE rather usefully do a runtime calculator where you put in the power
draw and required runtime and it suggests options from their range.

Worked like a charm when I used it, however there's a gotcha.  An ups
with a 28 minute runtime may signal LB at 19 minutes, resulting in a
shutdown sometime sooner than you expect :)

If you need a 20 minute actual runtime you'll probably need a 30
minute theoretical runtime.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Various NUT issues/questions

2006-05-13 Thread Rob MacGregor

On 5/13/06, Peter Selinger <[EMAIL PROTECTED]> wrote:

Try poking around in /etc/rc.d, /etc/rc.d/rc.0.

There is a reasonable explanation of how BSD init scripts work, with
example scripts, at
http://www.linuxfromscratch.org/hints/downloads/files/bsd-init.txt

My understanding is that rc.shutdown is called before the actual
shutdown procedure, and is mostly intended (I assume) for user-defined
tasks not directly related to the physical shutdown itself.


And all the FreeBSD documentation agrees with that.

It's probably worth contacting the FreeBSD maintainer about this issue
(if he isn't already subscribed to the list) and asking where the best
place to put the shutdown script is.  You may find that the "early.sh"
script is the best place, though it may need to add the shutdown
keyword to the script to ensure it's called at shutdown.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Re: NUT online compatibility lists (was: PowerWalker UPS - Re-branded Mustek ?)

2006-03-31 Thread Rob MacGregor
On 3/30/06, Ian Pilcher <[EMAIL PROTECTED]> wrote:
> I will certainly attempt to buy one when the time comes to replace my
> aging Belkin model, but this is a product category in which mail order
> isn't exactly economical.

It didn't cost me any more for P&P for my 1200VA MGE unit than it did
for a replacement battery for my little 650VA Belkin.  Obviously
depends on where you buy from.

--
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] 3110us

2006-02-08 Thread Rob MacGregor
On 2/8/06, John H. <[EMAIL PROTECTED]> wrote:
> is 3110us supported now?

You may want to provide details of the manufacturer...

--
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] SOHO Serial Solution needed

2006-01-23 Thread Rob MacGregor
On 23/01/06, Tuc at T-B-O-H <[EMAIL PROTECTED]> wrote:
> As for size, I'm not near the equipment right now (Its a 9
> hour drive away, will be end of this week beginning of next) but the
> regular power strip that I have there is about 6 inches wide, the
> shelf is 12 inches long, and I have about 12 inches of height available.
> As for power demands, I was hoping from a general overview of what I
> was putting on it (See above) that someone could "ballpark" it. I know
> it wouldn't be perfect, but thats fine. As for the backup time, I
> only need about 5 minutes... Enough for the Soekris to get the signal,
> send an email out to me at another location saying the house lost
> power, and then do a fairly proper shutdown (FreeBSD). As for $$, I
> hoped not more than $150 or so.

MGE do a (large) powerstrip UPS called the Protection Center in a
range of VA options.  For low power kit you should get more than 5
minutes of runtime even off the smallest.  You need to do the maths
and use their selector (which I've found to be pretty accurate).

Be warned that the 2900 has a pretty high power draw!

--
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] slave only config files

2005-12-30 Thread Rob MacGregor
On 30/12/05, Carlos Rodrigues <[EMAIL PROTECTED]> wrote:
>
> I don't think so, the only way is to simply not start "upsd" and
> "upsdrvctl". On some Linux distributions one can achieve this just by
> not installing anything other than the "nut-client" package (which
> contains only "upsmon" and "upsc" and friends). On others it is a
> matter of setting some flag in some configuration file (on Debian, for
> example, is "START_UPSD=no" in "/etc/default/nut"). Don't really know
> how to do it on a FreeBSD box.

The nut startup script on FreeBSD is, as it currently exists, an all
or nothing script. You need to comment out the lines you don't want to
be called.

It shouldn't be that hard to split it into a pair of scripts, one for
the client and one for the server (and have the client enabled by the
server keyword too).  I may have a look at that over the next few days
and send a patch to the FreeBSD maintainer.

--
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] I would have to buy a new UPS for my desktop.

2005-12-17 Thread Rob MacGregor
On 17/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> What model?is It proper for desktop pc?

I'd say that an 800 VA UPS is overkill for a desktop, however... I
have the Pulsar Ellipse Premium and they do both 650 and 800 VA
models, which fits for your power range.

MGE do a pretty accurate UPS selector - you tell it what kit you've
got (or ISTR the power draw) and how long you want to keep running. 
Some other suppliers do similar, but I don't know how accurate they
are.

--
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] I would have to buy a new UPS for my desktop.

2005-12-17 Thread Rob MacGregor
On 17/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I would have to buy a new UPS that have to function for a simple desktop PC. 
> I would the best about NUT compatibilty. The class of UPS must be 600-800 VA.
> What do you recommend me?

I'd recommend the MGE range, for 2 reasons:

1) They support the development of NUT :-)
2) I'm more than happy with the one I bought

I also have a Belkin unit, but the MGE has proven a much better purchase.

--
 Please keep list traffic on the list.
Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser