Grafana Dashboard for Runecast

Grafana Dashboard for Runecast

Grafana Dashboard for Runecast screenshot 1

Just download the latest Runecast script version from GitHub https://raw.githubusercontent.com/jorgedlcruz/runecast-grafana/main/runecast_grafana.sh and change the Configuration section within your details:

##
# Configurations
##
# Endpoint URL for InfluxDB
InfluxDBURL="http://YOURINFLUXSERVER" #Your InfluxDB Server, http://FQDN or https://FQDN if using SSL
InfluxDBPort="8086" #Default Port
InfluxDB="telegraf" #Default Database
InfluxDBUser="INFLUXUSER" #User for Database
InfluxDBPassword='INFLUXPASS' #Password for Database

# Endpoint URL for login action
runecastToken="RUNECASTOTKEN" #Your read-only Runecast token. You can quickly create one from the portal
runecastServer="RUNECASTFQDNORIP"

Once the changes are done, make the script executable with chmod:

chmod +x runecast_grafana.sh

The output of the command should be something like the next, without errors:

Writing runecast_results_analysis to InfluxDB
HTTP/1.1 204 No Content
Content-Type: application/json
Request-Id: 6cc3cc65-9b71-11eb-8794-0050569017a8
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.8.4
X-Request-Id: 6cc3cc65-9b71-11eb-8794-0050569017a8
Date: Mon, 12 Apr 2021 09:28:22 GMT

Writing runecast_results_analysis to InfluxDB
HTTP/1.1 204 No Content
Content-Type: application/json
Request-Id: 6ce92985-9b71-11eb-8795-0050569017a8
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.8.4
X-Request-Id: 6ce92985-9b71-11eb-8795-0050569017a8
Date: Mon, 12 Apr 2021 09:28:22 GMT

If so, please now add this script to your crontab, like for example every 30 minutes:

0 0 */6 ? * * /home/oper/runecast_grafana.sh >> /var/log/runecast_grafana.log 2>&1

Then download or import this Dashboard to your Grafana, and you should see something similar to the next: alt tag

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies