<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Install infinite loop]]></title><description><![CDATA[<p dir="auto">I am attempting to install the application with the script found on the arm setup page when I create a new software monitor. It hangs on the downloading OTM binary and never completes the download. Is it possible that the url in the script is incorrect or the file changed?</p>
]]></description><link>https://support.isptracker.com/topic/182/install-infinite-loop</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 03:44:54 GMT</lastBuildDate><atom:link href="https://support.isptracker.com/topic/182.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Feb 2022 16:34:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Install infinite loop on Mon, 14 Mar 2022 21:51:17 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support Thank you. I appreciate the time it took to troubleshoot this one with me.</p>
]]></description><link>https://support.isptracker.com/post/833</link><guid isPermaLink="true">https://support.isptracker.com/post/833</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Mon, 14 Mar 2022 21:51:17 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Mon, 14 Mar 2022 18:48:08 GMT]]></title><description><![CDATA[<p dir="auto">We gave you a free upgrade on that agent as a thanks for sharing this problem with us.</p>
<p dir="auto">Most people just leave before telling us there's a problem we could fix.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://support.isptracker.com/post/832</link><guid isPermaLink="true">https://support.isptracker.com/post/832</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Mon, 14 Mar 2022 18:48:08 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Mon, 14 Mar 2022 16:31:35 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support The new agent is 128834. This was the site with all the issues that seems to be running well now.</p>
<p dir="auto">Agent 128600 can be deleted.</p>
]]></description><link>https://support.isptracker.com/post/831</link><guid isPermaLink="true">https://support.isptracker.com/post/831</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Mon, 14 Mar 2022 16:31:35 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Sun, 13 Mar 2022 13:51:57 GMT]]></title><description><![CDATA[<p dir="auto">Nice to hear.</p>
<p dir="auto">Which one is your most important agent ID? One that you'll keep going without deleting? We'll keep an eye on that for a bit too.</p>
]]></description><link>https://support.isptracker.com/post/830</link><guid isPermaLink="true">https://support.isptracker.com/post/830</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Sun, 13 Mar 2022 13:51:57 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Sat, 12 Mar 2022 20:00:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/echomin" aria-label="Profile: EchoMin">@<bdi>EchoMin</bdi></a><br />
Whatever changes you made to the script seems to have fixed it. I deleted everything, reinstalled with the new scripts, and everything seems to be downloading and running properly.</p>
<p dir="auto">Thanks for all the help.<br />
Josh</p>
]]></description><link>https://support.isptracker.com/post/828</link><guid isPermaLink="true">https://support.isptracker.com/post/828</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Sat, 12 Mar 2022 20:00:24 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Fri, 11 Mar 2022 21:56:21 GMT]]></title><description><![CDATA[<p dir="auto">Ok, some good news for you. The problem should be resolved now.<br />
Just create a new agent then download the updated script, version 1.0.5. You can let that new agent get deleted automatically by the system in 24hrs. Use that script and as before, make sure to upgrade the path's of course.</p>
<p dir="auto">It should work now.</p>
<p dir="auto">Also made a small change in the systemd if you're using it. Still have to solve why it's echo'ing out the text from the script but it works.</p>
<p dir="auto">[Unit]<br />
Description=Startup of the OutagesIO Internet monitor agent<br />
After=network.target</p>
<p dir="auto">[Install]<br />
WantedBy=multi-user.target</p>
<p dir="auto">[Service]<br />
Type=simple<br />
ExecStartPre=/otm/starter.sh<br />
ExecStart=/otm/otm_binary<br />
WorkingDirectory=/otm<br />
Restart=always<br />
RestartSec=5<br />
StandardError=syslog<br />
SyslogIdentifier=%n</p>
<p dir="auto">Give it a try, let us know how it goes.</p>
]]></description><link>https://support.isptracker.com/post/827</link><guid isPermaLink="true">https://support.isptracker.com/post/827</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Fri, 11 Mar 2022 21:56:21 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Fri, 11 Mar 2022 14:22:02 GMT]]></title><description><![CDATA[<p dir="auto">You seem to be doing all the right things. It's a little perplexing to say the least. It must be something small and so obvious that it's not obvious.</p>
<p dir="auto">We will dig deeper into this tomorrow because it really isn't making sense and must be something on our end.</p>
]]></description><link>https://support.isptracker.com/post/826</link><guid isPermaLink="true">https://support.isptracker.com/post/826</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Fri, 11 Mar 2022 14:22:02 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 19:52:45 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support</p>
<ul>
<li>Disabled the service</li>
<li>Killed all running processes</li>
<li>Agent shows as "Inactive"</li>
<li>Edited the script to run manually.</li>
</ul>
<pre><code># exec $start/otm_linux &amp;
$start/otm_linux &amp;
</code></pre>
<ul>
<li>Run the script manually and I'm right back at the beginning where it won't download the file. There are no apparent errors with credentials, permission to download the file, or anything indicating why it can't download the file.</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1646941608526-b68ebf3d-385e-47e5-8aab-5345f3a9dbe5-image.png" alt="b68ebf3d-385e-47e5-8aab-5345f3a9dbe5-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://support.isptracker.com/post/825</link><guid isPermaLink="true">https://support.isptracker.com/post/825</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Thu, 10 Mar 2022 19:52:45 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 18:35:30 GMT]]></title><description><![CDATA[<p dir="auto">I think the first thing would be to kill everything that's been left over from your testing so you are starting from scratch. make sure the service is stopped, all 'starter' scripts processes are killed.</p>
<p dir="auto">Then check your dashboard until the agent is Inactive. Once you know there is no agent or anything else related running, start your agent manually, not using systemd and check if the agent becomes active.</p>
<p dir="auto">Once sure there is nothing else running and the agent goes active, then kill that process and start the agent using your systemd start command. I don't know for sure but it looks like that part was working, only there were other instances running too which could have caused conflicts maybe. Let's get to the point of the agent running and we'll look into the other stuff after.</p>
]]></description><link>https://support.isptracker.com/post/824</link><guid isPermaLink="true">https://support.isptracker.com/post/824</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Thu, 10 Mar 2022 18:35:30 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 17:53:11 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support<br />
Sorry...I guess I was jumping ahead when you said you showed the agent as active.</p>
<p dir="auto">I have stopped the service from running.</p>
<pre><code>sudo service otm status
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1646934667153-4803f4b9-a1a4-4e14-a21d-ccc7127b818d-image.png" alt="4803f4b9-a1a4-4e14-a21d-ccc7127b818d-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If I search for the running process with your script I get nothing.</p>
<pre><code>ps cax | grep otm_linux
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1646933967009-b289daaf-f78f-4164-bf8a-f25709f4be3b-image.png" alt="b289daaf-f78f-4164-bf8a-f25709f4be3b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If I search for the name of the script I do get some results, so I manually have killed all processes running the script,</p>
<pre><code>ps -aux | grep 'starter_linux_ocp'
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1646934406858-f07c0bc7-50f3-4013-b5bf-34186b497024-image.png" alt="f07c0bc7-50f3-4013-b5bf-34186b497024-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">When I run the curl command with my credentials I get a response of<br />
"<a href="https://downloads.outagesio.com/otm/otm_1.67.2104_linux" rel="nofollow ugc">https://downloads.outagesio.com/otm/otm_1.67.2104_linux</a>" which looks like it exactly matches the URL I was able to manually download from, so that part of the script seems to be working correctly.</p>
]]></description><link>https://support.isptracker.com/post/823</link><guid isPermaLink="true">https://support.isptracker.com/post/823</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Thu, 10 Mar 2022 17:53:11 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 16:26:57 GMT]]></title><description><![CDATA[<p dir="auto">Wait now, one thing at a time. We need to be in sync.<br />
You said that you were not able to run the agent at all, that it kept downloading but that's all.</p>
<p dir="auto">The script shows you can use this to see if the agent is running.</p>
<p dir="auto">ps cax | grep otm_linux</p>
<p dir="auto">Can you check so we can see if there are one or more instances running.</p>
<p dir="auto">Since we see it running, kill it so we have a starting point.</p>
<p dir="auto">The first thing is to download the agent on it's own, without using the script, make it executable then start it then run the above command to confirm it is running and only one is.</p>
<p dir="auto">If you see it running, then kill the process and we'll do this next.</p>
<p dir="auto">Next, try this.</p>
<p dir="auto">curl -m 20 -s -u xxxx:xxxxxxxxxxxxxxxxxx --connect-timeout 10 -X POST <a href="https://www.foxymon.com/receiver/receiver2.php" rel="nofollow ugc">https://www.foxymon.com/receiver/receiver2.php</a> -F function=receive_binary_location</p>
<p dir="auto">The above is from the script. You replace the xxxx:xxxxxxxxxxxxxxxxxx with the credentials you have /etc/agent. Note the semicolon.</p>
<p dir="auto">What this does is to query your account for the new agent you've created so it can give you the latest version of the agent for that particular OS. Show me the output of this please.</p>
<p dir="auto">We'll deal with the rest one thing at a time to prevent confusing each other.</p>
]]></description><link>https://support.isptracker.com/post/822</link><guid isPermaLink="true">https://support.isptracker.com/post/822</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Thu, 10 Mar 2022 16:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 03:26:26 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support</p>
<ul>
<li>Nothing is being populated in the ping field or recent events.</li>
<li>The public IP is not updated to the correct address.</li>
<li>The service on the Ubuntu machine shows it is running, but I cannot tell if it was able to download the agent or not. Manually downloading might have helped this get started.</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1646882682334-55b6bf7f-e099-46e4-bc79-3e119cf279d6-image.png" alt="55b6bf7f-e099-46e4-bc79-3e119cf279d6-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://support.isptracker.com/post/821</link><guid isPermaLink="true">https://support.isptracker.com/post/821</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Thu, 10 Mar 2022 03:26:26 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 01:16:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pjporch" aria-label="Profile: PJPorch">@<bdi>PJPorch</bdi></a> said in <a href="/post/819">Install infintie loop</a>:</p>
<blockquote>
<p dir="auto">This post is regarding Agent 128600.</p>
</blockquote>
<p dir="auto">This agent is currently running, it's in Active status.</p>
]]></description><link>https://support.isptracker.com/post/820</link><guid isPermaLink="true">https://support.isptracker.com/post/820</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Thu, 10 Mar 2022 01:16:41 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 00:51:11 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support<br />
Agent 128588 is working without any issues.<br />
This post is regarding Agent 128600.<br />
The 3rd must have been one I created during testing then deleted.</p>
]]></description><link>https://support.isptracker.com/post/819</link><guid isPermaLink="true">https://support.isptracker.com/post/819</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Thu, 10 Mar 2022 00:51:11 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Thu, 10 Mar 2022 00:07:53 GMT]]></title><description><![CDATA[<p dir="auto">Yes, it's correct. <a href="http://Foxymon.com" rel="nofollow ugc">Foxymon.com</a> is a domain we started with years ago and never got around to changing it since it would require a ton of programming so we just use it in the background.</p>
<p dir="auto">The script checks a function which tells it what the download URL is based on the credentials you enter into /etc/agentid.</p>
<p dir="auto">I'm not sure if you shared this before but can you share the agent ID for this install as well please.</p>
<p dir="auto">I see three which seem to be yours. 128600 which is active, 128588 which is also active and 128593 which is deleted.</p>
]]></description><link>https://support.isptracker.com/post/818</link><guid isPermaLink="true">https://support.isptracker.com/post/818</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Thu, 10 Mar 2022 00:07:53 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 23:51:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pjporch" aria-label="Profile: PJPorch">@<bdi>PJPorch</bdi></a> In looking at the script I notice the URL you gave to directly download the file is from <a href="http://outagesio.com" rel="nofollow ugc">outagesio.com</a>, but the script goes to <a href="http://foxymon.com" rel="nofollow ugc">foxymon.com</a>. Could there be an issue with this <a href="http://foxymon.com" rel="nofollow ugc">foxymon.com</a> URL?</p>
<pre><code>BINARY_LOCATION=$(curl -m 20 -s -u $USERNAME:$PASSWORD --connect-timeout 10 -X POST https://www.foxymon.com/receiver/receiver2.php -F function=receive_binary_location)
</code></pre>
]]></description><link>https://support.isptracker.com/post/817</link><guid isPermaLink="true">https://support.isptracker.com/post/817</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Wed, 09 Mar 2022 23:51:15 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 23:47:11 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support Both the HTTP &amp; HTTPS links successfully download the file. I am able to get the version following your commands as well.</p>
<p dir="auto"><img src="/assets/uploads/files/1646869592976-a2bf31b7-5b37-4a5c-bdb2-e8f04d83e8f2-image.png" alt="a2bf31b7-5b37-4a5c-bdb2-e8f04d83e8f2-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://support.isptracker.com/post/816</link><guid isPermaLink="true">https://support.isptracker.com/post/816</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Wed, 09 Mar 2022 23:47:11 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 23:40:11 GMT]]></title><description><![CDATA[<p dir="auto">Yes, it doesn't seem to be finding the binary. Can you try this manually.<br />
Go into the same directory and run both;</p>
<p dir="auto">curl <a href="http://downloads.outagesio.com/otm/otm_1.67.2104_linux" rel="nofollow ugc">http://downloads.outagesio.com/otm/otm_1.67.2104_linux</a> -o otm-linux</p>
<p dir="auto">See if that downloaded the binary. Delete it and try https.</p>
<p dir="auto">curl <a href="https://downloads.outagesio.com/otm/otm_1.67.2104_linux" rel="nofollow ugc">https://downloads.outagesio.com/otm/otm_1.67.2104_linux</a> -o otm-linux</p>
<p dir="auto">If it's there, make it executable then run the version.</p>
<p dir="auto">$ chmod +x otm-linux<br />
$ ./otm-linux -v</p>
<p dir="auto">Show me the output please.</p>
]]></description><link>https://support.isptracker.com/post/815</link><guid isPermaLink="true">https://support.isptracker.com/post/815</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Wed, 09 Mar 2022 23:40:11 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 22:35:28 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support This is installed on an Ubuntu server, so I am using the linux script. The reason I posted here is I am seeing the exact same issue where it keeps trying to download the otm_linux binary and can never successfully do it. I can repost to the Linux section if required. I was just thinking the symptoms are identical, so the solution might be the same.</p>
<p dir="auto">I have also tried to disable the service, adjust the script as below, and then run in manually (screenshot). I get the same result where it loops trying to download the file.</p>
<p dir="auto">Script when service is enabled:</p>
<pre><code>## exec $start/otm_linux &amp;
#$start/otm_linux &amp;
</code></pre>
<p dir="auto">Script when service is disabled and the script is run manually:</p>
<pre><code># exec $start/otm_linux &amp;
$start/otm_linux &amp;
</code></pre>
<p dir="auto">Here is my service file. Located at: /etc/systemd/system/otm.service</p>
<pre><code>[Unit]
Description=Startup of the OutagesIO monitoring agent

