I'm new on Linux/monitoring and try my best :) So I set up the latest Icinga2 with Icinga2 Web on Ubuntu. All seems good to work. Now I'm trying to integrate a windows host.
These Steps I did:
- edit the
icinga.conf
and addedinclude <windows-plugins>
- installed the Icinga client on Windows (7)
- Generated a Setup Ticket for the client on Icinga
- executed
sudo icinga2 node update-config
on icinga
My host appears on icinga but there are no thresholds for example at the CPU load. On /usr/share/icinga2/include/command-plugins-windows.conf
are thresholds defined.
Why they do not working?
For each host icinga2 creates a new entry for host and service in the repository
/etc/icinga2/repository.d/hosts/PC-01.Domain.local
For each services there is an *.conf that looks like:
object Service "load" {
import "satellite-service"
check_command = "dummy"
host_name = "PC-01.Domain.local"
zone = "PC-01.Domain.local"
}
The check_command seems not to be the right one. It should be "loads-windows". But why does it work?