Skip to main content

A module for running Passive Nagios/Icinga Checks

Project description

Pcrunner

pypi build docs codecov

Pcrunner (Passive Checks Runner is a daemon and service that periodically runs Nagios / Icinga checks paralell. The results are posted via HTTPS to a NSCAweb server.

Features

  • Runs as a daemon on Linux.

  • Runs as a service on win32.

  • Command line interface for single test runs and/or cron use.

  • Parallel execution of check commands.

  • Posts check results external commands.

  • Termniation of check commands if maximum time exceeds.

  • Configuration in YAML.

  • Command definition in YAML or text format.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.4.9 (2020-03-21)

  • Fix #97 AttributeError: ‘Popen’ object has no attribute ‘status_code’

  • Fix #98 Python 3 TypeError: sequence item 0: expected str instance, bytes found

0.4.8 (2020-03-20)

  • Fix #96 passive host check results seem to processed as service check results

  • Update requirements.

0.4.7 (2019-10-26)

  • Security update: Bump pyyaml from 3.12 to 5.1

  • Update requirements.

  • No tests for python 3.4

0.4.6 (2018-11-30)

  • Better logging for invalid perf data.

  • Update dev requirements.

0.4.5 (2018-11-16)

  • Pypi metadata fix

0.4.3 (2018-11-16)

  • Real Fix bug in logging.warning: wrong placeholder.

0.4.2 (2018-11-12)

  • Fix bug in logging.warning.

  • Update Python package metadata.

0.4.1 (2018-11-03)

  • Have (result) data for urllib urlencode utf-8 encoded before (PY2) and after (PY3).

  • Warn when performance data not validates (and gets removed).

0.4.0 (2018-11-03)

  • Legitimately, truly and undoubtedly fixed issue #94 (we assume™, for now).

  • Unicode all the way (like we never unicode before).

  • No hopes on Python < 2.7 compatibility

0.3.11 (2018-10-12)

  • Fix issue #94 Performance data ‘sanitized’ NSCAweb won’t hang.

0.3.10 (2018-07-17)

  • Fix RHEL 6 RPM build (make initrddir).

0.3.10 (2018-07-17)

  • Fix RHEL 6 RPM build (make initrddir).

0.3.9 (2018-07-14)

  • Added systemd service file for Fedora >=18 Centos >=7

0.3.8 (2018-02-09)

  • Fix: issue #83

0.3.7 (2017-11-17)

  • Fix: quotes in commands.txt and commands.txt seem to get ignored #82

0.3.6 (2017-11-17)

  • dev requirements updates

0.3.5 (2016-12-09)

  • dev requirements updates

  • docs usage

0.3.4 (2016-11-18)

  • dev requirements updates

0.3.3 (2016-11-11)

  • dev requirements updates

  • docs: download from GitHub

0.3.2 (2016-10-14)

  • dev requirements updates

0.3.1 (2016-09-30)

  • dev requirements updates

0.3.0 (2016-09-09)

  • Added –no-daemon option for starting pcrunner’s run loop in foreground.

  • dev requirements updates

0.2.10 (2016-08-26)

  • tox.ini updated

  • removed specific version for package requirements from setup.py.

  • readthedocs theme for local docs build.

  • OS-X and vim files in .gitignore

  • Update requirements: pytest -> 3.0.1

0.2.8 (2016-08-20)

  • Updated docs

0.2.7 (2016-08-20)

  • Updated project links.

0.2.6 (2016-08-20)

  • Fixed ISSUE#4: commands file with extra white lines.

0.2.5 (2016-08-20)

  • Updated Python installation documentation with new versions.

0.2.4 (2016-08-13)

  • xrange -> range for python3 compatibility.

0.2.3 (2016-08-13)

  • Travis/tox fix

0.2.2 (2016-08-13)

  • ISC License

0.2.1 (2016-08-13)

  • Documentation RPM build updated.

0.2.0 (2016-08-12)

  • First release on PyPI.

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

pcrunner-0.4.9.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

pcrunner-0.4.9-py2.py3-none-any.whl (19.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pcrunner-0.4.9.tar.gz.

File metadata

  • Download URL: pcrunner-0.4.9.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for pcrunner-0.4.9.tar.gz
Algorithm Hash digest
SHA256 bd978e47b12254521f6e88202ff77da8e2278fef96f37c74b39b6b8102b4d550
MD5 0fe42550e670e334bcf2be830e0d43be
BLAKE2b-256 d04463eefffd143409b7517c445773be2d03d655b51f35311ee0f474c68af93b

See more details on using hashes here.

File details

Details for the file pcrunner-0.4.9-py2.py3-none-any.whl.

File metadata

  • Download URL: pcrunner-0.4.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for pcrunner-0.4.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0bb3b2a5ce24324ad76dfe2c4e9e0c2ac3bd9a5f1a6d7b00d074c68e4107b7ac
MD5 8a0318ffa392dbdd5b987ced83bb7e35
BLAKE2b-256 7d276dc988cf1f07aa8bf971775bd7a507137fc2d14db3d0cb8c85c5d083246a

See more details on using hashes here.

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