<div dir="ltr">I am not picky, I will take any solution offered<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 31, 2024 at 6:33 PM heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Tue, Jan 30, 2024 at 06:45:34AM +0000, Pan Affa:<br>
> I have modified diskszsummary function in the <a href="http://rancid.pm" rel="noreferrer" target="_blank">rancid.pm</a> as the following:<br>
> <br>
> sub diskszsummary {<br>
>     …<br>
>     if ($pcnt > 10) {<br>
>         $pcnt = int($pcnt / 5) * 5;<br>
>     }<br>
>     …<br>
> <br>
> from Affa Pan<br>
> <br>
> Pan Affa <<a href="mailto:affa_pan@hotmail.com" target="_blank">affa_pan@hotmail.com</a>> 於 2024年1月30日 上午8:03 寫道:<br>
> <br>
> Hi Hensley,<br>
> <br>
> I have some suggestions about disk summary.<br>
> <br>
> 1. Is it possible to disable or enable in rancid.conf?<br>
> 2. Oscillation can use the base 5%<br>
>     For example, 95~99% shows 95%, 90~94% shows 90%<br>
<br>
Pan/Daniel,<br>
<br>
I'd thought of a couple of options to reduce the noise from this status line:<br>
1) add a knob to omit the usage; just report the capacity<br>
2) a knob to set a % threshold remaining, then only report usage when it<br>
   falls below that threshold.<br>
