[rancid] Cisco
john heasley
heas at shrubbery.net
Fri Aug 5 00:18:24 UTC 2011
Tue, Aug 02, 2011 at 11:16:09AM -0500, Adam Korab:
> Hi John,
>
> On Tue, Aug 2, 2011 at 10:45 AM, john heasley <heas at shrubbery.net> wrote:
> >
> > it wasn't coded properly when the command was added to the ios code.
> > report it to the TAC and try a newer image or filter the line in the
> > rancid script.
>
> Can I get a quick how-to on filtering lines within rancid? I need
> this for another application as well; I've got another line to filter
> within the fortigate. I attempted modeling it after what I saw in
> fnracid for conf_file_ver
>
> # remove occurrances of conf_file_ver
> next if (/^#?conf_file_ver=/);
>
> I added a next if immediately after this one, matching off of Disk
> Usage, which is also prepended with # in the config:
>
> # remove disk usage cycling from fortianalyzer
> next if (/^ #?Disk Usage/);
either the format or case doesn't match the line properly or its in the
wrong location. I do not have a fortinet, so i don't know which it is.
> But it's not suppressing these. What am I missing? The line in question is:
>
> - #Disk Usage: Free 145.30GB, Total 330.10GB
> + #Disk Usage: Free 144.76GB, Total 330.10GB
>
> Thanks,
>
> --Adam
More information about the Rancid-discuss
mailing list