Thanks a bunch, that worked like a charm :)<br><br>But now I've got another question... After I run commands (tests) with upscmd, where do I see the results? <br><br>Ran a battery test check and it did not give any output.<br>
<br><br>Thanks in advance.<br><br><div class="gmail_quote">On Thu, Mar 10, 2011 at 8:25 AM, Arjen de Korte <span dir="ltr"><<a href="mailto:nut%2Busers@de-korte.org">nut+users@de-korte.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Citeren Garðar Arnarsson <<a href="mailto:gardar@giraffi.net" target="_blank">gardar@giraffi.net</a>>:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have defined the user in the /etc/ups/upsd.users<br>
<br>
74 [gardar]<br>
75 password = hidden<br>
76 allowfrom = local<br>
77 actions = SET<br>
78 instcmds = ALL<br>
79 [local_mon]<br>
80 password = hidden<br>
81 allowfrom = localhost<br>
82 upsmon master<br>
<br>
Device and driver info:<br>
<br>
device.mfr: Inform<br>
device.model: SINUS1KURM<br>
device.type: ups<br>
<a href="http://driver.name" target="_blank">driver.name</a>: blazer_ser<br>
driver.version: 2.6.0<br>
driver.version.internal: 1.51<br>
<br>
<br>
What am I doing wrong?<br>
</blockquote>
<br></div>
Did you check your syslog lately? The 'allowfrom' keyword is no longer used (since a couple of versions actually) and has been replaced by tcp-wrappers, which most likely is compiled in the version you're using. If there is a blanket 'deny all' in /etc/hosts.allow, this requires you to setup access permissions through /etc/hosts.allow. See the UPGRADING document, 'man 8 upsd' and 'man 5 hosts_access'. Adding something like<br>
<br>
upsd : garder@localhost : ALLOW<br>
<br>
should work.<br>
<br>
Best regards, Arjen<br><font color="#888888">
-- <br>
Please keep list traffic on the list (off-list replies will be rejected)<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></font></blockquote></div><br><br clear="all"><br>-- <br>Garðar Arnarsson<br>
kerfisstjóri Giraffi sf.<br><a href="mailto:gardar@giraffi.net">gardar@giraffi.net</a><br><a href="http://gardar.giraffi.net">http://gardar.giraffi.net</a><br>