[rancid] Mikrotik issues ssh on 6.35.4

Wade Blackwell wadeb at bablam.com
Thu Aug 10 21:45:13 UTC 2017


Good afternoon from the Central Coast of Ca.

                I'm new to both Rancid and Mikrotik and getting a successful
config pull from a MT 6.35.4 VM is proving difficult. I've read quite allot
today and tried most everything I read. The result is rancid can login via
ssh but pulls a zero byte config. First issue appeared to be a timeout issue
which I addressed in the config. Now the issue appears to be "missed
cmd(s)". Details below;

 

Rancid Verion 2.3.8

Server OS CentOS 6 (Vmware guest)

Mikrotik version 6.35.4 (Vmware guest)

Error messages (rounds 1-4) "missed cmd(s): system license print,system
routerboard print,export"

Group in rancid.conf "LIST_OF_GROUPS="CHC_Creston":

.cloginrc pertinent config changes below

#*****YOUR CONFIG HERE******

#

add noenable * {1}

add method 172.31.0.210 {ssh}

add user 172.31.0.210 {admin}

add password 172.31.0.210 {abc123} {}

add timeout 172.31.0.210 500

add sshcmd 172.31.0.210 {/usr/local/rancid/bin/mtrancid}

#

routers.up contains "172.31.0.210:mikrotik"

router.db contains "172.31.0.210:mikrotik:up"

configs directory shows the host with zero byte config;

[root at cre-util-01 configs]# pwd

/usr/local/rancid/var/CHC_Creston/configs

 

[root at cre-util-01 configs]# ll

total 4

-rw-r----- 1 rancid netadm    0 Aug 10 13:36 172.31.0.210

drwxr-x--- 2 rancid netadm 4096 Aug 10 13:36 CVS

[root at cre-util-01 configs]# more 172.31.0.210

[root at cre-util-01 configs]#

 

                I must be missing something simple here as I see allot of
folks have been using rancid for a long time on the MT platform. Any
feedback on where I'm falling down would be great, thanks so much.

 

                -W

 

Wade Blackwell

(D) 805.457.8825

 <http://chc.bablam.com/> Creston Hills Consulting

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170810/ceccec84/attachment.html>


More information about the Rancid-discuss mailing list