cmd.cgi is parameter order dependant
|Target version:||Icinga 1.x - 1.5|
cmd.cgi commands which require a `host` and a `service` parameter require that the service immediately follow the host parameter. This was introduced in d4789ab7, 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.
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