[rancid] Re: Dell Switch Errors
Jeremy Singletary
jeremys at rickyninja.net
Wed Jun 30 20:08:16 UTC 2010
On 06/23/10, Willie Bollinger <willie at qis.net> said:
> WriteTerm: qos basic
> WriteTerm: qos trust cos
> WriteTerm: dsw1-cc#exitConnection to 10.10.111.2 closed by foreign host.
The line above leads me to believe that the regex is failing because the
regex expects the last character on the line to be the t in exit.
drancid:
if (/$prompt\s?exit$/) { warn "left WriteTerm on: $_"; $clean_run=1;last; }
also in drancid:
if (/[>#]\s?exit$/) {
$clean_run=1;
last;
}
Try removing the $ after the word exit in one or both of those regex conditions.
-jeremy
More information about the Rancid-discuss
mailing list