[op5-users] Ninja api
Michael Hobbs
mike at mikehobbs.co.uk
Mon Aug 17 22:13:24 CEST 2009
Thanks for this Andreas,
Um one thing I cant see application/methods do you mean application/models?
Also is it possible to call the api directly via the command line on the
nagios server
e.g could I do a get Host_Model/hostinfo?name=XX or something similar
and get back the host data for host XX as a string
or would I have to write a wrapper to call the data directly and return it
cheers
Mike
-----Original Message-----
From: op5-users-bounces at lists.op5.com
[mailto:op5-users-bounces at lists.op5.com] On Behalf Of Andreas Ericsson
Sent: 17 August 2009 08:51
To: Mailinglist for op5's products
Subject: Re: [op5-users] Ninja api
Michael Hobbs wrote:
> Hi all
>
>
>
> I've been looking at the ninja api document and wanted to find out if
anyone
> had an examples on how to call the api and get data back?
>
application/methods houses the bulk of the api, with some minor things
inside
application/helpers too. They should both be doxygen-documented.
application/controllers provides the examples.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
_______________________________________________
op5-users mailing list
op5-users at lists.op5.com
http://lists.op5.com/mailman/listinfo/op5-users
More information about the op5-users
mailing list