Install Graphite - | - Debian 9 Stretch for Icingaweb2
# icinga2 --v = installed with icinga2 (version: r2.6.0-1) /(version: r2.9.1-1)
--- | |||
20.2 | Change sources.list | # vi /etc/apt/sources.list deb http://httpredir.debian.org/debian jessie main # apt update -y |
|
20.3 | # apt install -y graphite-web graphite-carbon mysql-server python-mysqldb python-pymysql apache2 libapache2-mod-wsgi apt-transport-https ssl-cert python-pip | ||
# icinga2 feature enable perfdata graphite | |||
# systemctl restart icinga2.service | |||
20.4 | config | # vi /etc/graphite/local_settings.py | SECRET_KEY TIME_ZONE Europe/Zurich ALLOWED_HOSTS |
20.5 | config default/graphite-carbon | # vi /etc/default/graphite-carbon | set true |
20.6 | install django | # pip install "django==1.4" | |
20.7 | # graphite-manage syncdb # chown _graphite. /var/lib/graphite/graphite.db |
||
20.8 | Apache config | # a2dissite 000-default.conf # cp /usr/share/graphite-web/apache2-graphite.conf /etc/apache2/sites-available/ # a2ensite apache2-graphite.conf # systemctl restart apache2 |
|
icinga Module | # cd /usr/share/icingaweb2/modules # git clone https://github.com/findmypast/icingaweb2-module-graphite graphite |
||
# mv icingaweb2-module-graphite graphite | |||
20.x | # icinga2 feature list # icinga2 feature enable graphite |
||
20.x | # vi /etc/icinga2/features-enabled/graphite.conf | library "perfdata" object GraphiteWriter "graphite" { host = "10.147.42.36" port = 2003 enable_send_thresholds = true } |
|
20.x | GUI enable | (Configuration > Modules > graphite > enable) | |
20.x | Restart | # systemctl restart apache2 icinga2 # systemctl status apache2 icinga2 |
|
Icinga Gui | Icinga Gui --> Configuration --> Modules select graphite and then configuration |
graphite web url differs from http://graphite.com/render/? or if your graphite prefix differs from "icinga" please create a config file in /etc/icingaweb2/modules/graphite/config.ini following this example: | |
vi /etc/icingaweb2/modules/graphite/config.ini | |||
copy paste the text from the Gui | |||
change the IP to your Server | [graphite] base_url = http://10.147.42.36/render? |
Quelle/Source:
- Web freenode IRC #graphite
- (2017) Icingaweb2 Graphite Modul
- (2017) Revisited – Graphite-Web installation unter Debian 9
- https://github.com/Icinga/icingaweb2-module-graphite/issues
- (2015) Graphite für Icinga2 und Icingaweb2 installieren
-
-
-
-
-
-
-
-
- 02 Digi-Bee Stand01 Gewicht
- 01 Digi-Bee Stand01 Wetter
- 04 Digi-Bee Stand02 Gewicht
- 03 Digi-Bee Stand02 Wetter
- 00 Digi-Bee übersicht
- SparkFun LoRa Gateway - 1-Channel (ESP32) | WRL-15006
- Solar - TTGO - LORA
- 2 Stück LILYGO® TTGO LORA32 868 Mhz ESP32 LoRa OLED 0,96 Zoll Blaues Display Bluetooth WIFI ESP-32 Entwicklungsboard Modul Mit Antenne
- Budget Solar Set 2W mit Laderegler für Lipo Akku
- SparkFun LiPo Battery Manager - Battery Babysitter
- ESP8266 Universal Raw e-Paper Driver Board WiFi
- Batterie Shield 5V 3A / 3V 1A (2 x 18650 Lithium)
- linux scripts
- Chip Sensoren List
- 4-ch Current/Voltage/Power Monitor HAT for Raspberry Pi, I2C/SMBus
- Raspberry | Raspberry Pi Zero W - Full Kit
- telegraf influxdb grafana on raspberrypi from scratch
- load wifi-credentials file with
- Luxxus Starter Pack - 3 bulbs - Model NCL302E27
- Raspberry | Raspberry Pi 4 Model B 4GB RAM
- Raspberry | Raspberry Pi 4 Model B 4GB RAM
- Raspberry | Raspberry Pi 4 Model B 4GB RAM | IoT05
- my IoT zoo - Software part
- Phoscon deConz - Raspbee II, ZigBee-Aufsatzmodul für Raspberry Pi
- Audio-Technica | AT-LP120XUSB - Plattenspieler