Server Status

Simply show if a server Windows & Linux is up or down

I’ve been looking for a way to replicate a simple up or down dashboard that almost all monitoring tools have by default, I considered using the input.ping or the output.health in someway then it occurred to me to just check for a null value from one of the standard metrics.

As Linux and Windows dont appear to share a standard fields i’ve created two rows and two panels one for each OS.

I’m using this as my linux query then use the standard options to change the results to boolean on/off with a value mapping override to show null results as down in red.

Linux SELECT last(used) FROM “mem” WHERE host =~ /$x_server$/

Windows SELECT mean(“Available_Bytes”) FROM “win_mem” WHERE host =~ /$server$/

I’m sure there’s a cleaner way to achieve this result, hopefully when i have some time i’ll refine this dashboard.

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies