<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The best way is to stop rancid from running the commands that generate non-config output. There is no easy way to have rancid grab that output, but not send out alert emails for it, or somehow ignore it for checking in purposes.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The standard way to do this is to create new config blocks in rancid.types.conf for a given type and give it a unique name, and leave off all of the commands you don't need. Then reference that new type name in your router.db files.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Check this previous thread, and the reply at the very bottom by heasly for a better description:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="https://lists.gt.net/rancid/users/8150" id="LPlnk317713">https://lists.gt.net/rancid/users/8150</a><br>
</div>
<div id="LPBorder_GTaHR0cHM6Ly9saXN0cy5ndC5uZXQvcmFuY2lkL3VzZXJzLzgxNTA." class="LPBorder239303" contenteditable="false" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer239303" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td style="width: 100%;">
<div id="LPTitle239303" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor239303" href="https://lists.gt.net/rancid/users/8150" style="text-decoration: none; color: var(--themePrimary);">Mailing List Archive: How to ignore certain output? - GT.net</a></div>
<div id="LPDescription239303" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
Gossamer Mailing List Archive. I should add, that I did modify f5rancid a while back based on a suggestion from this list, but that doesn't seem to be working:</div>
<div id="LPMetadata239303" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
lists.gt.net</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Rancid-discuss <rancid-discuss-bounces@shrubbery.net> on behalf of FF <fusionfoto@gmail.com><br>
<b>Sent:</b> Friday, March 8, 2019 11:05 AM<br>
<b>To:</b> rancid-discuss@shrubbery.net<br>
<b>Subject:</b> [rancid] Cisco NX "chatty" with Power info</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
!Env: Power<span>                              </span>Actual<span>        </span>
Total<span></span></p>
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
<span>  </span>!Env: Supply<span>    </span>Model<span>                    </span>
Input<span>      </span>Capacity<span>       </span>Status<span></span></p>
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
<span>  </span>!Env:<span>                                    </span>(Watts )<span>    
</span>(Watts )<span></span></p>
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
<span>  </span>!Env: -------<span>  </span>----------<span>  </span>---------------<span> 
</span>------<span>  </span>----------<span>  </span>--------------------<span></span></p>
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
- !Env: 1<span>        </span>N9K-PAC-1200W-B<span>                     </span>180 W<span>     
</span>1200 W<span>      </span>Ok<span></span></p>
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
+ !Env: 1<span>        </span>N9K-PAC-1200W-B<span>                     </span>182 W<span>     
</span>1200 W<span>      </span>Ok<span></span></p>
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
<span>  </span>!Env: 2<span>        </span>N9K-PAC-1200W-B<span>                    
</span>162 W<span>      </span>1200 W<span>      </span>Ok<span></span></p>
<p class="x_gmail-MsoPlainText" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:"Calibri","sans-serif"">
<span>  </span>!Env: Power Usage Summary:<span></span></p>
<div><span style="font-size:11pt; font-family:"Calibri","sans-serif""><span> </span></span>
<br>
</div>
<div>Every time Rancid runs, we get erroneous reports because the power usage fluctuates by 1-2 watts per run. Any suggestions on how to keep the good information (availability, etc) without getting this level of detail?</div>
<div><br>
</div>
<div>thanks in advance!</div>
<div><br>
</div>
<br>
-- <br>
<div dir="ltr" class="x_gmail_signature">FF</div>
</div>
</div>
</div>
</body>
</html>