3) only report usage in on a margin (eg: 5%), like Pan has suggested.<br>
4) Option 1 + one of options 2 or 3.<br>
<br>
Opinions?<br>
<br>
> from Affa Pan<br>
> <br>
> heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>> 於 2024年1月30日 上午7:18 寫道:<br>
> <br>
> Wed, Jan 17, 2024 at 01:46:44PM -0600, Daniel Schmidt:<br>
> This one's driving me nuts.<br>
> <br>
> -!Flash: harddisk: 22 GB total (93% free)<br>
> +!Flash: harddisk: 22 GB total (94% free)<br>
> !<br>
> !0/RP0-IDPROM - ASR 9900 Fixed Chassis Route Processor<br>
> <br>
> Slight modification somewhere in here?<br>
> <br>
> you mean that it is oscillating between 93/94%?<br>
> <br>
>       # XR: 822083584 bytes total (821081600 bytes free)<br>
>       # eXR: 990484 kbytes total (813208 kbytes free)<br>
>       if (/^\s*(\d+ k?bytes) total\s+\((\d+ k?bytes) free\)/i) {<br>
>           ProcessHistory("FLASH","","","!Flash: $dev: " .<br>
>                          diskszsummary($1, $2) . "\n");<br>
>           next;<br>
>       }<br>
> <br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@www.shrubbery.net" target="_blank">Rancid-discuss@www.shrubbery.net</a><br>
> <a href="https://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">https://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span style="border:medium;display:inline-block;overflow:hidden;width:250px;height:100px"><img src="https://lh6.googleusercontent.com/lmia3omOBlT9kVvFXFLfmElrUpYyRCFbV6mIn4RdXSNEWbXVawXCU8AKQd0sVxtaBya2SBHoTPvQ9_gcf5Sl_zrB1SXZipRV9pkOl6w-EkG0lrPytBkGwGbLLGDX509HFo-q5nN-tYS5vju7DjnjXfM" width="250" height="100" style="margin-left: 0px; margin-top: 0px;"></span></span></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Georgia,serif;color:rgb(55,74,90);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Wyoming Department of Enterprise Technology Services</span></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:8pt;font-family:"Proxima Nova",sans-serif;color:rgb(55,74,90);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Emerson Building, 2001 Capitol Avenue, Cheyenne, WY 82001</span></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><br></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:8pt;font-family:Georgia,serif;color:rgb(55,74,90);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Daniel Schmidt</span><span style="font-size:8pt;font-family:Georgia,serif;color:rgb(55,74,90);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:8pt;font-family:Georgia,serif;color:rgb(55,74,90);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Network Engineer</span><span style="font-size:8pt;font-family:Georgia,serif;color:rgb(55,74,90);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br><br></span></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:7pt;font-family:"Proxima Nova",sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span style="border:medium;display:inline-block;overflow:hidden;width:20px;height:20px"><img src="https://lh4.googleusercontent.com/cwOm8sse4zLIjvAVDNr7FzVSYI3ooiIupq5PlT-xBKXXfkdSxtL1aToNUsBEH23chM8SGBNQD16fsLGa-BKUviroFws8TEq7ay19jInReSgYb006ZSEaHs_GkbhpmU5iICrRgV9JB6bamdjzUx0FTCE" width="20" height="20" style="margin-left: 0px; margin-top: 0px;"></span></span><span style="font-size:7pt;font-family:"Proxima Nova",sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">   </span><span style="font-size:8pt;font-family:"Proxima Nova",sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">307-509-0286</span></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:7pt;font-family:"Proxima Nova",sans-serif;color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"><span style="border:medium;display:inline-block;overflow:hidden;width:20px;height:20px"><img src="https://lh4.googleusercontent.com/Zt2PRCQbYWre1eLiSHIC16QVp4I1QB0tvbS8UMesbHpO6VGtvD3AzKDzDPPPC_kSIrmuDK8_Dvb7aviAx46dD0HZ1iLFtQCMwGxI5Symc6atsQsNgL-f65cRAD69sXCh0vRfkSxgeJpj2t_om4GLf38" width="20" height="20" style="margin-left: 0px; margin-top: 0px;"></span></span><span style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">  </span><span style="font-size:8pt;font-family:"Proxima Nova",sans-serif;color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">daniel.schmidt</span><a href="mailto:anna.jacknitsky1@wyo.gov" style="text-decoration:none" target="_blank"><span style="font-size:8pt;font-family:"Proxima Nova",sans-serif;color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">@wyo.gov</span></a></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:7pt;font-family:"Proxima Nova",sans-serif;color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"><span style="border:medium;display:inline-block;overflow:hidden;width:20px;height:20px"><img src="https://lh4.googleusercontent.com/7DiJH1qgQhF1hqeAOZCKIkHSEtOvFcKANNOo9C5-AGNKRxMx9Ue0YcZOPD4mSoZNU-cYR6RgRj5Bvbvzc7YRbveifXlIaJ5qAk682IS2VlowU5CCramb4X6SezEHParZ9FnF3x8VMZ82Tnz-m7_1X48" width="20" height="20" style="margin-left: 0px; margin-top: 0px;"></span></span><span style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">  </span><a href="https://ets.wyo.gov/" style="text-decoration:none" target="_blank"><span style="font-size:8pt;font-family:"Proxima Nova",sans-serif;color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">ets.wyo.gov</span></a></p><p dir="ltr" style="line-height:1.728;background-color:rgb(255,255,255);margin-top:0pt;margin-bottom:0pt"><span style="font-size:7pt;font-family:"Proxima Nova",sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span style="border:medium;display:inline-block;overflow:hidden;width:20px;height:20px"><img src="https://lh6.googleusercontent.com/SaKDQczOJGL-szhUkAx9BM86Y6nNUQj8Oh3321lkrYJLwyTw5WKDpVJyDKCG7qVhIzlOlULsh78SHL3Q9PTLtf9lKRyJMyoPvieO2EyJwK1Vdg4vSEdv7T8WFiHTvG_GA1FQ5FZam2fByTkkvr8CgPI" width="20" height="20" style="margin-left: 0px; margin-top: 0px;"></span></span><span style="font-size:7pt;font-family:"Proxima Nova",sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">  </span><span style="font-size:8pt;font-family:"Proxima Nova",sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">I’m in Cheyenne</span></p></div></div>

<br>
<br>E-Mail to and from me, in connection with the transaction <br>of public business, is subject to the Wyoming Public Records <br>Act and may be disclosed to third parties.<br>