Commit 25934b3a authored by Michael Friedrich's avatar Michael Friedrich
Browse files

Update README.md

parent 49ea6a74
......@@ -10,6 +10,8 @@ into the scripting details.
* [Dashing](https://github.com/icinga/dashing-icinga2) (separate standalone project)
* [AWS/EC2](aws-ec2/)
* [Clippy.js](clippy.js/)
* [Scripts](scripts/)
# Support
......
# General
[Clippy.js](https://www.smore.com/clippy-js) is a full
Javascript implementation of Microsoft Agent (AKA
Clippy and friends), ready to be embedded in any website.
`query.php` is a simple wrapper for the Icinga 2 API.
I had to come up with that proxy in the middle to
workaround CORS issues hindering direct javascript calls.
`index.php` contains the jQuery ajax requests to poll
the API status in a loop and then selectively let clippy
tell you about problems and run the animation.
**It certainly is not an example for production usage,
this demo is just for fun.**
If - at some later point - the Icinga 2 API is fully
integrated into Icinga Web 2 as a query resource one
could think of realizing this nifty widget for notifications
and such (https://dev.icinga.org/issues/8084).
# Configuration
Edit `query.php` and add your basic auth credentials and connection
info for the Icinga 2 API.
Put everything somewhere on your webserver's root directory
and call it from your browser.
A short demo is available on [Youtube](https://www.youtube.com/watch?v=e3enywTuAX8).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment