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
{{ message }}
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Assignee: (none)
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)
Hi,
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.
Added ability to combine host and service in one CGI parameter (Aaron Brady) #1633
refs: #1633
refs: #1120
refs: #1644
* 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
The text was updated successfully, but these errors were encountered:
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
Assignee: (none)
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)
Hi,
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.
Aaron
Attachments
Changesets
2011-06-15 21:55:57 +00:00 by ricardo b6fd633
The text was updated successfully, but these errors were encountered: