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
  • 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 | 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 71 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 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 ?

    1 Reply Last reply
    2
    • timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote 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".

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

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

        1 Reply Last reply
        0
        • jamesJ Online
          jamesJ Online
          james
          Staff
          wrote 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 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 ?

            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 Online
              jamesJ Online
              james
              Staff
              wrote 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 Online
                J Online
                joseph
                Staff
                wrote 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 last edited by timconsidine
                  #8

                  Will give it a go

                  1 Reply Last reply
                  2
                  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