<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Closer!<br>
<br>
I had to fix a couple id10t errors, and tell audiorancid that it's prompt is > versus #.<br>
<br>
Now it's dumping the entire raw file during one 'ProcessHistory' call. Is there a way to only have it dump the contents per calls (so we can get error messages per call) or just have it be okay with only one call? and not complain about all the other missed
commands?<br>
<br>
Also, it's currently inserting ';' in front of almost all lines. Is there a way to not insert ';'s?<br>
<br>
Thank you in advance,<br>
</p>
<div><br>
</div>
<br>
--- Excerpt of the .new file ---<br>
<br>
Thank you again in advance,
<p></p>
<p>Robert<br>
<br>
</p>
<div>rancid@SERVER:~$ audiorancid -d 10.174.0.247 </div>
<div>executing audiologin -t 90 -c"show storage-history;show system active-alarms;show system assembly;show system feature;show system version;show voip firewall;show voip tls certificate;show running-config" 10.174.0.247</div>
<div>PROMPT MATCH: Mediant 1000> show storage-history</div>
<div>[#>]</div>
<div>HIT COMMAND:Mediant 1000> show storage-history</div>
<div> In ShowStorageHistory: Mediant 1000> show storage-history</div>
<div>10.174.0.247: missed cmd(s): show system active-alarms, show system assembly, show system feature, show system version, show voip firewall, show voip tls certificate</div>
<div>10.174.0.247: End of run not found</div>
<div>;</div>
<div><br>
</div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Tahoma; font-size:13px">
<div>
<div>
<p style="font-family:Tahoma; font-size:13px"></p>
<p style="font-family:Tahoma; font-size:13px"><br>
</p>
<p style="font-family:Tahoma; font-size:13px"><br>
</p>
<p>Robert Remsik</p>
<p>ACNS</p>
<p>Desk Phone: 970 491 7120</p>
<p>Robert.Remsik@colostate.edu</p>
<p style="font-family:Tahoma; font-size:13px"></p>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> heasley <heas@shrubbery.net><br>
<b>Sent:</b> Saturday, September 10, 2016 8:16 AM<br>
<b>To:</b> Remsik,Robert<br>
<b>Cc:</b> rancid-discuss@shrubbery.net<br>
<b>Subject:</b> Re: [rancid] Creating a new rancid login file</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Fri, Sep 09, 2016 at 09:30:26PM +0000, Remsik,Robert:<br>
> Hello!<br>
> <br>
> <br>
> I'm trying to create a new rancid login file for an audiocodes device and I need a little help debugging what's going on & how to fix it.<br>
> <br>
> <br>
> I've created audiologin which can successfully loginto and run all the commands required (per FAQ 3.2). However, when I try using audiorancid (based upon hrancid) to call audiologin I'm getting an error that it can't run the commands which does not make
sense to me yet. What I see as a result of CLI running audiorancid is it's creating the file to write to(it shows up in the file system), and then it attempts to 'select' this file and then proceeds to error out. This doesn't make sense to me as the excerpt
from hrancid (which works against HP switches), is identical (minus debug commands) and does not have this problem. Any help is appriciated!<br>
> <br>
> Thank you in advance,<br>
> <br>
> <br>
> <br>
> I've created the type 'ac' as defined in /etc/base.types.conf so when/if rancid-run gets ahold of it it'll find the correct files.<br>
> <br>
> ac;script;audiorancid<br>
> ac;login;audiologin<br>
> <br>
> rancid@server:~/var/rancid-3.4.99/logs$ audiorancid 10.174.0.247<br>
> commandstr: show storage-history;show system active-alarms;show system assembly;show system feature;show system version;show voip firewall;show voip tls certificate;show running-config<br>
> Debug 1<br>
> Debug 2<br>
> 10.174.0.247: missed cmd(s): all commands<br>
<br>
try<br>
export NOPIPE=YES<br>
audiorancid -a ip<br>
<br>
that should leave an ip.raw file behind and may provide the cause.<br>
</div>
</span></font></div>
</div>
</body>
</html>