<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&#39;t connect for some reason, and I didn&#39;t get any further.<br>
<br>I continued working on getting drancid/dlogin to work, and managed to get it to get past &#39;show vlan&#39; 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 &#39;exit&#39; command to disconnect, its picking up the &quot;Connection closed by...&quot; 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">&lt;<a href="mailto:jeremys@rickyninja.net">jeremys@rickyninja.net</a>&gt;</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&#39;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 &lt;<a href="mailto:2009@tybox.net">2009@tybox.net</a>&gt; said:<br>
&gt;<br>
&gt;    What  steps are necessary to monitor Dell switches?  Download drancid,<br>
&gt;    dlogin  and  put  them  in /opt/local/libexec/rancid with other rancid<br>
&gt;    executables,  then  what?   Update router.db and specify a device as a<br>
&gt;    &#39;dell&#39; instead of &#39;cisco&#39; or &#39;juniper&#39;<br>
&gt;    Is that basically it?<br>
&gt;<br>
&gt;    On    Fri,    Aug   14,   2009   at   9:45   PM,   Jeremy   Singletary<br>
</div><div class="im">&gt;    &lt;[1]<a href="mailto:jeremys@rickyninja.net">jeremys@rickyninja.net</a>&gt; wrote:<br>
&gt;<br>
&gt;      Looks  like  there  are some invisible characters showing up in the<br>
&gt;      pager<br>
&gt;      in  newer  Dells.  Download this version of dlogin, and let us know<br>
&gt;      if it<br>
&gt;      resolves the issue.<br>
</div>&gt;      [2]<a href="http://www.rickyninja.net/rancid/dlogin-dev" target="_blank">http://www.rickyninja.net/rancid/dlogin-dev</a><br>
&gt;      Thanks,<br>
&gt;      Jeremy<br>
<div class="im">&gt;<br>
&gt;    On 08/14/09, George Hills &lt;[3]<a href="mailto:george@brightbox.co.uk">george@brightbox.co.uk</a>&gt; said:<br>
&gt;    &gt; Hi,<br>
&gt;    &gt;<br>
&gt;    &gt;  My  thanks to Jeremy Singletary for his drancid/dlogin scripts, and<br>
&gt;    Nate<br>
&gt;    &gt; Steffen for his updates and email help.<br>
&gt;    &gt;<br>
&gt;    &gt; I&#39;ve had a couple of different problems trying to get RANCID working<br>
&gt;    &gt; with some Dell Powerconnect switches recently.<br>
&gt;    &gt;<br>
&gt;    &gt;  I&#39;m  using  rancid  2.3.2a7 from the Ubuntu package on Ubuntu Hardy<br>
&gt;    amd64.<br>
&gt;    &gt;<br>
&gt;    &gt;  My  Powerconnects  are  6248s running 2.0.1.2 and 2.2.0.3 and 5324s<br>
&gt;    running<br>
&gt;    &gt; 2.0.0.40.<br>
&gt;    &gt;<br>
&gt;    &gt;  The 6248s had an easy problem - the dlogin script is sending &quot;exit&quot;<br>
&gt;    and<br>
&gt;    &gt;  expecting to get out, but that only takes it out of enable mode. It<br>
&gt;    then<br>
&gt;    &gt; needs to send &quot;quit&quot; (*not* &quot;exit&quot; again) afterwards to get out.<br>
&gt;    &gt;<br>
&gt;    &gt; I bodged this by just adding a line:<br>
&gt;    &gt;<br>
</div>&gt;    &gt; strowger@beast:~$ diff dlogin [4]<a href="http://dlogin.gh" target="_blank">dlogin.gh</a><br>
<div class="im">&gt;    &gt; 672a673<br>
&gt;    &gt; &gt;     dsend &quot;quit\r&quot;<br>
&gt;    &gt;<br>
&gt;    &gt;<br>
&gt;    &gt; On the 5348 (where &quot;exit&quot; from enable mode logs you off...sigh...) I<br>
&gt;    &gt; think there&#39;s a problem with the pager. My &quot;more&quot; prompts look like<br>
&gt;    &gt;<br>
&gt;    &gt; &quot;More: &lt;space&gt;,  Quit: q, One line: &lt;return&gt; &quot;<br>
&gt;    &gt;<br>
&gt;    &gt;  and dlogin freezes when it sees one. Other than that it works fine.<br>
&gt;    I<br>
&gt;    &gt;  guess there&#39;s a problem with the regex but I can&#39;t work out what it<br>
&gt;    is.<br>
&gt;    &gt; Would be grateful for any suggestions.<br>
&gt;    &gt;<br>
&gt;    &gt; Cheers.<br>
&gt;    &gt;<br>
&gt;    &gt; --<br>
&gt;    &gt; George Hills<br>
&gt;    &gt; Systems Administrator<br>
&gt;    &gt; Brightbox<br>
</div>&gt;    &gt; [5]<a href="http://www.brightbox.co.uk/" target="_blank">http://www.brightbox.co.uk/</a><br>
&gt;    &gt;<br>
&gt;    &gt; _______________________________________________<br>
&gt;    &gt; Rancid-discuss mailing list<br>
&gt;    &gt; [6]<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
&gt;    &gt; [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>
&gt;    _______________________________________________<br>
&gt;    Rancid-discuss mailing list<br>
&gt;    [8]<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
&gt;    [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>
&gt;<br>
&gt; References<br>
&gt;<br>
&gt;    1. mailto:<a href="mailto:jeremys@rickyninja.net">jeremys@rickyninja.net</a><br>
&gt;    2. <a href="http://www.rickyninja.net/rancid/dlogin-dev" target="_blank">http://www.rickyninja.net/rancid/dlogin-dev</a><br>
&gt;    3. mailto:<a href="mailto:george@brightbox.co.uk">george@brightbox.co.uk</a><br>
&gt;    4. <a href="http://dlogin.gh/" target="_blank">http://dlogin.gh/</a><br>
&gt;    5. <a href="http://www.brightbox.co.uk/" target="_blank">http://www.brightbox.co.uk/</a><br>
&gt;    6. mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
&gt;    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>
&gt;    8. mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
&gt;    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>
&gt; _______________________________________________<br>
&gt; Rancid-discuss mailing list<br>
&gt; <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
&gt; <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>