Discussion:
[rancid] IFBrief no longer reporting for Cisco gear with 2.3.2a7
Elliott, Andrew
2008-01-10 21:17:49 UTC
Permalink
Hello,

Is there any plans to include the IFBrief output in future releases or
patches? Since moving to 2.3.2a7, that portion of the output is no
longer included in the backups.

Is there an easy way to edit bin/rancid to add the support back in?

---
(o< Andrew Elliott desk: 989.758.6987
//\ Tier II Data cell: 989.213.5794
V_/_ XO Communications
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Don't EVER cross the streams."
john heasley
2008-01-11 19:52:14 UTC
Permalink
I do not understand what it is that you're calling "IFBrief output."
Post by Elliott, Andrew
Hello,
Is there any plans to include the IFBrief output in future releases or
patches? Since moving to 2.3.2a7, that portion of the output is no
longer included in the backups.
Is there an easy way to edit bin/rancid to add the support back in?
---
(o< Andrew Elliott desk: 989.758.6987
//\ Tier II Data cell: 989.213.5794
V_/_ XO Communications
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Don't EVER cross the streams."
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Elliott, Andrew
2008-01-11 20:06:27 UTC
Permalink
With the older version of rancid, the output of "show ip interface
brief" was included in the backups (preceeded in the output by "IFBrief:
etc..."

Since moving to 2.3.2a7, that output is missing from the backups.

---
Andrew Elliott
Tier II Data
XO Communications
desk: 989.758.6987
cell: 989.213.5794
-----Original Message-----
Sent: Friday, January 11, 2008 2:52 PM
To: Elliott, Andrew
Subject: Re: [rancid] IFBrief no longer reporting for Cisco
gear with 2.3.2a7
I do not understand what it is that you're calling "IFBrief output."
Post by Elliott, Andrew
Hello,
Is there any plans to include the IFBrief output in future
releases or
Post by Elliott, Andrew
patches? Since moving to 2.3.2a7, that portion of the output is no
longer included in the backups.
Is there an easy way to edit bin/rancid to add the support back in?
---
(o< Andrew Elliott desk: 989.758.6987
//\ Tier II Data cell: 989.213.5794
V_/_ XO Communications
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Don't EVER cross the streams."
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
john heasley
2008-01-11 20:09:18 UTC
Permalink
Post by Elliott, Andrew
With the older version of rancid, the output of "show ip interface
etc..."
No, that was never collected. You had a local modification.
Post by Elliott, Andrew
Since moving to 2.3.2a7, that output is missing from the backups.
---
Andrew Elliott
Tier II Data
XO Communications
desk: 989.758.6987
cell: 989.213.5794
-----Original Message-----
Sent: Friday, January 11, 2008 2:52 PM
To: Elliott, Andrew
Subject: Re: [rancid] IFBrief no longer reporting for Cisco
gear with 2.3.2a7
I do not understand what it is that you're calling "IFBrief output."
Post by Elliott, Andrew
Hello,
Is there any plans to include the IFBrief output in future
releases or
Post by Elliott, Andrew
patches? Since moving to 2.3.2a7, that portion of the output is no
longer included in the backups.
Is there an easy way to edit bin/rancid to add the support back in?
---
(o< Andrew Elliott desk: 989.758.6987
//\ Tier II Data cell: 989.213.5794
V_/_ XO Communications
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Don't EVER cross the streams."
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Elliott, Andrew
2008-01-11 20:19:00 UTC
Permalink
John,

Thanks so much for the answer!

I tried to add it myself by adding this line to the commandtable:

{'show ip interface brief' => "ShowIFBrief"},

And this routine:

sub ShowIFBrief {
print STDERR " In ShowIFBrief: $_" if ($debug);

while (<INPUT>) {
tr/\015//d;
last if (/^$prompt/);
next if (/^(\s*|\s*$cmd\s*)$/);
return(-1) if (/command authorization failed/i);
ProcessHistory("COMMENTS","","","!IFBrief: $_");
}
ProcessHistory("COMMENTS","","","!\n");
return(0);
}

---
Andrew Elliott
Tier II Data
XO Communications
desk: 989.758.6987
cell: 989.213.5794
-----Original Message-----
Sent: Friday, January 11, 2008 3:09 PM
To: Elliott, Andrew
Subject: Re: [rancid] IFBrief no longer reporting for Cisco
gear with 2.3.2a7
Post by Elliott, Andrew
With the older version of rancid, the output of "show ip interface
brief" was included in the backups (preceeded in the output
etc..."
No, that was never collected. You had a local modification.
Post by Elliott, Andrew
Since moving to 2.3.2a7, that output is missing from the backups.
---
Andrew Elliott
Tier II Data
XO Communications
desk: 989.758.6987
cell: 989.213.5794
-----Original Message-----
Sent: Friday, January 11, 2008 2:52 PM
To: Elliott, Andrew
Subject: Re: [rancid] IFBrief no longer reporting for Cisco
gear with 2.3.2a7
I do not understand what it is that you're calling
"IFBrief output."
Post by Elliott, Andrew
Post by Elliott, Andrew
Hello,
Is there any plans to include the IFBrief output in future
releases or
Post by Elliott, Andrew
patches? Since moving to 2.3.2a7, that portion of the
output is no
Post by Elliott, Andrew
Post by Elliott, Andrew
longer included in the backups.
Is there an easy way to edit bin/rancid to add the
support back in?
Post by Elliott, Andrew
Post by Elliott, Andrew
---
(o< Andrew Elliott desk: 989.758.6987
//\ Tier II Data cell: 989.213.5794
V_/_ XO Communications
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Don't EVER cross the streams."
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
john heasley
2008-01-11 20:26:10 UTC
Permalink
Post by Elliott, Andrew
John,
Thanks so much for the answer!
{'show ip interface brief' => "ShowIFBrief"},
sub ShowIFBrief {
print STDERR " In ShowIFBrief: $_" if ($debug);
while (<INPUT>) {
tr/\015//d;
last if (/^$prompt/);
next if (/^(\s*|\s*$cmd\s*)$/);
return(-1) if (/command authorization failed/i);
ProcessHistory("COMMENTS","","","!IFBrief: $_");
}
ProcessHistory("COMMENTS","","","!\n");
return(0);
}
I'm trying to add a way to make local additions (and omissions) like this
easier. but it will not be ready until after 2.3.2.

Loading...