<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all; we are looking at getting a RANCID infrastructure in place and have been pleasantly surprised by how easy everything has been so far. Had my first backups of our HP equipment within a few hours of getting started.<div class=""><br class=""></div><div class="">But we also have a number of Aruba devices, and I can find no information on adding custom device types in this latest 3.1 version of the software. I have downloaded the Aruba scripts from <a href="ftp://ftp.shrubbery.net/pub/rancid/contrib/" class="">ftp://ftp.shrubbery.net/pub/rancid/contrib/</a> but these were designed for 2.3 and suggest editing rancid-fe. Instead what I ended up with, after much guesswork, is this:</div><div class=""><br class=""></div><div class="">$ cat /etc/rancid/rancid.types.conf</div><div class="">aruba;script;rancid -t aruba<br class="">aruba;login;arubalogin<br class="">aruba;module;rancid<br class="">aruba;inloop;rancid::inloop<br class="">aruba;command;rancid::RunCommand;no paging<br class="">aruba;command;rancid::RunCommand;show running-config<br class=""><br class=""><div class="">$ su -lc "rancid -dt aruba <a href="http://aruba.example.com" class="">aruba.example.com</a>" rancid<br class="">loadtype: device type aruba<br class="">loadtype: found device type aruba in /etc/rancid/rancid.types.conf<br class="">executing arubalogin -t 90 -c ”no paging;show running-config” <a href="http://aruba.example.com" class="">aruba.example.com</a><br class=""></div><div class=""><a href="http://aruba.example.com" class="">aruba.example.com</a>: missed cmd(s): all commands<br class=""><a href="http://aruba.example.com" class="">aruba.example.com</a>: End of run not found<br class=""><a href="http://aruba.example.com" class="">aruba.example.com</a>: End of run not found<br class=""><br class=""></div><div class=""><br class=""></div><div class="">Executing the displayed arubalogin command alone seems to work fine after a couple of small edits, and spits out the config. Why is rancid not recognizing it? Have I missed a step somewhere? Thanks for any pointers!</div><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="color: rgb(51, 102, 153); font-family: verdana, sans-serif; font-size: 10px;"><br class="Apple-interchange-newline"></span></span></div></div><div apple-content-edited="true" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="color: rgb(51, 102, 153); font-family: verdana, sans-serif; font-size: 10px;">Mike</span></span></div></body></html>