Alignak - Broker module for the monitoring logs, directy store to Mongo DB
Project description
Note that this module is only useful to get the Alignak monitoring logs in a Mongo DB if you do not use the Alignak backend
Alignak module for the monitoring logs
Installation
The installation of this module will copy some configuration files in the Alignak default configuration directory (eg. /usr/local/etc/alignak). The copied files are located in the default sub-directory used for the modules (eg. arbiter/modules).
From PyPI
To install the module from PyPI:
sudo pip install alignak-module-mongo-logs
From source files
To install the module from the source files (for developing purpose):
git clone https://github.com/Alignak-monitoring-contrib/alignak-module-mongo-logs cd alignak-module-mongo-logs sudo pip install . -e
Short description
This module for Alignak collects the monitoring logs (alerts, notifications, …) to log them into a collection of a Mongo DB.
This module was back-ported from the Shinken mod-mongo-logs but it does not manage the availability for hosts and services.
Configuration
Once installed, this module has its own configuration file in the /usr/local/etc/alignak/arbiter/modules directory. The default configuration file is mod-mongo-logs.cfg. This file is commented to help configure all the parameters.
To configure Alignak broker to use this module:
edit your broker daemon configuration file
add the module_alias parameter value (logs) to the modules parameter of the daemon
To configure this module for Mongo DB:
edit the module configuration file to set the MongoDB parameters
Bugs, issues and contributing
Contributions to this project are welcome and encouraged … issues in the project repository are the common way to raise an information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for alignak_module_mongo_logs-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87303a317bc5643168d4ed6608ab1a923d8fe2fb6e91a83c7a119b609441b9d |
|
MD5 | 2ce1d0fe593f6525e687d2ca6e96ed4b |
|
BLAKE2b-256 | 001d9cbb5d7cc9d857d2c9a71631142a4db9f278a4aeee4a795d0b813dfa932b |