<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Monitoring a UPS with nut on Debian or Ubuntu Linux</title>
	<atom:link href="http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/</link>
	<description>tech, politics, etc.</description>
	<lastBuildDate>Mon, 19 Jul 2010 02:20:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Balwinder S Dheeman</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-5852</link>
		<dc:creator>Balwinder S Dheeman</dc:creator>
		<pubDate>Mon, 19 Jul 2010 02:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-5852</guid>
		<description>I on a workstation have:

# Battery powered notebooks need not be shutdown ;)
#SHUTDOWNCMD &quot;/etc/init.d/ups-monitor poweroff&quot;

# Regular machines either may hibernate or shutdown
SHUTDOWNCMD &quot;/etc/init.d/ups-monitor poweroff; /usr/sbin/hibernate&quot;
#SHUTDOWNCMD &quot;/usr/bin/chvt 1; /sbin/shutdown -h +0&quot;

in /etc/nut/upsmon.conf

Hibernation works like a charm, but on resume I found upsd is running whereas upsmon stopped :(

I added:

 resume)
    log_daemon_msg &quot;Resuming $DESC&quot;
    start_stop_client start &amp;&amp; log_progress_msg &quot;upsmon&quot;
    log_end_msg 0
    ;;

to /etc/init.d/nut and

OnResume 20 /etc/init.d/nut resume

to /etc/hibernate/common.conf