[Install]
WantedBy=multi-user.target

After=network.target

[Service]
Type=simple
ExecStartPre=/home/josh/agent/starter_linux_ocp.sh
ExecStart=/home/josh/agent/otm_linux
WorkingDirectory=/home/josh/agent
Restart=always
RestartSec=5
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=%n
</code></pre>
<p dir="auto">Results when running the script directly.<br />
<img src="/assets/uploads/files/1646865191743-cfc3bb75-0540-4bfd-a1bd-65f62c9a8b0f-image.png" alt="cfc3bb75-0540-4bfd-a1bd-65f62c9a8b0f-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://support.isptracker.com/post/814</link><guid isPermaLink="true">https://support.isptracker.com/post/814</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Wed, 09 Mar 2022 22:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 21:17:06 GMT]]></title><description><![CDATA[<p dir="auto">Quick look seems to show this script is for the Linux version, not the Pi.<br />
Can you make sure you are using the Pi version. Just create a new agent then copy that script.</p>
<p dir="auto">If that doesn't work, then please also share the systemd service.</p>
]]></description><link>https://support.isptracker.com/post/813</link><guid isPermaLink="true">https://support.isptracker.com/post/813</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Wed, 09 Mar 2022 21:17:06 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 17:37:18 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support Below is the script and output from the otminfo.log file.</p>
<ul>
<li>The only change to the script is the start variable at the top</li>
<li>In the folder "/home/josh/agent" I have this script and the otminfo.log file.</li>
<li>I can give you the agent ID if needed.</li>
</ul>
<p dir="auto"><strong>OTMinfo.log</strong></p>
<pre><code>HTTP/2 200
date: Wed, 09 Mar 2022 01:12:16 GMT
server: Apache
strict-transport-security: max-age=63072000; includeSubDomains
last-modified: Thu, 11 Feb 2021 12:34:03 GMT
etag: "28888-5bb0ebc1544c0"
accept-ranges: bytes
content-length: 166024
vary: User-Agent
content-security-policy: frame-ancestors 'none';
content-secure-policy: default-src 'self';
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
referrer-policy: same-origin
permissions-policy: fullscreen=(self 'https://app.outagesio.com'),geolocation=*, camera=()
</code></pre>
<p dir="auto"><strong>Script</strong></p>
<pre><code>#!/bin/bash

#Version 1.0.3

# Enter the full path where you will be placing the starter_linux_otm.sh script into.
# Our example shows '/agent', change this to what ever your path is.
start="/home/josh/agent"

command -v curl &gt;/dev/null 2&gt;&amp;1 || { echo &gt;&amp;2 "The curl package is needed but not installed. Please install it and try again. Aborting."; exit 1; }

echo ""
echo "Make sure to create /etc/agentid with credentials before starting this script"
echo "Make sure your starter file points to the same directory that you have it in - Edit the 'start' option above accordingly"
echo "You could add this to /etc/rc.local to start it or build a service for it. Please search Google for more."
echo ""
sleep 5

### Define Global Variables
OTMIN="otm"
IN="$start/updater_linux_ocp.sh"
DATE=`date +%d-%m-%y`
OTM_COMMAND="otm_linux"
USERNAME=`awk 'NR==1' /etc/agentid`
PASSWORD=`awk 'NR==2' /etc/agentid`

### OTM section
# Get rid of any old version
rm -f $start/otm_linux
OTM_HTTP_STATUS=''
OTM_REMOTE_LENGTH=''

### Loop
until [[ ${OTM_HTTP_STATUS} -eq 200 &amp;&amp; ! -z ${OTM_REMOTE_LENGTH} ]]
do
sleep 5
##
echo "Receiving binary location"
BINARY_LOCATION=$(curl -m 20 -s -u $USERNAME:$PASSWORD --connect-timeout 10 -X POST https://www.foxymon.com/receiver/receiver2.php -F function=receive_binary_location)
echo "Getting the OTM Package"
curl -I -m 30 --connect-timeout 15 "$BINARY_LOCATION" -o $start/otminfo.log
OTM_HTTP_STATUS=$(cat $start/otminfo.log | awk '/HTTP/ {print $2}')
OTM_REMOTE_LENGTH=$( cat $start/otminfo.log | awk '/Content-Length/ {print $2}' | sed -e 's/[\r\n]//g' )
done

###
if [[ ${OTM_HTTP_STATUS} -eq 200 &amp;&amp; ! -z ${OTM_REMOTE_LENGTH} ]]; then
echo "Downloading OTM"
curl -m 30 --connect-timeout 15 "$BINARY_LOCATION" -o $start/otm_linux
sleep 2
OTM_LOCAL_LENGTH=$( ls -l $start/otm_linux | awk '{print $5}' | sed -e 's/[\r\n]//g' )
if [ "${OTM_LOCAL_LENGTH}" == "${OTM_REMOTE_LENGTH}" ]; then
echo "OTM downloaded, starting program then exiting this script"
cd $start
chmod +x $start/otm_linux
## exec $start/otm_linux &amp;
#$start/otm_linux &amp;

ps cax | grep otm_linux &gt; /dev/null
if [ $? -eq 0 ]; then
echo ""
echo "Congratulations, your agent is now monitoring your Internet connectivity."
echo "Type 'ps cax | grep otm_linux' to see the process number"
else
echo "Something didn't work, your agent is not running."
fi

fi
fi
</code></pre>
]]></description><link>https://support.isptracker.com/post/812</link><guid isPermaLink="true">https://support.isptracker.com/post/812</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Wed, 09 Mar 2022 17:37:18 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 00:35:33 GMT]]></title><description><![CDATA[<p dir="auto">Can you share the script as you have it now.</p>
]]></description><link>https://support.isptracker.com/post/811</link><guid isPermaLink="true">https://support.isptracker.com/post/811</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Wed, 09 Mar 2022 00:35:33 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Wed, 09 Mar 2022 00:15:45 GMT]]></title><description><![CDATA[<p dir="auto">@OutagesIO_Support I have the exact same problem with an Ubuntu 20.04.3 LTS server install of the agent. It never actually downloads the otm_linux binary.</p>
<ol>
<li>ICMP does not seem to be the issue. I can ping and get replys from sites.</li>
<li>It does not seem to be the user/password. If I edit the /etc/agentid file to a bad value I get an error "curl: (3) URL using bad/illegal format or missing URL". When I correct the file it tries to download but cannot and gets stuck in this loop.</li>
<li>I have copied the script version 1.0.3 and changed only the "start" variable to the install directory.</li>
<li>I even tried to download the otm_linux binary from another PC onto this server, but nothing seems to work.</li>
</ol>
<p dir="auto">Thanks in advance for any tips to get the agent running.</p>
]]></description><link>https://support.isptracker.com/post/810</link><guid isPermaLink="true">https://support.isptracker.com/post/810</guid><dc:creator><![CDATA[PJPorch]]></dc:creator><pubDate>Wed, 09 Mar 2022 00:15:45 GMT</pubDate></item><item><title><![CDATA[Reply to Install infinite loop on Tue, 08 Mar 2022 20:45:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi, it took a while but the article was updated with a fix.</p>
<p dir="auto">Another member decided to look deeper into this and found there was one small error in the script which prevented the systemd service from starting the agent.</p>
<p dir="auto">The script is now updated and available for all Pi devices. The blog article was also updated a little bit.</p>
<p dir="auto">See if that helps now.</p>
]]></description><link>https://support.isptracker.com/post/809</link><guid isPermaLink="true">https://support.isptracker.com/post/809</guid><dc:creator><![CDATA[ISPtracker_Support]]></dc:creator><pubDate>Tue, 08 Mar 2022 20:45:20 GMT</pubDate></item></channel></rss>