Simple UP/Down dashboard

@g0nz0uk Here is an image showing 3 panels with the text pixelised. If something was down I get an empty grey bar with a red line at the far left of it and a red “DOWN” text.

The icons are just emoji pasted into the blackbox config file. The part of blackbox.yml for tcp probe is just this:

modules:
tcp_connect:
prober: tcp

And my prometheus.yml targets under the tcp_connect probe are like this. In this example it’s a NVR which works on port 8000:

 - targets: ['192.168.0.100:8000']
    labels:
      aaa: '1.0'
      name: 'Network Video Recorder 1'
      name_short: 'NVR 1'
      type: 'NVR'
      icon: '🖥️ '
      location: 'Site 1'
      location_short: 'S1'
1 Like