Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #2688] triggered downtimes for child hosts are missing after icinga restart #1006
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2688
Created by mlucka on 2012-06-14 15:39:21 +00:00
there's an issue on triggered downtime feature, seen on icinga 1.7.0 and nagios 3.2.3 and above...
triggered downtimes (type: fixed, child hosts: schedule triggered downtime for all child hosts) for child hosts will be delete during icinga restart. the downtime on the master host (parent) is not affected.
2012-10-30 20:12:47 +00:00 by mfriedrich 2b671f4
Updated by mfriedrich on 2012-06-14 16:07:35 +00:00
no. nagios 3.4.x took an icinga patch, from 2 years ago which has been rewritten ever since in icinga upstream.
icinga handles a restart (and therefore not being in effect downtime) differently, see common/downtime.c starting with
that patch addresses hosts in downtime not being persistent anymore after restart.
you are talking about child hosts triggered by the parent, which is a different story. so please provide your configs, and logs (plus debug logs in that special case) in order to see if your bug report is valid and reproducable.
Updated by mlucka on 2012-06-15 14:54:43 +00:00
please find attached sample config, logs and screen shots...
I reproduced the behavior as follows (debian squeeze, up2date, 32bit):
I think you can reproduce it by yourself easily. An icinga 1.6.2 installation was tested as well showing the same results.
Updated by mfriedrich on 2012-10-30 20:10:35 +00:00
testing with f78e443 as latest commit.
Updated by mlucka on 2013-02-28 15:44:21 +00:00
anbei die gesammelten Werke eines Kollegen, der von Nagios auf Icinga 1.7.1 (Debian 7) umzustellen versucht. Mit der Bitte um Prüfung und Integration des Patches.
beigefügt ein Patch, der das Downtime Problem bei Icinga
Die retention.dat/status.dat wird aber nur sequentiell gelesen
Annahmen (des Patches):
Randbemerkung: Warum die Sortier-Funktion so programmiert war
Updated by mfriedrich on 2013-03-13 23:20:41 +00:00