Hi,

just try something like 

http://localhost/icinga-web/web/api/service/authkey=testicek/json
http://localhost/icinga-web/web/api/host/authkey=testicek/json

etc

-- 
 .''`. Ondra 'Kepi' Kudlik
: :' : Debian GNU/Linux User
`. `'
  `-   http://kepi.cz :: http://twitter.com/kepicz

Tue, Mar 29, 2011 ve 02:56:21PM +0200, Jens Bräuer napsal:
> Hi there,
> 
> i run icinga 1.3 with the icinga-web frontend. I came across the Rest API 
> (https://wiki.icinga.org/display/Dev/Icinga-Web+REST+API) and wanted to try 
> it, but so far have been unsuccessfull.
> I created a user with auth via auth_key. And tried to use the API with curl, 
> eg.
> 
> curl 
> 'http://localhost/icinga-web/web/api/?service_status_summary/authkey=%authkeytoken%
> 
> But so far i only get "Invalid Arguments!".
> 
> Could anyone please provide me with an working example? No filters, etc just 
> a basic query? I am interested in the overall systems- and host-status.
> 
> Please feel free to point me to a blog/website/google, in case i missed the 
> obvious.
> 
> Regards,
> Jens
> 

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to