[rancid] Palo Alto Panorama 'show config' - End of run not found
Jake Secrist
jake at secrist.org
Tue Nov 9 15:03:02 UTC 2021
In panos.pm (sub ShowConfig), RANCID finds the end of the 'show config'
output by matching a bare close bracket from the following regex:
if (/^}\s*$|\[edit\]/) {
We have a Panorama with an HTTP server profile that has a payload data
section which shows in the configuration like this:
{
************ lines of data *************
************ lines of data *************
************ lines of data *************
}
So the closing bracket of this data section matches the regex in panos.pm
and RANCID stops collecting the config output there. But this is not the
end of the configuration.
I can't think of any way around this since the actual end of the 'show
config' command is a bare close bracket.
There must be a good reason the prompt is not used to match as the end of
output?
Thank you,
Jake
* <http://www.24hoursofbooty.org/goto/breakingaway>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20211109/8d44593c/attachment.htm>
More information about the Rancid-discuss
mailing list