Skip to content

Windhager BioWIN2 Logger with Graphite and Grafana on an Synology NAS.

License

Notifications You must be signed in to change notification settings

FKW9/windhager-biowin

Repository files navigation

Windhager BioWIN2 Monitoring

This project is inspired by the project windhager from sessl3r. Please check him out first!

Windhager BioWIN2 Logger with Graphite and Grafana on an Synology NAS.

This script is executed every minute on my NAS via the task scheduler. Requests data from BioWin2 and sends it to graphite, a time-series database. This data is then visualized with Grafana.

Setup

  1. Fill in your Host IPs, passwords and ports for your host machines in the three python files. Also you must change the paths for the debug files.

  2. Replace the file EbenenTexte_de.xml and VarIdentTexte_de.xml with your own. You find them under http://<WINDHAGER_IP>/res/xml/.

  3. To get all OIDS and convert them to a usable graphite metric path, you have to execute the script get_all_metrics.py once. This creates/updates the file oids_metrics.txt, which will be read from the main script.

  4. Execute the main script windhager.py

Optional script for only requesting specific datapoints (more reliable):

  1. Fill in the specific datapoints you want to request in oids_metrics_custom.txt

  2. Execute the script windhager_specific.py

Loki

Here I also use Loki to get my logs into Grafana.