<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-02-15 20:07 GMT+01:00 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="">On Feb 15, 2014, at 12:54 PM, Arnaud Quette wrote:<br>
<br>
> 2014-02-13 6:55 GMT+01:00 Alf Høgemark <<a href="mailto:alf@i100.no">alf@i100.no</a>>:<br>
>> Hi<br>
><br>
> Hi Alf,<br>
><br>
>> On<br>
>> <a href="http://nutwiki.kanonbra.com/wiki/Category:Eaton_Powerware_5110" target="_blank">http://nutwiki.kanonbra.com/wiki/Category:Eaton_Powerware_5110</a><br>
><br>
> cool thing!<br>
> But duplicating the NUT Device Dumps Library [1].<br>
> The DDL can also serve both users and developers purposes, by providing these dumps as .dev files (usable with dummy-ups).<br>
> I'm looking for someone to help me completing this effort: would you be interested in?<br>
> It would mostly be collecting dumps posted on the lists and the web, and calling users to massively send theirs...<br>
<br>
</div>Arnaud,<br>
<br>
here's the discussion that led to Alf's tests with MediaWiki:<br>
<br>
<a href="http://news.gmane.org/find-root.php?message_id=51D93E42.60500%40i100.no" target="_blank">http://news.gmane.org/find-root.php?message_id=51D93E42.60500%40i100.no</a><br>
<br>
(Note "Mike."'s mention of read/write variables, which are not addressed by upsc output alone.)<br></blockquote><div><br></div><div>thanks for pointing this to me Charles.<br>no surprise, I've completely missed it!<br>
</div><div> <br></div><div>read/write vars and instant commands are still the weak point, since this effort was spawned from the dummy-ups effort...<br></div><div>I've also created another tracker for that part: <a href="https://github.com/networkupstools/nut/issues/94">https://github.com/networkupstools/nut/issues/94</a><br>
<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The way I see it, there are several use cases that overlap a bit:<br>
<br>
* dummy-ups data files for debugging<br></blockquote><div><br></div><div>   * clients development<br>   * QA regression testing (whole NUT framework)<br>(as in Ubuntu), currently use the default static device from dummy-ups,we could there also imagine<br>
   * device non regression testing<br> by testing such outputs<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* Answering the question "what variables do I get from this UPS with NUT vX.Y.Z?" (or, "what is the benefit of upgrading the driver from the distribution's old version?")<br>
* Answering the question "what UPS should I buy to be able to monitor these variables?"<br></blockquote><div><br></div><div>indeed.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

The thought was that tagging pages with something like MediaWiki categories could build up the cross-references needed to answer the second and third questions, but that might get unwieldy. With something like the DDL, it should be possible to programmatically generate those cross-reference lists.<br>
</blockquote><div><br></div><div>that's also what I'm thinking, with github tasks 3 and 4:<br><ul class=""><li class="">
<input value="on" class="" type="checkbox"> Create a dedicated repository and website (<a href="http://devdumps.networkupstools.org">http://devdumps.networkupstools.org</a>)?</li><li class="">
<input value="on" class="" type="checkbox"> Create a better page, or set of pages, to document / search / submit dumps ( <a href="https://github.com/zykh" class="">@zykh</a>, would you be able to help?)<br><br></li></ul>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Organizing the information in something like a wiki allows additional comments from users of the equipment. Of particular note is whether or not a given variable can be relied upon (which might depend on the NUT driver version, or even the UPS firmware version).<br>

<br>
Unfortunately, it isn't clear what the best way forward would be. Shoe-horning the second and third use cases into MediaWiki would probably require a custom plugin.<br></blockquote><div><br></div><div>a dedicated website with some JS filtering / searching, as in the HCL, could probably do it (hem, I'm unsure that it can scale however).<br>
</div><div>maybe some DB with pre compilation would be needed (manifest, indexing, ...).<br></div><div>but that's a bigger project.<br><br></div><div>a tool would also be needed to drive collecting data on the user's system, à la "nut-recorder"<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Another set of useful metadata is the USB VID:PID, plus dumps from "lsusb". This overlaps nut-scanner a bit, but considering that lsusb is a much lighter-weight dependency than nut-scanner (and it's even in the FreeBSD ports tree now), it's a quick lookup for users to determine whether it is worth their time to try installing NUT.<br>

</blockquote><div><br></div><div>that may be an addressable point the nut-scanner Gen2 and weak deps:<br><a href="https://github.com/networkupstools/nut/issues/14">https://github.com/networkupstools/nut/issues/14</a><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">
> This however made me realize that it's still not referenced on the web and in the docs.<br>
<br>
</div>helps if you link it from somewhere :-)<br></blockquote><div><br></div><div>sure ;)<br><span id="result_box" class="" lang="en"><span class="">in my defense, </span></span>it goes back around the time I disappeared...<br>
</div><div>iirc, I only announced it on the mailing list (not sure which one however)<br></div><div><span id="result_box" class="" lang="en"><span class=""></span></span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

update: I see you're working on that: <a href="https://github.com/networkupstools/nut/issues/93" target="_blank">https://github.com/networkupstools/nut/issues/93</a><br>
<span class=""><font color="#888888"></font></span></blockquote><div><br></div><div>yup, started to track and share the effort, and finally dump things that my little brain was holding for far too long...<br><br></div><div>
cheers,<br></div><div>Arno<br></div></div></div></div>