You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created by julianbrost on 2016-02-26 13:40:18 +00:00
Assignee: julianbrost
Status: Resolved (closed on 2016-03-05 17:45:03 +00:00)
Target Version: 2.4.4
Last Update: 2016-03-15 13:37:31 +00:00 (in Redmine)
Icinga Version: 2.4.3
Backport?: Already backported
Include in Changelog: 1
The external command DEL_DOWNTIME_BY_HOST_NAME is supposed to support the optional parameters service name, start time and comment. Currently this does not work and when submitting a command that has those, it results in this error: warning/ExternalCommandListener: External command failed.Error: Cannot schedule host services downtime for non-existent host 'somehost;;;test'
Fix max number of args for DEL_DOWNTIME_BY_HOST_NAME
The RegisterCommand call for DEL_DOWNTIME_BY_HOST_NAME was missing the
max args parameter. This prevented the optional service name, start time
and comment arguments to be passed.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
fixes #11240
Fix max number of args for DEL_DOWNTIME_BY_HOST_NAME
The RegisterCommand call for DEL_DOWNTIME_BY_HOST_NAME was missing the
max args parameter. This prevented the optional service name, start time
and comment arguments to be passed.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
fixes #11240
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11240
Created by julianbrost on 2016-02-26 13:40:18 +00:00
Assignee: julianbrost
Status: Resolved (closed on 2016-03-05 17:45:03 +00:00)
Target Version: 2.4.4
Last Update: 2016-03-15 13:37:31 +00:00 (in Redmine)
The external command DEL_DOWNTIME_BY_HOST_NAME is supposed to support the optional parameters service name, start time and comment. Currently this does not work and when submitting a command that has those, it results in this error: warning/ExternalCommandListener: External command failed.Error: Cannot schedule host services downtime for non-existent host 'somehost;;;test'
I've attached a patch that fixes this problem.
Attachments
Changesets
2016-03-05 17:43:02 +00:00 by (unknown) 7439633
2016-03-07 08:09:01 +00:00 by (unknown) 554531a
2016-03-11 14:57:35 +00:00 by (unknown) ca86971
2016-03-11 14:57:43 +00:00 by (unknown) cc562e2
Relations:
The text was updated successfully, but these errors were encountered: