Skip to main content

Alignak NSCA module for the Alignak Receiver

Development code static analysis Development code tests coverage Most recent PyPi version Join the chat #alignak on freenode.net License AGPL v3

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 Alignak packages repositories

More information in the online Alignak documentation. Here is only an abstract…

Debian:

# Alignak DEB stable packages
sudo echo deb https://dl.bintray.com/alignak/alignak-deb-stable xenial main | sudo tee -a /etc/apt/sources.list.d/alignak.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv D401AB61

sudo apt-get update
sudo apt install python-alignak-module-nsca

CentOS:

sudo vi /etc/yum.repos.d/alignak-stable.repo:
   [Alignak-rpm-stable]
   name=Alignak RPM stable packages
   baseurl=https://dl.bintray.com/alignak/alignak-rpm-stable
   gpgcheck=0
   repo_gpgcheck=0
   enabled=1

sudo yum repolist
sudo yum install python-alignak-module-nsca

From PyPI

To install the module from PyPI:

sudo pip install alignak-module-nsca

From source files

To install the module from the source files (for developing purpose):

git clone https://github.com/Alignak-monitoring-contrib/alignak-module-nsca
cd alignak-module-nsca
sudo pip install . -e

Note: using `sudo python setup.py install` will not correctly manage the package configuration files! The recommended way is really to use `pip`;)

Short description

This module for Alignak receiver reads and decodes NSCA passive notifications to dispatch them into the Alignak framework.

Features / Known limitations

Handles NSCA version 3 protocol

Check the NSCA packet timestamp for staled data (older than a certain amount of time) or ‘future’ data (future timestamp).

Consider the host_check service received data as a passive host check. Useful if your NSCA client does not handle correctly the passive host check syntax ;)

The NSCA module implementation is currently limited to the “xor” obfuscation/encryption.

Configuration

Once installed, this module has its own configuration file in the /usr/local/share/alignak/etc/alignak.d directory. The default configuration file is alignak-module-nsca.ini. This file is commented to help configure all the parameters.

The default configuration is convenient for ‘recent’ NSCA client implementing NSCA version 3.

This configuration has been tested with Linux send_nsca 2.9.1 and Windows NSClient most recent versions (from 0.4.1).

To configure Alignak receiver to use this module:

  • edit your receiver daemon configuration file

  • add the module_alias parameter value (nsca) to the modules parameter of the daemon

To set up several NSCA listeners:

  • copy the default configuration to another file,

  • change the module alias parameter (nsca_bis)

  • change the listening port

  • edit your receiver daemon configuration file

  • add the new module_alias parameter value (nsca_bis) to the modules parameter of the daemon

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.

Metadata

Release files for alignak_module_nsca 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alignak_module_nsca 2.0.0
File Size Uploaded
alignak_module_nsca-2.0.0.tar.gz 43.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alignak_module_nsca 2.0.0
File Interpreter ABI Platform
alignak_module_nsca-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 74.9 kB

Release files / alignak_module_nsca-2.0.0.tar.gz

Download URL alignak_module_nsca-2.0.0.tar.gz
Size 43.0 kB
Tags Source
SHA-256 checksum
How to use checksums
28b1df14c7b73fb8fccbb0d0781f0b56cb1ddb2d7f1bf375b51f6261b8536284
BLAKE2b-256 checksum
How to use checksums
a358c5bf5a5d390167be92e875dded23f54969e21130d37e0af95dd05e732aa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

Release files / alignak_module_nsca-2.0.0-py3-none-any.whl

Download URL alignak_module_nsca-2.0.0-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b82894d745e7295812f1870a52beddf73eb5c282e9ab646a90a4b582fb6e8c12
BLAKE2b-256 checksum
How to use checksums
d47b08ab635f3b06f41227c45e38c9ac27bd48bff88b9e17ddb618b849f2000c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.1

1 release file

1.0.0

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.3

1 release file

0.2.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page