Discussion:
[rancid] Mikrotik config fetches when run on schedule on when run manually.
Jason Ede
2018-09-14 12:38:20 UTC
Permalink
For one of my mikrotiks I'm seeing this in every fetch when rancid-run is scheduled.

missed cmd(s): system package print detail without-paging

If I manually run the fetch with rancid-run -r <IP address> it completes without any errors. I've checked on the mikrotik and nothing looks wrong there at all and indeed it's fine on all other units that have been set up in the same way.

If I connect with mtlogin and run the command then the system package info pops up as expected.

Any ideas?

Cheers,
Jason
heasley
2018-09-14 17:25:39 UTC
Permalink
Post by Jason Ede
For one of my mikrotiks I'm seeing this in every fetch when rancid-run is scheduled.
missed cmd(s): system package print detail without-paging
If I manually run the fetch with rancid-run -r <IP address> it completes without any errors. I've checked on the mikrotik and nothing looks wrong there at all and indeed it's fine on all other units that have been set up in the same way.
If I connect with mtlogin and run the command then the system package info pops up as expected.
Any ideas?
Are you testing as the same user that runs rancid? ie: is it a permissions
problem?

or, do you have a long prompt on this device that is triggering some silly
fancy line handling, like shifting the line instead of wrapping?
Jason Ede
2018-09-15 19:50:02 UTC
Permalink
Tracked this down. It was an & in the system identity. Removed this and all started working fine.

On 14 Sep 2018, at 18:09, Jason Ede <***@birchenallhowden.co.uk<mailto:***@birchenallhowden.co.uk>> wrote:

For one of my mikrotiks I’m seeing this in every fetch when rancid-run is scheduled.

missed cmd(s): system package print detail without-paging

If I manually run the fetch with rancid-run -r <IP address> it completes without any errors. I’ve checked on the mikrotik and nothing looks wrong there at all and indeed it’s fine on all other units that have been set up in the same way.

If I connect with mtlogin and run the command then the system package info pops up as expected.

Any ideas?

Cheers,
Jason

_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net<mailto:Rancid-***@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Loading...