Discussion:
[rancid] *alpha* version of rancid 3.0
heasley
2012-10-24 17:56:03 UTC
Permalink
if you are not familiar with unix and perl, do not try this alpha version.
i will not tutor users. that said,

an alpha version of rancid 3.0 is available here:
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.0a.tar.gz

it includes the typical updates + xirrus support. but, the bigger bit is
the ability to more easily add device types (as referenced by router.db)
and configure the commands collected for a given device type.

it is a WiP, but its time for feedback.
Lee
2012-10-27 00:37:53 UTC
Permalink
Do you have a change log?
http://www.shrubbery.net/rancid/CHANGES only goes up to 2.3.8

Thanks,
Lee
Post by heasley
if you are not familiar with unix and perl, do not try this alpha version.
i will not tutor users. that said,
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.0a.tar.gz
it includes the typical updates + xirrus support. but, the bigger bit is
the ability to more easily add device types (as referenced by router.db)
and configure the commands collected for a given device type.
it is a WiP, but its time for feedback.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
heasley
2012-10-27 05:43:59 UTC
Permalink
Post by Lee
Do you have a change log?
http://www.shrubbery.net/rancid/CHANGES only goes up to 2.3.8
the one in the tarball is complete.

3.0a
implement grancid and rancid.types.{conf,base} collection configuration
stuff.

rancid, ios.pm: kill rx/txspeed on cellular modem cards

cloginrc: add enablecmd directive, for clogin - Jason Greenberg

lg.cgi: add cisco ios xr specific commands

francid: filter new uptime on netiron switch fabrics - Roman Hochuli

hlogin: add Login (capital L) as default login prompt - Johan Ryberg

rancid,ios.pm: update ASA/PIX pre-shared-key format - Michael Hertrick

*rancid: pass (INPUT,OUTPUT,$cmd) to filter functions

rancid::base renamed rancid

Add lib/ and bin/grancid to the build process

*rancid: add -t option for rancid-fe to pass the device type from
router.db. Mainly for grancid, but pass it to all scripts.

router.db,rancid.types.*: change field separator to ';' (semi-colon) to
allow for IPv6 addresses in router.db and avoid conflict with :s in
device commands and perl module names

*rancid: few variable name changes to match rancid::base

arrancid: summarize flash remaining space

jrancid: show version can terminate abnormally when unable to
communicate with a daemon

nxrancid: improve power supply wattage filtering further

nxrancid: improve power supply wattage filtering - Zenon Mousmoulas

jlogin: set cli screen-width to prevent cli from mucking with the
command line in irritating ways - Jay Borkenhagen

xrrancid: adjust for ARS9k RSP440 show version format

anrancid: add arbor networks module

*rancid: add the -C option

rivlogin,jlogin,fnlogin: command-line option clean-up

mtlogin: fix cloginrc timeout handling & clean-up command-line options

xrancid: capture more info from show switch.

xrrancid: filter changing files (*_cont) from nvram:.

rancid: ignore "Load for five secs:" and "Time source is
NTP" lines.

rancid: remove LISP-MapCache files; fix date removal for dhcp &
vlan.dat files in flash.

nxrancid: delete the line with the "^" from the "Invalid command at"
errors.

hlogin: add "username" to prompt match for Cisco ACS 5.3 - Skye Hagen

rancid: Filter issu_loc_lock and volt_cont files

nxrancid: try to get show env power output to line up better.

hrancid: ignore unrecognized command for "show system( |-)information"

xirancid: xirrus support - Aaron Smith

jrancid: filter $9$ at the FILTER_PWDS=YES level

rancid: include fans in ShowEnv - Affa Pan

fnlogin: correct check for ssh port setting - Robert Blayzor

rancid: adjust snmp community filter for ASA version >=8.x - Skye Hagen

Add MAILOPTS variable to rancid.conf - Matej Vela

share/Makefile: missing MAIL* variables in sed script - Aaron Smith

