Open for Voting
over 1 year ago

Adding the "Ignore text field" to Device.Backup.Running Config

It would be very nice if the "Ignore text field", which is available in Device.Backup.TFTP, Report.Compare.Two files and Report.Compare.Running Startup (could be in other jobs too, but those are the ones i found) could be implemented in the "Device.Backup.Running Config" job. Often there are certificates or other things that varies that we would like to be able to "ignore" when changing, so not to generate a config change report for each and every run.

http://www.kiwisyslog.com/help/cattools/index.html?act_ignoretext.htm


  • The nortel.aplication.switch doesn't support variations and it shows changes at every backup because it generates ephemeral session keys every time someone logs in. I would like to have the possibility to ignore the "secret" lines so I don't get changes reported at every back-up. So please add variations to nortel.application.switch type.

  • Thanks Magnus for posting back...  it was my pleasure to help.

  • So, after some emailing back and forth with Steve Welsh offlist (and issuance of a patched version of the solarwinds scripts) this is now working just fine.

    It is worth it to point out that <>^ are not regex. Those modifiers work fine in the Backup Ignore Text field, as long as you are not trying to ignore block text. If you do try to ignore block text , in other words {[Ss]tart.[Oo]f.[Tt]ext}-{[Ee]nd.[Oo]f.[Tt]ext} it follows regex notation.

    So i want to send a big THANK YOU to Steve and his fellow Solarwinds developers for their help.

  • Hi Magnus,

    The ignore block can be very tricky to set-up correctly.  I would need to see the HTML diff file and (if possible) the configs being compared, or at least an extract of them which includes the lines you are trying to ignore so I can find the correct syntax for the ignore text.

    I have sent you a friend request so I can gather this information from you offline (as I guess you probably don't want to post firewall configs on a public forum). emoticons_happy.png

    Steve

  • Thanks Steve, it seems to work better now, even if it is not working all

    the way

    For the Sonicwalls, I have variations configured like this:

    ^Cookie:

    ^auxSyslogConn0

    ^auxSyslogConn1

    ^remaining)

    ^ExpireTicks:

    <GW

    ^SPI

    ^Responder

    ^Initiator

    {<GW:}-{^SPI:}

    {VPN.SA.Configuration.Section}-|VPN.SA.Configuration.Section

    It seems to honor ^ statements but not < and definitely not {}-{}

    Right now I would like to match lines that begin with GW: but not lines

    that just has GW within them, preferrably i would like to match

    the {VPN.SA.Configuration.Section}-|VPN.SA.Configuration.Section

    statement and exclude the entire section.

    As you can probably see from the convoluted variations statements, i have

    been trying several different ways to match text, based on

    www.kiwisyslog.com/.../index.html

    I can provide further debugs if you would like.

    The part i am trying to ignore is in regards to current vpn tunnels.

    Thank you.

    -- Magnus Hansson

    twitter.com/hanssonmagnus

    www.linkedin.com/.../hanssonmagnus

    On 19 November 2012 23:01, Steve Welsh <