Monitoring

icinga2 – disk space is full – /var/lib/mysql/mysql-bin

Under /var/lib/mysql the mysql-bin.000025* files have eaten all of my disk space Solution The mysql-bin files are some kind of backup of database changes. You can set that you will have those files for three days. Then the logs don’t eat all of your disk space. mysql -u root -p PURGE BINARY LOGS TO ‚mysql-bin.000020‘; exit Set …

icinga2 – disk space is full – /var/lib/mysql/mysql-bin Weiterlesen »

Grafana – data points missing

No data points in grafana: I found out that my grafana had no data points in the 7 days view. My new icinga2 check worked correctly and produced the right data. The problem: nano /etc/icinga2/zones.d/master/services/disks.conf import „10minute-service“ In my apply service declaration i defined the check as a 10 minute service. In my carbon config …

Grafana – data points missing Weiterlesen »

Icinga2 – monitor /dev/shm with check_disk

Icinga2 – failure at monitoring /dev/shm I wanted to monitor /dev/shm but icinga couldn’t get the values. „DISK UNKNOWN – free space:“ After a look in the debuglog i found out that the parameter „-X“ was set to tmpfs. Because shm is a tmpfs filesystem you must configure disk_exclude_type to „nothing“.   Object Host: vars.disks[„shm“] = …

Icinga2 – monitor /dev/shm with check_disk Weiterlesen »

icinga2 – ssh logged in users check

root@monitoring:/etc/icinga2/zones.d/master/services# vim users.conf apply Service „users“ { import „notification-enabled“ import „generic-service“ check_command = „users“ command_endpoint = host.name assign where host.vars.servertype == „allgemein“ vars.users_wgreater = 0 vars.users_cgreater = 0 }

raspberry pi 3 – install icinga2 – sources.list

Install icinga2 on the Raspberry Pi 3: Die Pakete einbinden: nano /etc/apt/sources.list deb http://packages.icinga.org/debian icinga-jessie main deb-src http://packages.icinga.org/debian icinga-jessie main Icinga Key hinzufügen, Paketquellen aktualisieren und letztendlich installieren: wget -O – http://packages.icinga.org/icinga.key | apt-key add – apt-get update apt-get upgrade apt-get install icinga2 Icinga2 Konfiguration starten: icinga2 node wizard

grafana – {{alert.title}} Docs Support Plans

grafana – {{alert.title}} Docs Support Plans Community Grafana v3.1.1 (commit: a4d2708) New version available! Solution: After the upgrade grafana needed a manual restart root@monitoring:~# systemctl restart grafana-server

Icinga2 – check if the carbon service is running

My carbon process broke down a while ago. I figured out that my grafana wasn’t showing the actual data. So i made a icinga2 check if my carbon service is running. root@monitoring:/etc/icinga2/zones.d/master/hosts# vim monitoring.conf in the object host declaration: vars.process[„carbon“] = { procs_user = „_graphite“ procs_command = „carbon-cache“ } root@monitoring:/etc/icinga2/zones.d/master/services# vim check_procs.conf apply Service „check_procs-“ …

Icinga2 – check if the carbon service is running Weiterlesen »

Debug Grafana – no more data points

As you can see on the image, grafana has no more data received. After a bit of debugging I found out that also the whisper files were correctly received (up to date). #whisper file root@monitoring:/var/lib/graphite/whisper/icinga2/pisensoren_mattionline_lan/services/ds18b20-28-0116106adaee/ds18b20/perfdata/temp# ls -la insgesamt 196 drwxr-xr-x 2 _graphite _graphite 4096 Okt 20 22:21 . drwxr-xr-x 3 _graphite _graphite 4096 Okt 20 …

Debug Grafana – no more data points Weiterlesen »

Scroll to Top