[rancid] Cisco NX "chatty" with Power info

Ni Ne nineoften at hotmail.com
Fri Mar 8 18:21:09 UTC 2019


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.

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.

Check this previous thread, and the reply at the very bottom by heasly for a better description:

https://lists.gt.net/rancid/users/8150
Mailing List Archive: How to ignore certain output? - GT.net<https://lists.gt.net/rancid/users/8150>
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:
lists.gt.net



________________________________
From: Rancid-discuss <rancid-discuss-bounces at shrubbery.net> on behalf of FF <fusionfoto at gmail.com>
Sent: Friday, March 8, 2019 11:05 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] Cisco NX "chatty" with Power info


!Env: Power                              Actual        Total

  !Env: Supply    Model                    Input      Capacity       Status

  !Env:                                    (Watts )     (Watts )

  !Env: -------  ----------  ---------------  ------  ----------  --------------------

- !Env: 1        N9K-PAC-1200W-B                     180 W      1200 W      Ok

+ !Env: 1        N9K-PAC-1200W-B                     182 W      1200 W      Ok

  !Env: 2        N9K-PAC-1200W-B                     162 W      1200 W      Ok

  !Env: Power Usage Summary:


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?

thanks in advance!


--
FF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20190308/4d58663e/attachment.html>


More information about the Rancid-discuss mailing list