-
Notifications
You must be signed in to change notification settings - Fork 28
host in 'down' state is showing wrong duration (after passing from soft to hard) #1597
Comments
if you need any more infos, feel free (y) |
just to let you know wolfgang put a solution in https://monitoring-portal.org/index.php?thread/35228-host-in-down-state-is-showing-wrong-duration/ i will give it a try with next upgrade and let you know. Regards, |
Hi there, the following patch (from @wolfgang) works perfectly: in base/check.c
to
I tested this workaround on my test server. In order to correct this on both our production icinga servers (as my boss only accepts official source code with no correction of any kind), could you please correct this bug ideally for v1.9.2 and v1.12.2 (and/or at least latest 1.13.x version) plz ? Regards |
I'd merge a PR of yours, and you can backport the patch into the old EOL releases then. Icinga 1.x doesn't receive updates anymore, just security related and minor things for current 1.14. |
Hi guys,
bug reproduced on
in status.dat
for a DOWN host, both value are the same :
not for a CRITICAL service :
seems to me last_state_change resets between SOFT and HARD state for a host, not a service
bug ? possible to correct/modify this behavior ?
more details here:
https://monitoring-portal.org/index.php?thread/35228-host-in-down-state-is-showing-wrong-duration/
thanks in advance for any help regarding this matter.
Regards, Zibfr
The text was updated successfully, but these errors were encountered: