Skip to main content

UNKNOWN

Project description

==============
opennms-client
==============

.. image:: https://travis-ci.org/mvillarejo/opennms-client.png?branch=master
:target: https://travis-ci.org/mvillarejo/opennms-client
.. image:: https://readthedocs.org/projects/opennms-client/badge/?version=latest
:target: http://opennms-client.readthedocs.org/en/latest/?badge=latest


opennms-client is a simple package to manage openNMS.

Usage
=====

.. code-block:: python

>>> import client
>>> onms_client = client.Client("http://demo.opennms.org/opennms", "demo", "demo")
>>> print onms_client
http://demo.opennms.org/opennms (demo) <Response [200]>
>>> onms_client.get_services()
{u'Amazon': 35,
u'BingSearch': 38,
u'DNS': 12,
u'Dell-OpenManage': 24,
u'FTP': 10,
u'GoogleSearch': 36,
...
>>> onms_client.set_service("www.amazon.com ", "ICMP")
<Response [200]>



Requirements
============
.. code-block:: bash
pip install -r requirements.txt


Releases
========
Download pre-built releases on the [releases](https://github.com/mvillarejo/opennms-client/releases) page

Contributors
============
[Manuel Villarejo](https://github.com/mvillarejo) - Core Development

License
=======
MIT License


.. :changelog:

Changelog
---------


0.1 (2015-11-20)
+++++++++++++++++++
* client: version 0.1

0.1.1 (2015-11-20)
++++++++++++++++++
* client: added set_service(hostname, service_name)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opennms-client-0.1.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page