Homelab Dashboard - Adding internal service checks?

Help

I have some internal services I'd like to be able to monitor and then get the data into InfluxDB to display on Grafana, has anyone done this or similar?

Ideally I'd like to monitor things like Sonarr,Radarr, and my x2 ESXi hosts via pinging Sonarr and Radarr ports and ESXi's management interface then get the data into Grafana to create some kind of up/down status indicator.

Posted Jan 24, 2018, 9:09 PM UTC

15
Zarfible•

When it is not advance maybe glances or you do it a lil bit more professional with icinga2

2
andrewrmooreERL | T1700G-28TQ | 2x DL380p Gen8 | ESXi 6.5•

+1 for Icinga 2. Pretty easy to configure and integrates with most of the popular time series DBs out there (Influx included) for pushing into Grafana.

We use it at work to monitor 300+ servers with 30000+ services.

2
Zarfible•

Which company are you working?

1
b1r6•

I've been thinking about this too. Have yet to use Grafana, but I figure the first step is getting a reliable yes/no on whether services are actually up...

For example, a web service like WeeWX. I considered writing a little Python script to check the daemon status on a host and emit some JSON, accessible via HTTP. Then I'd combine that with an HTTP request with Python from my monitoring server to the actual service, expecting 200 for success. If both agree, then we can say it's 'up', and offer that result which would be integrated into a display like Grafana.

I suppose the issue is each service is different, and would require tailoring to what is defined as functional. And of course we must be able to tell when the monitoring itself fails! Does anyone have a streamlined solution?

1
TheGammelHALnet - R210II-R610-T610-XU4-N54L•

I know of these options: https://github.com/danmed/PStatus https://github.com/mojeda/ServerStatus https://github.com/Munzy/ServerStatus https://github.com/BotoX/ServerStatus https://github.com/spigotx/HomeLab2

But none of them really suit my needs...

I would like a single page where there is alight for each service which turns red or green depending on status and I can also click each light to get to the webpage of that service (most preferably configurable)

1