Hi,
I have created some check commands that run on the Icinga2 agent on
our windows endpoints.
Is there a way to push the config to the endpoints using director?
How about the .exe?
So right now I manually copy the binary .exe into the SBIN folder and
ammend the config in command-plugins-windows.conf.
Here is the config on the endpoint:
object CheckCommand "win-reboot" {
command = [ PluginDir + "/pendingrebootchecker.exe" ]
}
and here is the config that director is creating:
zones.d/director-global/service_templates.conf
template Service "win-reboot" {
check_command = "win-reboot"
enable_notifications = true
enable_active_checks = true
enable_passive_checks = false
enable_event_handler = true
command_endpoint = host_name
}
object CheckCommand "win-reboot" {
import "plugin-check-command"
command = [ PluginDir + "/pendingrebootchecker.exe" ]
}
Thanks for any help / advice.
Scott.
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users