<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri",sans-serif;
color:#1F497D}
.MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Thanks John --- this worked
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Much appreciated</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Shaun</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> John Kougoulos [mailto:john.kougoulos@gmail.com]
<br>
<b>Sent:</b> Wednesday, February 04, 2015 12:57 PM<br>
<b>To:</b> Shaun Krok<br>
<b>Cc:</b> rancid-discuss@shrubbery.net<br>
<b>Subject:</b> Re: [rancid] rancid not working with partitions v11.x tmsh F5 LTM</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,</p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I had a similar problem with the width of the terminal, so when the device was out of sync, the prompt was becoming longer and some of the commands failed to be parsed.</p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I had to change in f5rancid the line:<br>
$ENV{'TERM'} = "vt100";</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">to:<br>
$ENV{'TERM'} = "vt100-w";</p>
</div>
<div>
<p class="MsoNormal">Regards,<br>
John</p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">On Wed, Feb 4, 2015 at 8:33 AM, Shaun Krok <<a href="mailto:Shaun.Krok@888holdings.com" target="_blank">Shaun.Krok@888holdings.com</a>> wrote:</p>
<blockquote style="border:none; border-left:solid #CCCCCC 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-right:0in">
<p class="MsoNormal">Hi there<br>
<br>
I was hoping someone had come across this issue.<br>
<br>
We are using Rancid to collect diffs from our BIG-IP clusters (as per bash script below)<br>
It works really well but are now facing an issue for reason unknown that when the cluster is not synced the rancid fails and reports fetcher issues.<br>
If I run the bash script below manually on each device it works without issue.<br>
As soon the cluster is synced it works fine ..<br>
<br>
It appears that TMSH is not allowing the script to work but it works fine if I run it manually on the BIG-IP<br>
<br>
What could be the problem ?<br>
<br>
Thank you<br>
<br>
Shaun</p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
-----Original Message-----<br>
From: Rancid-discuss [mailto:<a href="mailto:rancid-discuss-bounces@shrubbery.net">rancid-discuss-bounces@shrubbery.net</a>] On Behalf Of Shaun Krok<br>
Sent: Monday, October 13, 2014 8:13 AM<br>
To: Mick O'Rourke<br>
Cc: <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br>
Subject: Re: [rancid] rancid not working with partitions v11.x tmsh F5 LTM<br>
<br>
Thank your for the reply ---<br>
<br>
i have created a bash script on the F5 and it works creating a<br>
test.file with all the config<br>
the file is in /root/f5part<br>
<br>
#!/bin/bash<br>
tmsh -q -c 'cd / ;list recursive'<br>
<br>
how do i call from f5rancid or do i have this all wrong ?<br>
<br>
<br>
{'tmsh -q list' => 'WriteTermTMSH'},<br>
#{'tmsh -q -c /"cd /;list recursive"/' => 'WriteTermTMSH'},<br>
<br>
<br>
<br>
On 2014-10-13 06:13, Mick O'Rourke wrote:<br>
> We found easiestquickest way to modify rancid-f5 - post 11.x version<br>
> checkdetect, call a bash script under /root/bin which runs "tmsh -q<br>
> -c<br>
> cd / ;list recursive" working around the rancid limitationerrors that<br>
> resulted when cd / ;list recursive was added to rancid-f5 itself.<br>
><br>
> On 12 October 2014 15:27, Shaun Krok <<a href="mailto:krok@krok.za.net">krok@krok.za.net</a> [4]> wrote:<br>
><br>
>> Hi<br>
>><br>
>> I am busy to integrate Rancid into our network and have an issue<br>
>> with partitions on BIG IP LTM v11.x<br>
>> All works fine but Rancid does not backup all partitions …<br>
>> I am using the script from GIT with TMSH commands<br>
>><br>
>> This command work from bash : tmsh -q -c "cd /; list recursive" but<br>
>> does not from the script ..<br>
>><br>
>> This is a snip from the forum where the issue was identified but is<br>
>> anyone aware if there is a fix :<br>
>><br>
>> Thanks<br>
>><br>
>> Shaun<br>
>><br>
>> here is a working tmsh version in the rancid git repo.<br>
>><br>
>> The only thing that doesnt work when adjusting the script to list<br>
>> all<br>
>> partition co config is a tmsh -q -c "cd /; list recursive" - it<br>
>> errors out<br>
>> due to extra double quotes required by the -c option.<br>
>> On Dec 6, 2012 8:57 PM, "Darius Seroka" <dariusjs at <a href="http://gmail.com" target="_blank">
gmail.com</a> [1]><br>
>> wrote:<br>
>><br>
>> Shaun Krok<br>
>> Network Team<br>
>><br>
>> --<br>
>> Shaun Krok<br>
>> Tel: 050 2424 381<br>
>> _______________________________________________<br>
>> Rancid-discuss mailing list<br>
>> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a> [2]<br>
>> <a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" target="_blank">
http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a> [3]<br>
><br>
><br>
><br>
> Links:<br>
> ------<br>
> [1] <a href="http://gmail.com" target="_blank">http://gmail.com</a><br>
> [2] mailto:<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> [3] <a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" target="_blank">
http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
> [4] mailto:<a href="mailto:krok@krok.za.net">krok@krok.za.net</a><br>
<br>
--<br>
Shaun Krok<br>
Tel: 050 2424 381<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/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
<br>
</p>
</div>
</div>
<p class="MsoNormal">This email message and its attachments are for the sole use of the intended recipient(s) and may not be shared with any other party. They may contain confidential information of 888 Holdings plc or its direct and indirect subsidiaries (together,
the “888 Group”) and are to be regarded as confidential information under any non-disclosure agreement. Any review, use, disclosure or distribution by persons or entities other than the intended recipient(s) is prohibited. Nothing in this message is capable
of or intended to create any legally binding obligation. The 888 Group will only ever assume a legally binding obligation where recorded in a written agreement duly executed by the authorized signatories of the relevant 888 Group company. The 888 Group accepts
no liability for any personal views expressed in this message. If you are not the intended recipient, please contact the sender by return and destroy all copies of the original message and its attachments. Thank you</p>
<div>
<div>
<p class="MsoNormal">_______________________________________________<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/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<br>
<br>
This email message and its attachments are for the sole use of the intended recipient(s) and may not be shared with any other party. They may contain confidential information of 888 Holdings plc or its direct and indirect subsidiaries (together, the “888 Group”)
and are to be regarded as confidential information under any non-disclosure agreement. Any review, use, disclosure or distribution by persons or entities other than the intended recipient(s) is prohibited. Nothing in this message is capable of or intended
to create any legally binding obligation. The 888 Group will only ever assume a legally binding obligation where recorded in a written agreement duly executed by the authorized signatories of the relevant 888 Group company. The 888 Group accepts no liability
for any personal views expressed in this message. If you are not the intended recipient, please contact the sender by return and destroy all copies of the original message and its attachments. Thank you
</body>
</html>