Downtime and acknowledge doesn't work

I have an Icinga2 with Icinga2web and Icinga2 Director. When I want to set a downtime or acknowledge a problem it doesn’t work. I get no error message. In the logs I did also not find error messages.

Kind regards
Matthias

Hi & welcome to the community :slight_smile:

Can you please share more details about your setup, the versions of Icinga 2 and Icinga Web 2 including the distribution you’re running on.

Also, please share details about the monitoring module’s command transport. Are you using the command pipe, or the REST API?

What happens when you trigger a command via the web interface inside icinga2.log?

Cheers,
Michael

Hi,

I have icinga 2.11.2-1 and icingaweb 2.7.3 the director is 1.7.2 the distribution is opensuse Leap 15.1.
The command transport is the command pipe.

Cheers,
Matthias

Hi,

the command pipe has the problem that it is “one shot” only with no error feedback. Therefore we’ve created the Icinga 2 REST API as command transport. Might be a good idea to try this method instead.

https://icinga.com/docs/icingaweb2/latest/modules/monitoring/doc/05-Command-Transports/#use-the-icinga-2-api

Cheers,
Michael

Hi,

that was the solution.
Thanks for the quick help.

Cheers,
Matthias

1 Like