[rancid] Aruba devices in 3.1

Michael Newton mnewton at pofp.com
Tue Jan 6 23:40:55 UTC 2015

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.

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 ftp://ftp.shrubbery.net/pub/rancid/contrib/ <ftp://ftp.shrubbery.net/pub/rancid/contrib/> but these were designed for 2.3 and suggest editing rancid-fe. Instead what I ended up with, after much guesswork, is this:

$ cat /etc/rancid/rancid.types.conf
aruba;script;rancid -t aruba
aruba;command;rancid::RunCommand;no paging
aruba;command;rancid::RunCommand;show running-config

$ su -lc "rancid -dt aruba aruba.example.com" rancid
loadtype: device type aruba
loadtype: found device type aruba in /etc/rancid/rancid.types.conf
executing arubalogin -t 90 -c ”no paging;show running-config” aruba.example.com <http://aruba.example.com/>
aruba.example.com: missed cmd(s): all commands
aruba.example.com: End of run not found
aruba.example.com: End of run not found

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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150106/7d38fa90/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5254 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150106/7d38fa90/attachment.bin>

More information about the Rancid-discuss mailing list