-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acknowledgements are not working without an expiry time #2911
Comments
I am facing the same issue. |
same for me after update from http://packages.icinga.org/ubuntu icinga-xenial main to version 2.7.0-1.xenial icinga2: Can't send external Icinga command: 409 Acknowledgement 'expiry' timestamp must be in the future for object xxx-xxxx-xxx-xxx!xxxxxxx_xxx_xxx_xxxxxxxx.
|
Same here. RHEL 6.9 , icinga2-2.7.0-1.el6, icingacli-2.4.1-1.el6, icingaweb2-2.4.1-1.el6 We're using transport via API to get the ACKs and comments on our two servers in the master zone in sync. For redundancy and failover they are on different locations and both have icingaweb2 with separate databases installed. |
Can be reproduced using the Vagrant boxes & snapshot packages / git master, 72dfa6d |
Icinga 2 v2.7.0 is more strict with the `expiry` attribute if sent (cannot be null, or in the past). While acknowledgments with expire time worked well (and do so with this patch), the command renderer did not check whether the value is actually not null before setting it into the data form. The boolean value from the checkbox is not available in the command renderer unfortunately. @lippserd: Verified working with and without expire time inside the Vagrant boxes. fixes #2911
Please test the referenced PR. |
Looks and works excellent |
worked also for me thx! |
Works for me too... |
works on debian jessie 64bit package |
We try to acknowledge an Service which is in Warning-State. We write an Comment and set Sticky Acknowledgement and press the button "Acknowledge Problem".
After this we get the following errror:
The Command-Transport is send within the Icinga2-API.
Your Environment
cube | 1.0.0
graphite | 0.0.0.5
monitoring | 2.4.1
icinga2 --version
): version: r2.7.0-1icinga2 feature list
): Enabled features: api checker command graphite ido-mysql mainlog notificationicinga2 daemon -C
): no errorzones.conf
file (oricinga2 object list --type Endpoint
andicinga2 object list --type Zone
) from all affected nodes.The text was updated successfully, but these errors were encountered: