This issue has been migrated from Redmine: https://dev.icinga.com/issues/1633
Created by insom on 2011-06-09 19:58:56 +00:00
Status: Resolved (closed on 2011-07-12 06:34:42 +00:00)
Target Version: 1.5
Last Update: 2014-12-08 09:32:32 +00:00 (in Redmine)
cmd.cgi commands which require a `host` and a `service` parameter require that the service immediately follow the host parameter. This was introduced in d4789ab, along with multiple checkboxes (which are super!).
iWeb call cmd.cgi from Python scripts, but Python dictionaries are not ordered. We run a patch against 1.4.0 which allows one to merge `host` and `service` into one new parameter called `hostservice` - separating the two by a caret.
I'll be sending along a patch of my implementation. I don't know that it's perfect (for one thing, you can't use caret in service or host names any more), but perhaps it's a starting point.
2011-06-15 21:55:57 +00:00 by ricardo b6fd633
Added ability to combine host and service in one CGI parameter (Aaron Brady) #1633
* added parameter hostservice to cmd.cgi parameter
* fixed dropdown, causing error when not in status list of status.cgi
* changed dropdown from get to post, hopefully ollowing more
hosts and services to be sent.
* added missing Changlogentry for #1120
Updated by insom on 2011-06-09 20:06:45 +00:00
This patch adds the `hostservice` parameter, which is position independent.
Updated by mfriedrich on 2011-06-15 16:49:56 +00:00
this is a nice feature enhancement, thanks - targetted for 1.5 though.
Updated by ricardo on 2011-06-16 09:26:03 +00:00
please test in "test/cgis"
Updated by mfriedrich on 2011-06-24 10:30:08 +00:00
Updated by mfriedrich on 2011-07-12 06:34:42 +00:00
Updated by mfriedrich on 2014-12-08 09:32:32 +00:00