Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #11565] Add general REST API as import source #194

Closed
icinga-migration opened this issue Apr 11, 2016 · 2 comments
Closed

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11565

Created by tobiasvdk on 2016-04-11 12:51:14 +00:00

Assignee: (none)
Status: Rejected (closed on 2016-07-13 18:24:35 +00:00)
Target Version: (none)
Last Update: 2016-07-13 18:24:35 +00:00 (in Redmine)


Often you don't have direct access to the database (security) of a CMDB / asset mgmt system. But they often offer a REST API to get information. So it would be nice to have this as an import source and create a mapping of external fields to icinga variables.

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-04-19 08:33:31 +00:00

Won't work. SQL and LDAP and standardized languages, "REST" basically just means "Do something over HTTP, it could be JSON". Creating GUI components allowing to configure all the weird REST API's out there would be an endless task. So I'd prefer to never open Pandora's box ;)

However, in case you have concrete ideas of how this could work please let me know.

Import sources are hook'able, so you could easily create a custom hook. Hopefully over time we'll see some good examples publicly available. Copy&paste coding for a custom one should then be pretty easy.

Cheers,
Thomas

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-07-13 18:24:35 +00:00

  • Status changed from New to Rejected

Rejecting this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant