[rancid] Adding Junos show configuration | display set in rancid 3.5.1

Yuval Ben Ari ybenari at varonis.com
Sat Sep 17 15:05:52 UTC 2016

I am trying to add Junos "show configuration | display set" to juniper devicetype in 3.5.1 like I had before.
Based on suggestions here: http://www.shrubbery.net/pipermail/rancid-discuss/2009-October/004320.html

But getting the following:
$ ./bin/rancid -t myjuniper -d myswitch
loadtype: device type myjuniper
loadtype: found device type myjuniper in /usr/local/rancid/etc/rancid.types.conf
executing jlogin -t 120 -c"show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis hardware models;show chassis routing-engine;show chassis alarms;show system license;show system core-dumps;show version detail;show version invoke-on other-routing-engine;show configuration;show configuration | display set" myswitch
[...output trimmed...]
HIT COMMAND:rancid at MYSWITCH> show configuration | display set
    In ShowConfigurationDisplaySet: rancid@ MYSWITCH > show configuration | display set
readline() on unopened filehandle INPUT at /usr/local/rancid/lib/rancid/myjunos.pm line 640.
Use of uninitialized value $_ in pattern match (m//) at /usr/local/rancid/lib/rancid/myjunos.pm line 136.
Use of uninitialized value $_ in pattern match (m//) at /usr/local/rancid/lib/rancid/myjunos.pm line 141.

Can someone help?

This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160917/41ee856c/attachment.html>

More information about the Rancid-discuss mailing list