<br><br><div class="gmail_quote">2012/2/1 Arnaud Quette <span dir="ltr"><<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/1/25 Rene Martín Rodríguez <<a href="mailto:rmrodri@ull.edu.es">rmrodri@ull.edu.es</a>>:<br>
> Hello!!<br>
<br>
¡Hola René Martin ;-)<br>
<div><div class="h5"><br></div></div></blockquote><div>Hi again!<br><br>I've implemented your suggestion, everything but -c option for upsc. hope you like it!<br><br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
indeed, it's an interesting feature.<br>
<br>
after thinking a bit, here is a potentially more useful approach, that<br>
would complement "GET NUMLOGINS":<br>
Add a new "LIST CLIENT" command to the network protocol [1]<br>
<br>
Form:<br>
<br>
    LIST CLIENT [device_name]<br>
<br>
Response:<br>
<br>
    BEGIN LIST CLIENT<br>
    CLIENT <client IP address> <device name><br>
    ...<br>
    END LIST CLIENT<br>
<br>
    BEGIN LIST CLIENT<br>
    CLIENT ::1 ups1<br>
    CLIENT ::1 ups2<br>
    CLIENT 166.99.250.2 ups2<br>
    END LIST CLIENT<br>
<br>
This would be completed by a new upsc option ("-c" for example) to get<br>
this list.<br>
<br>
Note that this is more an RFC, since it's just a base idea (I've not<br>
checked all details).<br>
So feedback and comments welcome...<br>
Would the above suits your needs René Martin?<br>
<div class="im"><br>
> Thank you for your nice work!!<br>
<br>
</div>thanks for your contribution.<br>
<br>
cheers,<br>
Arnaud<br>
<span class="HOEnZb"><font color="#888888">--<br>
[1] <a href="http://www.networkupstools.org/docs/developer-guide.chunked/ar01s09.html" target="_blank">http://www.networkupstools.org/docs/developer-guide.chunked/ar01s09.html</a><br>
--<br>
Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br>
</font></span></blockquote></div><br>