An open API service indexing awesome lists of open source software.

https://github.com/linkdd/nagios-python-broker

NEB module providing the NEB API via Python
https://github.com/linkdd/nagios-python-broker

Last synced: about 1 year ago
JSON representation

NEB module providing the NEB API via Python

Awesome Lists containing this project

README

          

Nagios-Python-Broker
====================

Provides an *Event Broker* for **Nagios**/**Icinga** with a Python API.

.. image:: https://travis-ci.org/linkdd/nagios-python-broker.svg?branch=develop
:target: https://travis-ci.org/linkdd/nagios-python-broker

Technical Description
---------------------

Using the C API of Python, all data received in the broker is translated to a
Python Object, and will be transmitted to the event handler implemented in Python.

How to install
--------------

.. code-block:: bash

make
make install PREFIX=/usr/local/nagios

The **Nagios** module will be available at ``/usr/local/nagios/lib/libnagios-python-broker.so``.

Configuration
-------------

Add this line to your ``nagios.cfg`` :

.. code-block:: ini

broker_module = /usr/local/nagios/lib/libnagios-python-broker.so mypython.package

Make sure ``event_broker_options`` is set to ``-1``.