-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/03/2012 03:15 PM, Baskar Bharadwaj J wrote:

> Hi,

Hi, Baskar!

> 1. Authentication in RESTful web-service

Just send HTTP Basic credentials.  You may need to "nudge" your ReST
client library to send these without receiving a 401 Unauthorized
response from the server.

> 2. RESTful APIs for performance & threshold monitoring
> (configuration), data retrieval

No ReSTful endpoints exist today for either of these concerns.  Both
are planned for a future, undetermined version.  Configuration
endpoints for protocols other than SNMP will require that the
corresponding configuration files first be migrated from Castor to JAXB.

You can get performance data via the XML-HTTP "RRD summary service"
interface that existed before the ReST API.  This interface is a bit
clunky, but it works well enough for some users:
http://www.opennms.org/wiki/Data_Export

> 3. RESTful API support for Reports. ability for a 3rd party
> application to rerieve performance statistics & plot graphs
> (similar to the graphs supported in OpenNMS web GUI)

No such endpoints exist or are targeted for any specific version that
I'm aware of.

> 4. RESTful API support for rule engine configuration. i.e., mainly
> for configuring event notification rules/actions

No endpoint exists for this, nor am I aware of one planned for any
specific version.  The notification configuration is still
Castor-marshaled so it will need to move to JAXB before such an
endpoint is feasible.

> 5. Asynchronous notifications across the RESTful interface. (Alarm 
> notifications through REST interface)

I don't fully understand this question.  Are you talking about
registering a remote ReST endpoint as a callback?  That capability
does not exist today, but one could write a Northbounder
implementation to accomplish it.

The Northbounder interface is not covered by the current Javadoc due
to a shortcoming of our current release process.  Here's a link to it
on gitweb:

http://opennms.git.sourceforge.net/git/gitweb.cgi?p=opennms/opennms;a=blob;f=opennms-alarms/api/src/main/java/org/opennms/netmgt/alarmd/api/Northbounder.java;h=e5bc5b6c6524558b440ac5a21e380b08fcfdfafd;hb=HEAD

And to an example implementation, the HttpNorthbounder:

http://opennms.git.sourceforge.net/git/gitweb.cgi?p=opennms/opennms;a=blob;f=opennms-alarms/http-northbounder/src/main/java/org/opennms/netmgt/alarmd/northbounder/http/HttpNorthbounder.java;h=ef6e82f95a248fa2bc350f47fc434e1dcfc07951;hb=HEAD

Depending on your requirement, the HttpNorthbounder might suffice as
it exists today.

> Are these supported? or what is the suggested way to have the
> required support?

a) Write the feature yourself; we hope that you'll contribute it to
the project if you do this.
b) Convince somebody else to write the feature for you and contribute
it to the project
c) Hire The OpenNMS Group (my employer) to do the work; write to
sa...@opennms.com if interested in this option.

- -jeff


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQbJXIAAoJEEfedldKS64s7EoQAINmepcNn8FaDKuYEzb84buv
Tu4kp5+WYsXZRRHRCH79MBZ51c0rPTwKTw9QmdcgXkC0xFjUNaXpnvfQwlObz//d
xmy5x0IWXxP2fl/b33u5Ejuz3JNoFLy8disStwXcqcv6FPz+cNucHfkLQYtxYn+y
M4AXmp83ndOa3vGPxnU5qtEfV8ZAXAZrAD9hXKz6pPPpzfGhN4/U4WnTeongmiGz
Vf3jesDwFTVJ+6oOmFLQ45ipA5ca/h9s11h9ErLyDgkITCh3zM2el8w22sxW+cK3
ZkwopMRplpPZTk0RJI1x4Uxjq2EWZN+F5Inr09eujd2iBfuIjxJ0G/AdCoeYTcXj
5SRGZLwS2Ms8LP8U0GTdrC+0ttKOK23G1srTCrHjM+4Zm+n9XwIF3MXxAkTv5z6d
pFQ+fym+JdBZlqGkJ454sMOaGXK8gp2TNIs86zwNy8mSuTbTfrk2gSeaXMlc2tiK
eog2k+vXP96Kc3Rf/uwo8fvc9Fuwt1B2vnwUMAWaXvpjTczl/jOPXAsqzMW//piq
srrpXFvbNcYIb80JfYHNy6xNCX/D1rwHBAZO4J9GA1+97jnyiTjNfWYfaExBhdDi
sMUfz0dGg5akTNL2uKLVtPQDWNXaeqrtnPOzkvL2y3gNPvsM3U1Kkt7nbYl0RuLi
9E3izqj2C7Gke2NBvkee
=h/35
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to