[rancid] Newline issue
Merijn Evertse
merijn at trans-ix.nl
Mon Jan 30 14:47:40 UTC 2017
Hello,
Thank you for the response.
I checked the commands for disabling pager and they work. I also verified that debugging is disabled and is not logging to console.
Also the issue is not exactly every hour, some runs go without problems and some have this issue.
Merijn Evertse
-----Oorspronkelijk bericht-----
Van: heasley [mailto:heas at shrubbery.net]
Verzonden: donderdag 26 januari 2017 16:24
Aan: Merijn Evertse <merijn at trans-ix.nl>
CC: rancid-discuss at shrubbery.net
Onderwerp: Re: [rancid] Newline issue
Thu, Jan 26, 2017 at 08:42:35AM +0000, Merijn Evertse:
> Hello,
>
> The rancid run on our Fortigate units has a small issue. Every hour or so we get the following:
>
> - set two-factor-ftm-expiry 72
>
> + set two-fact
>
> + or-ftm-expiry 72
>
> Or
>
> - set virtual-server-hardware-acceleration enable
>
> + set vi
>
> + rtual-server-hardware-acceleration enable
This is most likely either the pager or some out-of-band like logs being written to the vty while the config is being collected. fnlogin should be disabling the pager; verify that your aaa configuration is allowing it to do so.
> I also see this sometimes on other devices, Cisco, Vyos etc.
> It seems that something goes wrong reading the lines and the code sees a newline where it shouldn't.
vyos is not supported by rancid and i've never used it, but it is probably the same cause. For the cisco too, and that is almost definitely your aaa not allowing it to disable the pager; but there are a few cisco platforms that have no way to disable the pager.
> On Vyos it looks like:
>
> - # chassis_asset_tag: show hardware pci
>
> - # 3091-1101-9766-6577-4039-0090-06
>
> + # chassis_asset_tag: 3091-1101-9766-6577-4039-0090-06
>
> Related one hour earlier:
>
> - # chassis_asset_tag: 3091-1101-9766-6577-4039-0090-06
>
> + # chassis_asset_tag: show hardware pci #
>
> + 3091-1101-9766-6577-4039-0090-06
>
> And here the command itself is shown.
>
> Kind regards,
>
> Merijn Evertse
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
More information about the Rancid-discuss
mailing list