<div dir="ltr"><div><div><div>Frank,<br><br></div>I believe Wayne would like to keep the command output but only record a change if the variable differs by a set amount.<br><br></div>So in Wayne's example we want RANCID to record a different temperature only if it was 10 degrees higher or lower than the last RANCID run.<br><br></div>You wouldn't see this diff:<br><div><p class="MsoNormal">- ! External Temperature............................. +25 C</p>
<p class="MsoNormal">+ ! External Temperature............................. +30 C</p><br></div><div>But you would see this one:<br></div><div><p class="MsoNormal">- ! External Temperature............................. +25 C</p>
<p class="MsoNormal">+ ! External Temperature............................. +35 C</p><br></div><div>We have removed a lot of command output for just this reason - because it sends too many diffs to be useful. But having something like what Wayne suggests would be really nice and we would be able to add those commands back to RANCID without getting all of the insignificant diffs.<br><br></div><div>Peter<br></div><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 6:48 PM, Frank Bulk <span dir="ltr"><<a href="mailto:frnkblk@iname.com" target="_blank">frnkblk@iname.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="#0563C1" vlink="#954F72" lang="EN-US"><div><p class="MsoNormal"><span style="color:#1f497d">Just update the relevant script to ignore those lines.<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Frank<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Rancid-discuss [mailto:<a href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a>] <b>On Behalf Of </b>Wayne Eisenberg<br><b>Sent:</b> Wednesday, November 19, 2014 5:09 PM<br><b>To:</b> '<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>'<br><b>Subject:</b> [rancid] eliminating noise<u></u><u></u></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hey all,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Does anyone have any ideas on how we can modify rancid to ignore minor differences in things like fan speed and temperature? See the below:<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">- ! External Temperature............................. +29 C<u></u><u></u></p><p class="MsoNormal">+ ! External Temperature............................. +28 C<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">- ! Fan Status....................................... 3432 rpm<u></u><u></u></p><p class="MsoNormal">+ ! Fan Status....................................... 3301 rpm<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">These two items create a lot of noise. The temperature changes by 1 or 2 degrees – very insignificant, but it gets caught by diff. The same with the fan speed. Any character change trips the diff. +/- 10% or greater is a more reasonable change to note. But I don’t know how to modify the scripts to do that comparison. Any ideas?<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal">Wayne<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p><div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><hr align="center" size="2" width="100%"></span></div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:blue"><br>The information in this Internet e-mail (and any attachments) is confidential, may be legally privileged and is intended solely for the Addressee(s) named above. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, then any dissemination or copying of this e-mail (and any attachments) is prohibited and may be unlawful. If you received this e-mail in error, please immediately notify us by e-mail or telephone, then delete the message. Thank you.</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p></div></div></div></div><br>_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br></blockquote></div><br></div>