i´m new here and startet with an fresh icinga2 installation about a month ago.
So first up my setup infos:
Icinga Web 2 version 2.8.2
Used modules and their versions (System - About)
director v1.8.0, x509 v1.0.0 , incubator v0.6.0, ipl v0.5.0, reactbundle v0.9.0
Web Browser: Chromium Edge
Icinga 2 version r2.12.4-1
PHP version PHP 7.4.3
Server: Ubuntu 20.04.2 LTS on VMWare Host
My Test-setup is running very good so far.
Actually i have one little Problem with my Check_Disk Service checking my Disk from the Icinga-Server. It changed critical after less than 20% space on the drive.
So i thought, thats no big deal. Its an VM on our VMWare Cluster and so i can enlarge the drive.
So i did enlarge it from 40GB to 60GB.
But my Disk_Check Status doesn´t change to green.
Can you tell us what “command_endpoint” is set to for that service check?
Are you monitoring only the machine which Icinga is currently installed on, or
are you using Icinga on one machine to monitor one or more other machines?
i configured the disk-command in the director und then created a Service “Disk-Check”.
This Service only Checks the Icinga-Host.
I also used the Icinga-Agent Plugin for Powershell. Currently i only setup one Host there.
The Services for the Windows Host are different.
For Win i configured this commands and they work fine:
network-windows
procs-windows
memory-windows
service-windows (especially netlogon)
update-windows
uptime-windows
This Commands are in one Service-set and the Set is configured in a Windows-Host-template.
So every future Windows Machine gets the same sets, just by putting them in the Host-template.
So i think that the used memory in percentage is correct. But the shown value isn´t.
As we have many VM-Servers, this maybe is a problem in the future.
But i don´t know if the Windows-Disk-Check will work fine. Maybe yes, cause it is executed by the Icinga-Agent. And not from My Icinga-host.
Additionally:
If the partition size is recognized correctly, maybe the filesystem-size hasn’t been adjusted (resize2fs, xfs_growfs, …).
The output of:
df -h -T
would give a good hint (the lines of the partition from the disk). But please be careful:
Depending on the partition location on the disk, it isn’t always easily possible to resize the filesystem.