And that&#039;s what I wanted it to do :)</description>
		<content:encoded><![CDATA[<p>I on a workstation have:</p>
<p># Battery powered notebooks need not be shutdown ;)<br />
#SHUTDOWNCMD &#8220;/etc/init.d/ups-monitor poweroff&#8221;</p>
<p># Regular machines either may hibernate or shutdown<br />
SHUTDOWNCMD &#8220;/etc/init.d/ups-monitor poweroff; /usr/sbin/hibernate&#8221;<br />
#SHUTDOWNCMD &#8220;/usr/bin/chvt 1; /sbin/shutdown -h +0&#8243;</p>
<p>in /etc/nut/upsmon.conf</p>
<p>Hibernation works like a charm, but on resume I found upsd is running whereas upsmon stopped :(</p>
<p>I added:</p>
<p> resume)<br />
    log_daemon_msg &#8220;Resuming $DESC&#8221;<br />
    start_stop_client start &amp;&amp; log_progress_msg &#8220;upsmon&#8221;<br />
    log_end_msg 0<br />
    ;;</p>
<p>to /etc/init.d/nut and</p>
<p>OnResume 20 /etc/init.d/nut resume</p>
<p>to /etc/hibernate/common.conf</p>
<p>And that&#8217;s what I wanted it to do :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: silber</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-5704</link>
		<dc:creator>silber</dc:creator>
		<pubDate>Thu, 01 Jul 2010 13:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-5704</guid>
		<description>Nice guide.  I had no problems getting my Cyberpower AVR1000 running with this guide on Ubuntu 10.04 64-bit, although I did have to set MODE=standalone in /etc/nut/nut.conf.</description>
		<content:encoded><![CDATA[<p>Nice guide.  I had no problems getting my Cyberpower AVR1000 running with this guide on Ubuntu 10.04 64-bit, although I did have to set MODE=standalone in /etc/nut/nut.conf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dimtass</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-5301</link>
		<dc:creator>dimtass</dc:creator>
		<pubDate>Sun, 23 May 2010 07:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-5301</guid>
		<description>Hi guys. I have a very strange situation here. I&#039;ve just installed and configured upsmon in fedora 12. The pc is connected on a Mustek Powermust 2000VA USB with serial port (ttyS0) and the upsd can communicate with the ups without a problem. Everything works great except one thing, when I shut down the pc the ups is also turns it&#039;s load off, it&#039;s like running the load.off command, therefore all the devices on the ups are turned off (adsl router, switch etc). The only way to restore the power is to turn of the power on the ups from the front button, remove power cord, wait 2-3 secs, restore power on ups and turn on from the front button.

Does anybodby knows why this happens. It seems like the os sends a load.off command during shutdown.

Also if I kill the upsd daemon before send a shutdown then the same thing happens. Only if I disconnect the RS-232 cable before shut down the ups stays on.

Does anybody have a clue?

Regards.</description>
		<content:encoded><![CDATA[<p>Hi guys. I have a very strange situation here. I&#8217;ve just installed and configured upsmon in fedora 12. The pc is connected on a Mustek Powermust 2000VA USB with serial port (ttyS0) and the upsd can communicate with the ups without a problem. Everything works great except one thing, when I shut down the pc the ups is also turns it&#8217;s load off, it&#8217;s like running the load.off command, therefore all the devices on the ups are turned off (adsl router, switch etc). The only way to restore the power is to turn of the power on the ups from the front button, remove power cord, wait 2-3 secs, restore power on ups and turn on from the front button.</p>
<p>Does anybodby knows why this happens. It seems like the os sends a load.off command during shutdown.</p>
<p>Also if I kill the upsd daemon before send a shutdown then the same thing happens. Only if I disconnect the RS-232 cable before shut down the ups stays on.</p>
<p>Does anybody have a clue?</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Paulo</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-5262</link>
		<dc:creator>Luis Paulo</dc:creator>
		<pubDate>Tue, 18 May 2010 01:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-5262</guid>
		<description>Great article. 

May be worth a mention to the web page for monitoring you get with it, using nutd and upsmon.
At least with Ubuntu 9.10 (and apache, of course).

Thanks</description>
		<content:encoded><![CDATA[<p>Great article. </p>
<p>May be worth a mention to the web page for monitoring you get with it, using nutd and upsmon.<br />
At least with Ubuntu 9.10 (and apache, of course).</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-5088</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 28 Apr 2010 23:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-5088</guid>
		<description>I was not getting past this even with the helpful hints of others.  So, I tried

sudo upsdrvctl -u root start

which moved me forward a bit.  I don&#039;t know that this puts me in happy land, but I wanted to post this clue before I forgot.</description>
		<content:encoded><![CDATA[<p>I was not getting past this even with the helpful hints of others.  So, I tried</p>
<p>sudo upsdrvctl -u root start</p>
<p>which moved me forward a bit.  I don&#8217;t know that this puts me in happy land, but I wanted to post this clue before I forgot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: btmorex</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-4830</link>
		<dc:creator>btmorex</dc:creator>
		<pubDate>Mon, 29 Mar 2010 16:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-4830</guid>
		<description>I&#039;d ask on the nut-upsusers list if anyone has gotten it working (or a similar one working):

http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

&quot;USB to Serial&quot; from your lsusb output suggests to me that it won&#039;t work with the normal usbhid-ups driver though. It&#039;s probably using some other serial protocol with a serial to USB converter.</description>
		<content:encoded><![CDATA[<p>I&#8217;d ask on the nut-upsusers list if anyone has gotten it working (or a similar one working):</p>
<p><a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser" rel="nofollow">http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a></p>
<p>&#8220;USB to Serial&#8221; from your lsusb output suggests to me that it won&#8217;t work with the normal usbhid-ups driver though. It&#8217;s probably using some other serial protocol with a serial to USB converter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dimitri</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-4811</link>
		<dc:creator>dimitri</dc:creator>
		<pubDate>Sun, 28 Mar 2010 10:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-4811</guid>
		<description>Ok guys I get this errors:

Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - Generic HID driver 0.34 (2.4.1)
USB communication driver 0.31
No matching HID UPS found


my ups.conf is:

[ap1000]
	driver = usbhid-ups
	port = auto

I&#039;ve also tried to set a specific usb port and change driver.

My ups is a AMACROX 1000
http://www.amacrox.com//english/01_product/02_01detail.aspx?pdid=46

and it should be the following usb device
lsusb -D /dev/bus/usb/008/003
Device: ID 0665:5161  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0665 
  idProduct          0x5161 
  bcdDevice            0.02
  iManufacturer           1 Cypress Semiconductor
  iProduct                2 USB to Serial
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          3 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              4 Sample HID
      ** UNRECOGNIZED:  09 21 00 01 00 01 22 1b 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              32
Device Status:     0x0000
  (Bus Powered)

any help is welcome
thanks</description>
		<content:encoded><![CDATA[<p>Ok guys I get this errors:</p>
<p>Network UPS Tools &#8211; UPS driver controller 2.4.1<br />
Network UPS Tools &#8211; Generic HID driver 0.34 (2.4.1)<br />
USB communication driver 0.31<br />
No matching HID UPS found</p>
<p>my ups.conf is:</p>
<p>[ap1000]<br />
	driver = usbhid-ups<br />
	port = auto</p>
<p>I&#8217;ve also tried to set a specific usb port and change driver.</p>
<p>My ups is a AMACROX 1000<br />
<a href="http://www.amacrox.com//english/01_product/02_01detail.aspx?pdid=46" rel="nofollow">http://www.amacrox.com//english/01_product/02_01detail.aspx?pdid=46</a></p>
<p>and it should be the following usb device<br />
lsusb -D /dev/bus/usb/008/003<br />
Device: ID 0665:5161<br />
Device Descriptor:<br />
  bLength                18<br />
  bDescriptorType         1<br />
  bcdUSB               1.10<br />
  bDeviceClass            0 (Defined at Interface level)<br />
  bDeviceSubClass         0<br />
  bDeviceProtocol         0<br />
  bMaxPacketSize0         8<br />
  idVendor           0&#215;0665<br />
  idProduct          0&#215;5161<br />
  bcdDevice            0.02<br />
  iManufacturer           1 Cypress Semiconductor<br />
  iProduct                2 USB to Serial<br />
  iSerial                 0<br />
  bNumConfigurations      1<br />
  Configuration Descriptor:<br />
    bLength                 9<br />
    bDescriptorType         2<br />
    wTotalLength           34<br />
    bNumInterfaces          1<br />
    bConfigurationValue     1<br />
    iConfiguration          3<br />
    bmAttributes         0&#215;80<br />
      (Bus Powered)<br />
    MaxPower              100mA<br />
    Interface Descriptor:<br />
      bLength                 9<br />
      bDescriptorType         4<br />
      bInterfaceNumber        0<br />
      bAlternateSetting       0<br />
      bNumEndpoints           1<br />
      bInterfaceClass         3 Human Interface Device<br />
      bInterfaceSubClass      0 No Subclass<br />
      bInterfaceProtocol      0 None<br />
      iInterface              4 Sample HID<br />
      ** UNRECOGNIZED:  09 21 00 01 00 01 22 1b 00<br />
      Endpoint Descriptor:<br />
        bLength                 7<br />
        bDescriptorType         5<br />
        bEndpointAddress     0&#215;81  EP 1 IN<br />
        bmAttributes            3<br />
          Transfer Type            Interrupt<br />
          Synch Type               None<br />
          Usage Type               Data<br />
        wMaxPacketSize     0&#215;0008  1x 8 bytes<br />
        bInterval              32<br />
Device Status:     0&#215;0000<br />
  (Bus Powered)</p>
<p>any help is welcome<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: btmorex</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-4675</link>
		<dc:creator>btmorex</dc:creator>
		<pubDate>Sun, 14 Mar 2010 07:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-4675</guid>
		<description>Nothing pops out, but a quick search shows that other people have gotten your UPS to work.

I would ask for help on the NUT users mailing list: http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</description>
		<content:encoded><![CDATA[<p>Nothing pops out, but a quick search shows that other people have gotten your UPS to work.</p>
<p>I would ask for help on the NUT users mailing list: <a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser" rel="nofollow">http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waver</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-4670</link>
		<dc:creator>waver</dc:creator>
		<pubDate>Sat, 13 Mar 2010 13:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-4670</guid>
		<description>Hi, I&#039;m trying to get my Powerware 5115 to work, but i&#039;ve tried all settings above and nothing works, here are my config files:

---nut.conf

MODE=standalone


---ups.conf

[pwups]
 	driver = bcmxcp_usb
	port = auto
#	cable = 1234
	desc = &quot;Powerware 5115 UPS&quot;


---upsd.conf

LISTEN 127.0.0.1

---upsd.users

[root]
    password = testpass
   #allowfrom = localhost
    instcmds = ALL
    actions = SET

[upsmon]
    password = testpass
    upsmon master


when i run sudo upsdrvctl start i get:

waver@elefanten:/etc/nut$ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)
USB communication subdriver 0.17
Can&#039;t set POWERWARE USB configuration
Unable to find POWERWARE UPS device on USB bus 

Things to try:

 - Connect UPS device to USB bus

 - Run this driver as another user (upsdrvctl -u or &#039;user=...&#039; in ups.conf).
   See upsdrvctl(8) and ups.conf(5).

Fatal error: unusable configuration
Driver failed to start (exit status=1)


lsusb gives:
Bus 006 Device 003: ID 06da:0002 Phoenixtec Power Co., Ltd UPS

and dmesg gave this when i plugged it out and in again:

[ 2186.181299] usb 6-1: usbfs: interface 0 claimed by usbfs while &#039;bcmxcp_usb&#039; sets config #1
[ 2715.790032] usb 6-1: USB disconnect, address 2
[ 2723.660027] usb 6-1: new low speed USB device using uhci_hcd and address 3
[ 2723.839089] usb 6-1: configuration #1 chosen from 1 choice


Does anyone have a clue to solve my problem? =)</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m trying to get my Powerware 5115 to work, but i&#8217;ve tried all settings above and nothing works, here are my config files:</p>
<p>&#8212;nut.conf</p>
<p>MODE=standalone</p>
<p>&#8212;ups.conf</p>
<p>[pwups]<br />
 	driver = bcmxcp_usb<br />
	port = auto<br />
#	cable = 1234<br />
	desc = &#8220;Powerware 5115 UPS&#8221;</p>
<p>&#8212;upsd.conf</p>
<p>LISTEN 127.0.0.1</p>
<p>&#8212;upsd.users</p>
<p>[root]<br />
    password = testpass<br />
   #allowfrom = localhost<br />
    instcmds = ALL<br />
    actions = SET</p>
<p>[upsmon]<br />
    password = testpass<br />
    upsmon master</p>
<p>when i run sudo upsdrvctl start i get:</p>
<p>waver@elefanten:/etc/nut$ sudo upsdrvctl start<br />
Network UPS Tools &#8211; UPS driver controller 2.4.1<br />
Network UPS Tools &#8211; BCMXCP UPS driver 0.21 (2.4.1)<br />
USB communication subdriver 0.17<br />
Can&#8217;t set POWERWARE USB configuration<br />
Unable to find POWERWARE UPS device on USB bus </p>
<p>Things to try:</p>
<p> &#8211; Connect UPS device to USB bus</p>
<p> &#8211; Run this driver as another user (upsdrvctl -u or &#8216;user=&#8230;&#8217; in ups.conf).<br />
   See upsdrvctl(8) and ups.conf(5).</p>
<p>Fatal error: unusable configuration<br />
Driver failed to start (exit status=1)</p>
<p>lsusb gives:<br />
Bus 006 Device 003: ID 06da:0002 Phoenixtec Power Co., Ltd UPS</p>
<p>and dmesg gave this when i plugged it out and in again:</p>
<p>[ 2186.181299] usb 6-1: usbfs: interface 0 claimed by usbfs while &#8216;bcmxcp_usb&#8217; sets config #1<br />
[ 2715.790032] usb 6-1: USB disconnect, address 2<br />
[ 2723.660027] usb 6-1: new low speed USB device using uhci_hcd and address 3<br />
[ 2723.839089] usb 6-1: configuration #1 chosen from 1 choice</p>
<p>Does anyone have a clue to solve my problem? =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SirPete</title>
		<link>http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/#comment-4537</link>
		<dc:creator>SirPete</dc:creator>
		<pubDate>Thu, 25 Feb 2010 18:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shadypixel.com/?p=6#comment-4537</guid>
		<description>no i use netserver option.</description>
		<content:encoded><![CDATA[<p>no i use netserver option.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.287 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-19 19:01:51 -->
<!-- Compression = gzip -->