Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • 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
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Prometheus
  3. Blackbox Exporter on Cloudron ?

Blackbox Exporter on Cloudron ?

Scheduled Pinned Locked Moved Prometheus
8 Posts 4 Posters 1.6k Views 4 Watching
  • 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.
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by
    #1

    I need to monitor connectivity on a line which seems to be flakey.
    So I thought of Prometheus and have installed it.
    Searches suggest that I should use BlackBox Exporter to supply metrics to Prometheus.

    Standard advice is : don't install other apps on Cloudron.
    Could Blackbox Exporter be an exception ?
    I don't see it bundled in the Prometheus deployment.

    Anyone doing something similar ?

    Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

    1 Reply Last reply
    2
    • timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by
      #2

      This may not be critical, as I installed Blackbox Exporter on a target machine.
      But still seems to me that it would be worth having Blackbox Exporter "bundled".

      Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        iirc, exporters are meant to be run on the host?

        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote on last edited by
          #4

          @girish that is what I thought as well.
          After looking into https://github.com/prometheus/blackbox_exporter I understand it like a plugin for the Prometheus server enabling it with a config file to scan external hosts with HTTP, HTTPS, DNS, TCP, ICMP and gRPC.
          Maybe @timconsidine can test it in recovery mode first to give everyone here some insights.

          1 Reply Last reply
          0
          • timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by timconsidine
            #5

            @girish @James yes, I also thought that at start !

            But actually it’s “just” a source of data.
            Currently I have Prometheus / Grafana on Cloudron, then BlackboxExporter on a remote VPS, monitoring pings to a device on my internal network.
            But the VPS is not needed in this setup, it’s just the only place I could put it.

            I guess the location of BlackboxExporter DOES matter if the direction of the ping matters.
            So if I NEED to monitor ping from office to world, rather than world to office, Blackbox would need to be on a device inside the office.

            But for many scenarios direction is not critical, and testing if a device is up or the line is up or a website is up, Blackbox Exporter could be “anywhere” and it is much more ‘compact’ (not needing a 2nd machine) if it can be on Cloudron, removing the need for an extra device.

            @James, happy to test, but just to be clear, are you suggesting that I try to run Blacbox exporter locally on Cloudron ?

            Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

            jamesJ 1 Reply Last reply
            0
            • timconsidineT timconsidine

              @girish @James yes, I also thought that at start !

              But actually it’s “just” a source of data.
              Currently I have Prometheus / Grafana on Cloudron, then BlackboxExporter on a remote VPS, monitoring pings to a device on my internal network.
              But the VPS is not needed in this setup, it’s just the only place I could put it.

              I guess the location of BlackboxExporter DOES matter if the direction of the ping matters.
              So if I NEED to monitor ping from office to world, rather than world to office, Blackbox would need to be on a device inside the office.

              But for many scenarios direction is not critical, and testing if a device is up or the line is up or a website is up, Blackbox Exporter could be “anywhere” and it is much more ‘compact’ (not needing a 2nd machine) if it can be on Cloudron, removing the need for an extra device.

              @James, happy to test, but just to be clear, are you suggesting that I try to run Blacbox exporter locally on Cloudron ?

              jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote on last edited by
              #6

              @timconsidine said in Blackbox Exporter on Cloudron ?:

              are you suggesting that I try to run Blacbox exporter locally on Cloudron ?

              I mean, set up an extra Prometheus and put that extra one into recovery mode.
              And try to set up this Blackbox Exporter within that Prometheus.

              1 Reply Last reply
              1
              • J Offline
                J Offline
                joseph
                Staff
                wrote on last edited by
                #7

                Since exporter seems like a binary, you can just download it into /app/data/xx and then run it as a service - https://docs.cloudron.io/apps/#cron

                1 Reply Last reply
                2
                • timconsidineT Offline
                  timconsidineT Offline
                  timconsidine
                  App Dev
                  wrote on last edited by timconsidine
                  #8

                  Will give it a go

                  Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

                  1 Reply Last reply
                  2

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  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
                  • Bookmarks
                  • Search