[rancid] How to ignore certain output?

Matt Almgren malmgren at skyfire.com
Wed Mar 4 04:33:07 UTC 2015


I've seen this question pass through this list a couple times, but I wasn't paying attention.

I have this output from our f5 that rancid sees and is checking in the changes.  The monitor state up and down is usually alternating (QA environment), so I'd like to ignore that line:

Index: configs/sca-qa-lb001
===================================================================
- -- configs/sca-qa-lb001       (revision 7756)
@@ -398,13 +398,13 @@
  #       }
  #       10.102.72.122:4241 {
  #          node type pool member t
- #          monitor state down
+ #          monitor state up
  #          enable
  #          inband inst disable
  #       }
  #       10.102.72.122:4243 {
  #          node type pool member t
- #          monitor state down
+ #          monitor state up
  #          enable
  #          inband inst disable
  #       }
Index: configs/sca-qa-lb002
===================================================================

How and where do I configure rancid to ignore the lines that have "monitor state" in them?

Thanks, Matt


This message is being sent by Skyfire Labs, Inc.  It is intended exclusively for the individuals and entities to which it is addressed.  This communication, including any attachments, may contain information that is proprietary, privileged, confidential, or otherwise subject to restrictions on disclosure pursuant to applicable law.  If you are not the named addressee, you are not authorized to read, print, retain copy or disseminate this message or any part of it.  If you have received this message in error, please notify the sender immediately by email and delete all copies of this message.  This message is protected by applicable legal privileges and is confidential.


More information about the Rancid-discuss mailing list