Skip to content

Instantly share code, notes, and snippets.

View hdoedens's full-sized avatar

Harm Doedens hdoedens

View GitHub Profile
@hdoedens
hdoedens / README.md
Last active February 27, 2017 06:05
dashing foreman job

#Dashing job to retrieve Foreman data

This job executes a list of queries to the Foreman API so you can optionally filter out the interesting stuff.

Sample job to retrieve foreman data. Data can be send to any widget. The example widget below is a slight modification of the default List widget.

@hdoedens
hdoedens / README.md
Last active November 2, 2016 09:17
Dashing server connection status widget

Dashing Connection Status Widget

Why

When the Dashing service is down or otherwise cannot be reached, all widget keep displaying their info like everything is normal. There is no obvious sign that there is something wrong. This widget notifies the Dashboard viewer that there is a problem with Dashing.

How

This widget listens to Dashing's connection events. It displays a modal div with a short error message saying that the connection with the server is lost. When the server can be reached again, the modal div will automatically hidden.

Usage

Install the widget as usual.