<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Did you look into what John Heasley suggested previously about trying<br>
the SMC scripts?</blockquote><blockquote style="margin: 1.5em 0pt;"></blockquote>I did try, but had trouble getting them to work. They want to call hpuifilter, which doesn't connect for some reason, and I didn't get any further.<br>
<br>I continued working on getting drancid/dlogin to work, and managed to get it to get past 'show vlan' more prompt hanging by removing the carrot ^ from the RE. Now, it completes the commands and shows it properly, but when it issues the final 'exit' command to disconnect, its picking up the "Connection closed by..." string created by the session closing and believes it did not close cleanly.<br>
<br><br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 11:23 PM, Jeremy Singletary <span dir="ltr"><<a href="mailto:jeremys@rickyninja.net">jeremys@rickyninja.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You'll also need a modified rancid-fe that recognizes the dell string in<br>
router.db and calls drancid.<br>
<br>
Did you look into what John Heasley suggested previously about trying<br>
the SMC scripts?<br>
<br>
-jeremy<br>
<div class="im"><br>
On 08/14/09, Josh Rogers <<a href="mailto:2009@tybox.net">2009@tybox.net</a>> said:<br>
><br>
> What steps are necessary to monitor Dell switches? Download drancid,<br>
> dlogin and put them in /opt/local/libexec/rancid with other rancid<br>
> executables, then what? Update router.db and specify a device as a<br>
> 'dell' instead of 'cisco' or 'juniper'<br>
> Is that basically it?<br>
><br>
> On Fri, Aug 14, 2009 at 9:45 PM, Jeremy Singletary<br>
</div><div class="im">> <[1]<a href="mailto:jeremys@rickyninja.net">jeremys@rickyninja.net</a>> wrote:<br>
><br>
> Looks like there are some invisible characters showing up in the<br>
> pager<br>
> in newer Dells. Download this version of dlogin, and let us know<br>
> if it<br>
> resolves the issue.<br>
</div>> [2]<a href="http://www.rickyninja.net/rancid/dlogin-dev" target="_blank">http://www.rickyninja.net/rancid/dlogin-dev</a><br>
> Thanks,<br>
> Jeremy<br>
<div class="im">><br>
> On 08/14/09, George Hills <[3]<a href="mailto:george@brightbox.co.uk">george@brightbox.co.uk</a>> said:<br>
> > Hi,<br>
> ><br>
> > My thanks to Jeremy Singletary for his drancid/dlogin scripts, and<br>
> Nate<br>
> > Steffen for his updates and email help.<br>
> ><br>
> > I've had a couple of different problems trying to get RANCID working<br>
> > with some Dell Powerconnect switches recently.<br>
> ><br>
> > I'm using rancid 2.3.2a7 from the Ubuntu package on Ubuntu Hardy<br>
> amd64.<br>
> ><br>
> > My Powerconnects are 6248s running 2.0.1.2 and 2.2.0.3 and 5324s<br>
> running<br>
> > 2.0.0.40.<br>
> ><br>
> > The 6248s had an easy problem - the dlogin script is sending "exit"<br>
> and<br>
> > expecting to get out, but that only takes it out of enable mode. It<br>
> then<br>
> > needs to send "quit" (*not* "exit" again) afterwards to get out.<br>
> ><br>
> > I bodged this by just adding a line:<br>
> ><br>
</div>> > strowger@beast:~$ diff dlogin [4]<a href="http://dlogin.gh" target="_blank">dlogin.gh</a><br>
<div class="im">> > 672a673<br>
> > > dsend "quit\r"<br>
> ><br>
> ><br>
> > On the 5348 (where "exit" from enable mode logs you off...sigh...) I<br>
> > think there's a problem with the pager. My "more" prompts look like<br>
> ><br>
> > "More: <space>, Quit: q, One line: <return> "<br>
> ><br>
> > and dlogin freezes when it sees one. Other than that it works fine.<br>
> I<br>
> > guess there's a problem with the regex but I can't work out what it<br>
> is.<br>
> > Would be grateful for any suggestions.<br>
> ><br>
> > Cheers.<br>
> ><br>
> > --<br>
> > George Hills<br>
> > Systems Administrator<br>
> > Brightbox<br>
</div>> > [5]<a href="http://www.brightbox.co.uk/" target="_blank">http://www.brightbox.co.uk/</a><br>
> ><br>
> > _______________________________________________<br>
> > Rancid-discuss mailing list<br>
> > [6]<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> > [7]<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> [8]<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> [9]<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
><br>
> References<br>
><br>
> 1. mailto:<a href="mailto:jeremys@rickyninja.net">jeremys@rickyninja.net</a><br>
> 2. <a href="http://www.rickyninja.net/rancid/dlogin-dev" target="_blank">http://www.rickyninja.net/rancid/dlogin-dev</a><br>
> 3. mailto:<a href="mailto:george@brightbox.co.uk">george@brightbox.co.uk</a><br>
> 4. <a href="http://dlogin.gh/" target="_blank">http://dlogin.gh/</a><br>
> 5. <a href="http://www.brightbox.co.uk/" target="_blank">http://www.brightbox.co.uk/</a><br>
> 6. mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> 7. <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
> 8. mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> 9. <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
<div><div></div><div class="h5"><br>
> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</div></div></blockquote></div><br>