Mailing List Archive

Mikrotik config fetches when run on schedule on when run manually.
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
Re: Mikrotik config fetches when run on schedule on when run manually. [ In reply to ]
Fri, Sep 14, 2018 at 12:38:20PM +0000, 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?

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: Mikrotik config fetches when run on schedule on when run manually. [ In reply to ]
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 <J.Ede@birchenallhowden.co.uk<mailto:J.Ede@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-discuss@shrubbery.net<mailto:Rancid-discuss@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo/rancid-discuss