Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python NSCA (Nagios Service Check Acceptor) library
Python
branch: master
Failed to load latest commit information.
debian
.gitignore .gitignore improvements
README.rst Link to rpm repository in README
pynsca.py Merge djmitche/pynsca:issue12 (PR #12)
python-pynsca.spec Update python-pynsca.spec
requirements.txt added 3DES support
setup.py Start 1.6 development
test_pynsca.py Escape newlines and backslashes in plugin output

README.rst

A very simple module to allow nagios service check results to be submitted via NSCA.

Usage

>>> import pynsca
>>> from pynsca import NSCANotifier
>>> notif = NSCANotifier("nagios")
>>> notif.svc_result("host", "service", pynsca.OK, "Looks Good!")

Prebuild RPM packages

The Bareos project builds (using open build server) and publishes python-pynsca RPM packages for a variety of RPM based Linux distribution, you can directly install from the repository: http://download.bareos.org/bareos/contrib/

Debian / Ubuntu packages may follow later.

Requirements

  • Python 2.4 or higher
  • python-mcrypt, if using AES encryption
  • pycrypto, if using 3DES encryption
  • No other libraries required

Issues

Please file any bugs or feature requests at
https://github.com/djmitche/pynsca/issues

Changes

1.6 (Unreleased)

  • Debian package updated.
  • spec file to generate a RPM package.

1.5

PyCrypto is only required when using 3DES encryption (mode 3).

1.4

The library now supports 3DES encryption (mode 3). This adds the requirement for PyCrypto.

Something went wrong with that request. Please try again.