Oh, the nut version in the packages is 2.4.1.<br><br>Regards,<br>Gasper<br><br><div class="gmail_quote">On Sun, Jul 12, 2009 at 2:10 PM, Gasper Kozak <span dir="ltr"><<a href="mailto:gasper.kozak@gmail.com">gasper.kozak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've installed the mentioned packages and LB event still doesn't get generated/reported.<br>
<br>Just to make sure, if values displayed with upsc are set to these values<br>battery.charge: 75<div class="im"><br>battery.charge.low: 30<br>
battery.charge.warning: 30<br><br></div>Then the driver should report LB when battery.charge is below battery.charge.low (30)? What does battery.charge.warning have to do here?<br><br>Regards,<br><font color="#888888">Gasper</font><div>
<div></div><div class="h5"><br><br><div class="gmail_quote">
On Sun, Jul 12, 2009 at 1:12 AM, Gasper Kozak <span dir="ltr"><<a href="mailto:gasper.kozak@gmail.com" target="_blank">gasper.kozak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>thanks, sort of what I expected. So it's very probable that it's driver's fault for not receiving LB message, even though OL, OB, DISCHRG work well, including when more than one is set.<br><br>I found the Centos packages I'm refering to here on the list: <a href="http://www.mail-archive.com/nut-upsuser@lists.alioth.debian.org/msg04682.html" target="_blank">http://www.mail-archive.com/nut-upsuser@lists.alioth.debian.org/msg04682.html</a>. This mailing list appears to be the only "official" source of information about them. I'm having problems installing them, but I'm aware this is not the place to ask about that -- I'll contact he packager directly. I just wanted to make sure, whether my USP is supposed to report LB in status field or not.<br>
<br>When I succeed in upgrading nut, I'll post the results here.<br><br>Thanks and best regards,<br><font color="#888888">Gasper</font><div><div></div><div><br><br><br><div class="gmail_quote">On Sat, Jul 11, 2009 at 11:21 PM, Arjen de Korte <span dir="ltr"><<a href="mailto:nut%2Busers@de-korte.org" target="_blank">nut+users@de-korte.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Citeren Gasper Kozak <<a href="mailto:gasper.kozak@gmail.com" target="_blank">gasper.kozak@gmail.com</a>>:<div>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Since battery.charge.low and battery.charge.warning settings are read-only,<br>
and LB doesn't get reported via ups.status, I'm guessing the latter two of<br>
these are just advisory -- rather silly, but I guess that's it. Maybe upsmon<br>
should watch these as well?<br>
</blockquote>
<br></div>
No. The very least a driver (UPS) should support are the OL, OB and LB flags. If this doesn't work, it's broken and can't be used reliably.<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've bypassed this problem by writing my own monitor that triggers the LB<br>
event and shuts down the somputer. The question is: did I miss something<br>
important?<br>
</blockquote>
<br></div>
Yes, the upgrades that have been released since nut-2.2.0 came out (sorry, couldn't resist).<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is it supposed to work this way?<br>
</blockquote>
<br></div>
Yes.<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm using nut-2.2.0, which is an older version, so this may well be the<br>
problem, but I'm on Centos and the only rpms I've found for 2.4 didn't work.<br>
</blockquote>
<br></div>
The version you're using is over two years old and no longer supported. You need to upgrade to a more recent version before asking for help. With the sparse information you're providing here, we can't help you as to why the binaries you found don't work. You should also check with whoever packaged these RPMS first if you have problems installing them, before asking for help here.<br>
<br>
Best regards, Arjen<br><font color="#888888">
-- <br>
Please keep list traffic on the list<br>
<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</a><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>