Closed pinkgothic closed 6 years ago
Hi,
Thanks for providing all the details. This is indeed a bug. We'll fix it :).
Cheers, Eric
@Al2Klimov Please have a look at this one.
Hello @pinkgothic and thank you for both reporting and providing a possible solution!
If you have tested that solution (and it works), please create a pull request with your solution with the following changes:
||
(bool)
castBest, AK
It actually looks like you guys already fixed this in cd8d6e41dc175d5b823dda3d1be155527f83d560 (which also links to https://monitoring-portal.org/woltlab/index.php?thread/39979-defaults-when-acknowledging-problems-sticky-acknowledgement-expiry-time/). I'll try to verify that in the coming days and get back to you.
No need to verify. This is effectively the same change. Thank you nevertheless.
Did just get around to verifying it anyway! It works now. Thank you for the fix! :)
Thanks for the feedback.
When setting "acknowledge_expire = 1" in
/etc/icingaweb2/modules/monitoring/config.ini
, the "Use Expire Time" checkbox is checked, but the "Expire Time" date/time-picker is not visible. (The checkbox needs to be unchecked and re-checked before it appears.)See also https://monitoring-portal.org/index.php?thread/39979-defaults-when-acknowledging-problems-sticky-acknowledgement-expiry-time/
Expected Behavior
I expect that when the "Use Expire Time" checkbox is ticked on initial page load, that the "Expire Time" date/time-picker is also visible.
Current Behavior
The "Expire Time" date/time-picker is not visible, unless the checkbox is unchecked and then checked aain.
Possible Solution
In the file
/usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/AcknowledgeProblemCommandForm.php
, change:...to:
Steps to Reproduce (for bugs)
/etc/icingaweb2/modules/monitoring/config.ini
[settings]
section into the file if it does not yet existacknowledge_expire = 1
to the file, in the[settings]
sectionContext
The setting
acknowledge_expire
is currently not effective for what we wanted to use it for - namely reduce the mad clicking that needs to happen if there's a larger-scale infrastructural problem (that we definitely don't want to acknowledge forever). Our desired defaults are:...but currently only help to a limited degree.
Your Environment
icinga2 --version
):v2.6.2
icinga2 feature list
):icinga2 daemon -C
): Validates.zones.conf
file (oricinga2 object list --type Endpoint
andicinga2 object list --type Zone
) from all affected nodes.