Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Monitor your Internet service and provider

Information and Support

  1. Home
  2. Categories
  3. Support forums
  4. ARM
  5. Install infinite loop
Automatically monitor your Internet service and provider with alerts to problems
Track Internet disconnections, provider outages with historical data, and automated speed testing.
For Windows, Linux, ARM64, ARMa7. Learn more by visiting www.outagesio.com
Notice: If you created an account on app.outagesio.com, simply use the same credentials to log in here.

Install infinite loop

Scheduled Pinned Locked Moved Solved ARM
raspberry pirpi-4arm
49 Posts 5 Posters 4.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P PJPorch

    @OutagesIO_Support
    Agent 128588 is working without any issues.
    This post is regarding Agent 128600.
    The 3rd must have been one I created during testing then deleted.

    OutagesIO_SupportO Offline
    OutagesIO_SupportO Offline
    OutagesIO_Support
    wrote on last edited by
    #37

    @PJPorch said in Install infintie loop:

    This post is regarding Agent 128600.

    This agent is currently running, it's in Active status.

    Regards,
    OutagesIO Support

    Search engines favor deep pockets making it difficult to find services like OutagesIO.
    To help us, you could leave a Google review, or share your reports in forums, or social media.
    You could mention us in articles, and perhaps someone would review us.
    We count on satisfied members spreading the word!

    P 1 Reply Last reply
    0
    • OutagesIO_SupportO OutagesIO_Support

      @PJPorch said in Install infintie loop:

      This post is regarding Agent 128600.

      This agent is currently running, it's in Active status.

      P Offline
      P Offline
      PJPorch
      wrote on last edited by
      #38

      @OutagesIO_Support

      • Nothing is being populated in the ping field or recent events.
      • The public IP is not updated to the correct address.
      • 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.

      55b6bf7f-e099-46e4-bc79-3e119cf279d6-image.png

      1 Reply Last reply
      0
      • OutagesIO_SupportO Offline
        OutagesIO_SupportO Offline
        OutagesIO_Support
        wrote on last edited by
        #39

        Wait now, one thing at a time. We need to be in sync.
        You said that you were not able to run the agent at all, that it kept downloading but that's all.

        The script shows you can use this to see if the agent is running.

        ps cax | grep otm_linux

        Can you check so we can see if there are one or more instances running.

        Since we see it running, kill it so we have a starting point.

        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.

        If you see it running, then kill the process and we'll do this next.

        Next, try this.

        curl -m 20 -s -u xxxx:xxxxxxxxxxxxxxxxxx --connect-timeout 10 -X POST https://www.foxymon.com/receiver/receiver2.php -F function=receive_binary_location

        The above is from the script. You replace the xxxx:xxxxxxxxxxxxxxxxxx with the credentials you have /etc/agent. Note the semicolon.

        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.

        We'll deal with the rest one thing at a time to prevent confusing each other.

        Regards,
        OutagesIO Support

        Search engines favor deep pockets making it difficult to find services like OutagesIO.
        To help us, you could leave a Google review, or share your reports in forums, or social media.
        You could mention us in articles, and perhaps someone would review us.
        We count on satisfied members spreading the word!

        P 1 Reply Last reply
        0
        • OutagesIO_SupportO OutagesIO_Support

          Wait now, one thing at a time. We need to be in sync.
          You said that you were not able to run the agent at all, that it kept downloading but that's all.

          The script shows you can use this to see if the agent is running.

          ps cax | grep otm_linux

          Can you check so we can see if there are one or more instances running.

          Since we see it running, kill it so we have a starting point.

          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.

          If you see it running, then kill the process and we'll do this next.

          Next, try this.

          curl -m 20 -s -u xxxx:xxxxxxxxxxxxxxxxxx --connect-timeout 10 -X POST https://www.foxymon.com/receiver/receiver2.php -F function=receive_binary_location

          The above is from the script. You replace the xxxx:xxxxxxxxxxxxxxxxxx with the credentials you have /etc/agent. Note the semicolon.

          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.

          We'll deal with the rest one thing at a time to prevent confusing each other.

          P Offline
          P Offline
          PJPorch
          wrote on last edited by
          #40

          @OutagesIO_Support
          Sorry...I guess I was jumping ahead when you said you showed the agent as active.

          I have stopped the service from running.

          sudo service otm status
          

          4803f4b9-a1a4-4e14-a21d-ccc7127b818d-image.png

          If I search for the running process with your script I get nothing.

          ps cax | grep otm_linux
          

          b289daaf-f78f-4164-bf8a-f25709f4be3b-image.png

          If I search for the name of the script I do get some results, so I manually have killed all processes running the script,

          ps -aux | grep 'starter_linux_ocp'
          

          f07c0bc7-50f3-4013-b5bf-34186b497024-image.png

          When I run the curl command with my credentials I get a response of
          "https://downloads.outagesio.com/otm/otm_1.67.2104_linux" 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.

          1 Reply Last reply
          0
          • OutagesIO_SupportO Offline
            OutagesIO_SupportO Offline
            OutagesIO_Support
            wrote on last edited by
            #41

            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.

            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.

            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.

            Regards,
            OutagesIO Support

            Search engines favor deep pockets making it difficult to find services like OutagesIO.
            To help us, you could leave a Google review, or share your reports in forums, or social media.
            You could mention us in articles, and perhaps someone would review us.
            We count on satisfied members spreading the word!

            P 1 Reply Last reply
            0
            • OutagesIO_SupportO OutagesIO_Support

              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.

              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.

              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 Offline
              P Offline
              PJPorch
              wrote on last edited by
              #42

              @OutagesIO_Support

              • Disabled the service
              • Killed all running processes
              • Agent shows as "Inactive"
              • Edited the script to run manually.
              # exec $start/otm_linux &
              $start/otm_linux &
              
              • 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.

              b68ebf3d-385e-47e5-8aab-5345f3a9dbe5-image.png

              1 Reply Last reply
              0
              • OutagesIO_SupportO Offline
                OutagesIO_SupportO Offline
                OutagesIO_Support
                wrote on last edited by EchoMin
                #43

                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.

                We will dig deeper into this tomorrow because it really isn't making sense and must be something on our end.

                Regards,
                OutagesIO Support

                Search engines favor deep pockets making it difficult to find services like OutagesIO.
                To help us, you could leave a Google review, or share your reports in forums, or social media.
                You could mention us in articles, and perhaps someone would review us.
                We count on satisfied members spreading the word!

                1 Reply Last reply
                0
                • OutagesIO_SupportO Offline
                  OutagesIO_SupportO Offline
                  OutagesIO_Support
                  wrote on last edited by
                  #44

                  Ok, some good news for you. The problem should be resolved now.
                  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.

                  It should work now.

                  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.

                  [Unit]
                  Description=Startup of the OutagesIO Internet monitor agent
                  After=network.target

                  [Install]
                  WantedBy=multi-user.target

                  [Service]
                  Type=simple
                  ExecStartPre=/otm/starter.sh
                  ExecStart=/otm/otm_binary
                  WorkingDirectory=/otm
                  Restart=always
                  RestartSec=5
                  StandardError=syslog
                  SyslogIdentifier=%n

                  Give it a try, let us know how it goes.

                  Regards,
                  OutagesIO Support

                  Search engines favor deep pockets making it difficult to find services like OutagesIO.
                  To help us, you could leave a Google review, or share your reports in forums, or social media.
                  You could mention us in articles, and perhaps someone would review us.
                  We count on satisfied members spreading the word!

                  P 1 Reply Last reply
                  0
                  • OutagesIO_SupportO OutagesIO_Support

                    Ok, some good news for you. The problem should be resolved now.
                    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.

                    It should work now.

                    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.

                    [Unit]
                    Description=Startup of the OutagesIO Internet monitor agent
                    After=network.target

                    [Install]
                    WantedBy=multi-user.target

                    [Service]
                    Type=simple
                    ExecStartPre=/otm/starter.sh
                    ExecStart=/otm/otm_binary
                    WorkingDirectory=/otm
                    Restart=always
                    RestartSec=5
                    StandardError=syslog
                    SyslogIdentifier=%n

                    Give it a try, let us know how it goes.

                    P Offline
                    P Offline
                    PJPorch
                    wrote on last edited by
                    #45

                    @EchoMin
                    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.

                    Thanks for all the help.
                    Josh

                    1 Reply Last reply
                    0
                    • OutagesIO_SupportO Offline
                      OutagesIO_SupportO Offline
                      OutagesIO_Support
                      wrote on last edited by
                      #46

                      Nice to hear.

                      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.

                      Regards,
                      OutagesIO Support

                      Search engines favor deep pockets making it difficult to find services like OutagesIO.
                      To help us, you could leave a Google review, or share your reports in forums, or social media.
                      You could mention us in articles, and perhaps someone would review us.
                      We count on satisfied members spreading the word!

                      P 1 Reply Last reply
                      0
                      • OutagesIO_SupportO OutagesIO_Support

                        Nice to hear.

                        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 Offline
                        P Offline
                        PJPorch
                        wrote on last edited by
                        #47

                        @OutagesIO_Support The new agent is 128834. This was the site with all the issues that seems to be running well now.

                        Agent 128600 can be deleted.

                        1 Reply Last reply
                        0
                        • OutagesIO_SupportO Offline
                          OutagesIO_SupportO Offline
                          OutagesIO_Support
                          wrote on last edited by
                          #48

                          We gave you a free upgrade on that agent as a thanks for sharing this problem with us.

                          Most people just leave before telling us there's a problem we could fix.

                          Thanks.

                          Regards,
                          OutagesIO Support

                          Search engines favor deep pockets making it difficult to find services like OutagesIO.
                          To help us, you could leave a Google review, or share your reports in forums, or social media.
                          You could mention us in articles, and perhaps someone would review us.
                          We count on satisfied members spreading the word!

                          P 1 Reply Last reply
                          0
                          • OutagesIO_SupportO OutagesIO_Support

                            We gave you a free upgrade on that agent as a thanks for sharing this problem with us.

                            Most people just leave before telling us there's a problem we could fix.

                            Thanks.

                            P Offline
                            P Offline
                            PJPorch
                            wrote on last edited by
                            #49

                            @OutagesIO_Support Thank you. I appreciate the time it took to troubleshoot this one with me.

                            1 Reply Last reply
                            0
                            • OutagesIO_SupportO OutagesIO_Support marked this topic as a question on
                            • OutagesIO_SupportO OutagesIO_Support has marked this topic as solved on
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups