[dev.icinga.com #3175] Add command "Acknowledge problem for this host and its services" #1121
Comments
Updated by mfriedrich on 2012-10-11 22:01:35 +00:00 there is currently no core command support that behaviour like SCHEDULE_HOST_SVC_DOWNTIME - better having the core handle that one imho. |
Updated by mfriedrich on 2013-04-08 21:18:06 +00:00
|
Updated by mfriedrich on 2013-06-29 15:15:14 +00:00
|
Updated by mfriedrich on 2013-06-29 15:15:25 +00:00 please evaluate. |
Updated by mfriedrich on 2013-09-21 17:15:57 +00:00
|
Updated by mfriedrich on 2013-09-27 21:11:39 +00:00
|
Updated by elagon on 2013-10-03 10:27:49 +00:00
Working on it |
Updated by elagon on 2013-10-03 13:11:52 +00:00
Implementation in feature/acknowledge-problem-for-hosts-and-its-services-3175 |
Updated by mfriedrich on 2013-10-22 12:28:28 +00:00
please proceed with testing and evaluate if that one makes sense as gui command. |
Updated by mfriedrich on 2014-01-03 20:18:40 +00:00
|
Updated by mfriedrich on 2014-03-03 18:54:02 +00:00
feature freeze 1.11 |
Updated by mfriedrich on 2014-12-08 08:54:24 +00:00
|
Updated by mfriedrich on 2014-12-08 09:06:49 +00:00
|
Updated by mfriedrich on 2015-02-14 23:06:25 +00:00
|
Updated by mfriedrich on 2015-05-01 10:59:41 +00:00
|
Updated by ricardo on 2015-05-07 22:24:49 +00:00
Added to "feature/add-CMD_ACKNOWLEDGE_HOST_SVC_PROBLEM-to-cgi-3175" Needs to be added to docs if not already done.
Please test. Cheers |
Updated by mfriedrich on 2015-05-08 12:17:25 +00:00 Your change in base/commands.c is wrong - the host is already acknowledged after the services loop. |
Updated by ricardo on 2015-05-08 20:47:48 +00:00 dnsmichi wrote:
??? I don't understand. Check the change again! CMD_ACKNOWLEDGE_HOST_SVC_PROBLEM always includes a expire TS. The change honors this behavior. Cheers |
Updated by mfriedrich on 2015-05-08 21:14:24 +00:00 Sorry, looked at the wrong if condition. Though I don't think it's correct to always pass an expire time to this command w/o _EXPIRE suffix similar to the existing commands already existing. |
Updated by ricardo on 2015-05-08 21:43:51 +00:00 Well, I introduced the *_EXPIRE commands only to keep backwards compatibility. So you have the regular one and the one with aded expire TS. In this case it's not needed as it's a complete new command. if TS = 0 then no expire time otherwise see if TS is in future and set expire. Cheers |
Updated by berk on 2015-05-18 12:17:36 +00:00
|
Updated by ricardo on 2015-11-14 21:04:03 +00:00 why did this feature never made it into master? |
Updated by mfriedrich on 2015-11-14 23:18:44 +00:00 Mainly for the reason that I do not want to extend the external command api anymore which would certainly open demands for adding those to Icinga 2. Given what's possible with the Icinga 2 API and filtered actions I don't think it is worth the effort changing and maintaining commands in core 1.x and the command pipe. |
Updated by mfriedrich on 2015-11-14 23:19:31 +00:00
|
Updated by ricardo on 2015-11-16 23:26:15 +00:00
Can I add it to Icinga 1 and hide the controls if backend is Icinga 2. would be quite useful in Icinga 1 |
Updated by ricardo on 2015-11-19 21:41:03 +00:00
Now in icinga-core/master. This command is not visible if the backend is not Icinga 1. Cheers |
Updated by mfriedrich on 2016-09-22 18:41:23 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3175
Created by ossmon on 2012-09-25 13:38:24 +00:00
Assignee: ricardo
Status: Closed (closed on 2016-09-22 18:41:23 +00:00)
Target Version: 1.14
Last Update: 2016-09-22 18:41:23 +00:00 (in Redmine)
Add host command "Acknowledge problem for this host and its services" as the already existing command "Schedule a downtime for this host and its services" in order to acknowledge with one command a host and all his services.
Changesets
2015-05-07 22:12:02 +00:00 by ricardo 484c54a
2015-11-19 21:36:58 +00:00 by ricardo 4adcf06
2015-11-19 23:41:47 +00:00 by ricardo 4975667
The text was updated successfully, but these errors were encountered: