Hi,
I put "eventhandler-automatic-downtime.conf" to "/etc/icinga2/conf.d" and the script to "/usr/lib/nagios/plugins/". Changed API_USERNAME and API_PASSWORD, and added to each host in "/etc/icinga2/conf.d/hosts/printeres.conf" the following arguments: "enable_event_handler = true" and "event_command = "automatic-downtime"".
Unfortunately does not work. I probably didn't really understand the readme, can you please help me?
Hi, I put "eventhandler-automatic-downtime.conf" to "/etc/icinga2/conf.d" and the script to "/usr/lib/nagios/plugins/". Changed API_USERNAME and API_PASSWORD, and added to each host in "/etc/icinga2/conf.d/hosts/printeres.conf" the following arguments: "enable_event_handler = true" and "event_command = "automatic-downtime"". Unfortunately does not work. I probably didn't really understand the readme, can you please help me?