[rancid] Stop rancid from logging environmentals

Andrew Villano thefonzz2625 at gmail.com
Tue Oct 17 17:10:53 UTC 2017


Thanks for the quick reply!

I've commented out the disk and environmentals in rancid.types.base.

But for reference here's what's been repeating since I've installed rancid.

diff --git a/configs/**my switch**
index 2be026c..d335d3d 100644
--- a/**my switch*
+++ b/**my switch*
-242,8 +242,8 @@
!Flash: logflash: 4096 Apr 07 05:42:52 2015 vdc_8/
!Flash: logflash: 4096 Apr 07 05:42:52 2015 vdc_9/
!Flash: logflash: Usage for logflash://sup-local
-!Flash: logflash: 580 MB used
-!Flash: logflash: 6934 MB free
+!Flash: logflash: 581 MB used
+!Flash: logflash: 6933 MB free
!Flash: logflash: 7514 MB total
!
!Flash: slot0: 67492266 Nov 09 20:03:33 2016 n7000-s2-epld.6.2.16.img

diff --git a/configs//**my switch**
index 2c84fbf..8d95063 100644
--- a/**my switch**
+++ b/**my switch**
@@ -15,11 +15,11 @@
!Env: Module Sensor Status
!Env: ------+--------------------------+--------------------+------------
!Env: 1 air outlet 45C ok
-!Env: 1 air inlet 28C ok
+!Env: 1 air inlet 29C ok
!Env: 2 air outlet 29C ok
!Env: 2 air inlet 29C ok
!Env: 3 air outlet 30C ok
-!Env: 3 air inlet 26C ok
+!Env: 3 air inlet 27C ok
!
!Flash: bootflash: Directory of bootflash:/
!Flash: bootflash: 6 -rw- 20798019 Oct 4 2008 15:17:10 -04:00
cat4500e-ipbasek9-mz.122-46.SG.bin
diff --git a/configs/**my switch**
index 5b8e240..db1f302 100644
--- a/**my switch**
+++ b/**my switch**
@@ -15,11 +15,11 @@
!Env: Module Sensor Status
!Env: ------+--------------------------+--------------------+------------
!Env: 1 air outlet 39C ok
-!Env: 1 air inlet 24C ok
-!Env: 2 air outlet 26C ok
+!Env: 1 air inlet 25C ok
+!Env: 2 air outlet 27C ok
!Env: 2 air inlet 23C ok
-!Env: 3 air outlet 24C ok
-!Env: 3 air inlet 22C ok
+!Env: 3 air outlet 25C ok
+!Env: 3 air inlet 23C ok
!
!Flash: bootflash: Directory of bootflash:/
!Flash: bootflash: 6 -rw- 32292240 Jul 29 2014 07:20:00 +00:00
cat4500e-ipbasek9-mz.151-1.SG2.bin



On Tue, Oct 17, 2017 at 12:13 PM, heasley <heas at shrubbery.net> wrote:

> Tue, Oct 17, 2017 at 10:59:29AM -0400, Andrew Villano:
> > Hello All,
> >
> > I have a quick question. I'd like to stop rancid from logging
> > environmentals on my switches. I get diffs every day from the one or two
> > degree differences on the temperature in the datacenter in which my core
> > switches sit.
>
> that stuff should be filtered.  provide example output from the device
> and from rancid and the filter can be corrected.
>
> > How might I go about turning this off? I checked through the source code
> > and nothing apparent jumped out at me like an array of commands (eg. 'sh
> > run, sh env,) etc.
>
> see rancid.types.conf(5)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20171017/2c9bb735/attachment.html>


More information about the Rancid-discuss mailing list