jrancid: distill used subscriber licenses to a percentage, else its
forever changing.

nxrancid: nx5000 generates spurious 'Permission denied' error for 'show
debug' if command authorization is used - Per-Olof Olsson

nxrancid: remove cisco ios residuals - Per-Olof Olsson

hlogin: add "--" in comment to prevent older expect/tcl from
interpretting "-," as an option. !@#&!#$

rancid, xrrancid: add KB to disk/flash bytes free filtering

xrrancd: also filter temp_static_data

rancid: filter LISP cache file number, size and date on IOS-XE LISP EFT
and filter dhcp db and vlan.dat in the same manner, instead of removing

clogin.1: note not using [#>] in prompts

xrrancid: additional file filters for 4.2

hpuifilter: dont use memcpy for overlapping regions - David Byers
Lee
2012-10-27 14:06:52 UTC
Permalink
Post by heasley
Post by Lee
Do you have a change log?
http://www.shrubbery.net/rancid/CHANGES only goes up to 2.3.8
the one in the tarball is complete.
It didn't even occur to me to look there. Oh well, I'll know better
next time :)
Post by heasley
3.0a
[.. snip long list ..]

oh my, you've been busy!

I'll give it a shot :)

Thanks for the great work; I love rancid.
Lee
heasley
2012-10-29 21:06:38 UTC
Permalink
few minor fixes added here:
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.0a1.tar.gz

per-your other e-mail, note that : field separators in router.db have
been changed to ;'s to allow for ipv6 addresses in the router.db file.

also see supplied manpages for grancid and rancid.types.conf
Lee
2012-10-30 13:44:05 UTC
Permalink
Post by heasley
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.0a1.tar.gz
OK, I'll use that
Post by heasley
per-your other e-mail, note that : field separators in router.db have
been changed to ;'s to allow for ipv6 addresses in the router.db file.
Thank you! Made that change and it works for me now :)

Lee
Jake Secrist
2012-11-01 14:04:48 UTC
Permalink
John,

I had to modify clogin to get it to work. Our authentication server sends
username: (lowercase 'u') and clogin expects Username:

--- clogin.original 2012-11-01 09:03:38.046126840 -0400
+++ clogin 2012-11-01 09:24:44.810283562 -0400
@@ -813,7 +813,7 @@
# Figure out prompts
set u_prompt [find userprompt $router]
if { "$u_prompt" == "" } {
- set u_prompt "(Username|Login|login|user name|User):"
+ set u_prompt "(\[Uu]sername|Login|login|user name|User):"
} else {
set u_prompt [join [lindex $u_prompt 0] ""]
}

Thank you,

Jake
Post by heasley
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.0a1.tar.gz
per-your other e-mail, note that : field separators in router.db have
been changed to ;'s to allow for ipv6 addresses in the router.db file.
also see supplied manpages for grancid and rancid.types.conf
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
kris
2012-11-04 19:22:58 UTC
Permalink
Hi
But you can tell rancid what login prompt to expect by setting it in .cloginrc file.
Post by Jake Secrist
John,
I had to modify clogin to get it to work. Our authentication server sends
--- clogin.original 2012-11-01 09:03:38.046126840 -0400
+++ clogin 2012-11-01 09:24:44.810283562 -0400
@@ -813,7 +813,7 @@
# Figure out prompts
set u_prompt [find userprompt $router]
if { "$u_prompt" == "" } {
- set u_prompt "(Username|Login|login|user name|User):"
+ set u_prompt "(\[Uu]sername|Login|login|user name|User):"
} else {
set u_prompt [join [lindex $u_prompt 0] ""]
}
Thank you,
Jake
Post by heasley
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.0a1.tar.gz
per-your other e-mail, note that : field separators in router.db have
been changed to ;'s to allow for ipv6 addresses in the router.db
file.
Post by heasley
also see supplied manpages for grancid and rancid.types.conf
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
------------------------------------------------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Sent from mobile device.
Loading...