LogTail 2.7

  1. @@ -2,15 +2,15 @@ Those plugins are used to monitor different projects or vhost (i.e. Either different log files or using regular expression as filters) on the same web server.
  2. UserGuide 1.1. Introduction The RabbitMQ.NET client is an implementation of an AMQP client library for C# (and, implicitly, other.NET languages), and a binding.
  3. In mathematics, the binary logarithm (log 2 n) is the power to which the number 2 must be raised to obtain the value n.That is, for any real number x, = ⁡ =. For example, the binary logarithm of 1 is 0, the binary logarithm of 2 is 1, the binary logarithm of 4 is 2, and the binary logarithm of 32 is 5. The binary logarithm is the logarithm to the base 2.
Latest version

Released:

Class library for writing Nagios (Icinga) plugins

If you are a new customer, register now for access to product evaluations and purchasing capabilities. Need access to an account? If your company has an existing Red Hat account, your organization administrator can grant you access. LogTail is an OS X app to view and monitor local and remote log files on linux servers (using SSH) or any plain text file. It reads log files and outputs their contents as they change, and can follow or “tail” the file in a way similar to the Unix ‘tail’ utility (tail-f). Retrieving messages by subscription Another way to receive messages is to set up a subscription using the IBasicConsumer interface. The messages will then be delivered automatically as they arrive, rather than having to be requested proactively. The easiest and safest way to implement a consumer is to use the convenience class.

Project description

The nagiosplugin library

About

nagiosplugin is a Python class library which helps writing Nagios (or Icinga)compatible plugins easily in Python. It cares for much of the boilerplate codeand default logic commonly found in Nagios checks, including:

  • Nagios 3 Plugin API compliant parameters and output formatting
  • Full Nagios range syntax support
  • Automatic threshold checking
  • Multiple independend measures
  • Custom status line to communicate the main point quickly
  • Long output and performance data
  • Timeout handling
  • Persistent “cookies” to retain state information between check runs
  • Resume log file processing at the point where the last run left
  • No dependencies beyond the Python standard library (except for Python 2.6).

nagiosplugin runs on POSIX and Windows systems. It is compatible withPython 2.7, and Python 3.4 through 3.7.

Feedback and Suggestions

nagiosplugin is currently maintained by Matt Pounsett <matt@conundrum.com>. Apublic issue tracker can be found at<https://github.com/mpounsett/nagiosplugin/issues> for bugs, suggestions, andpatches.

License

Logtail 2.7 oz

The nagiosplugin package is released under the Zope Public License 2.1 (ZPL), aBSD-style Open Source license.

Documentation

Comprehensive documentation is available online. The examples mentioned inthe tutorials can also be found in the nagiosplugin/examples directory ofthe source distribution.

Acknowledgements

nagiosplugin was originally written and maintained by Christian Kauhaus<kc@flyingcircus.io>. Additional contributions from the community areacknowledged in the file CONTRIBUTORS.txt

Development

Getting the source

The source can be obtained via git fromhttps://github.com/mpounsett/nagiosplugin.git:

This package supports installation in a virtualenv:

Tests

nagiosplugin tests are run by tox, which is configured to expect all ofthe supported python versions to be present. The easiest way to accomplishthis is by installing and using pyenv.

Once you have pyenv set up, make sure you have each of the supportedversions of python specified by the envlist in tox.ini. This will likelylook something like:

Install test dependencies:

Iskysoft tunesover 3.8.5. Download Free iSkysoft TunesOver 3.8.5 for Mac on Mac Torrent Download.

After doing so, run the unit tests:

To limit tests to a particular python environment:

Run only linting tests:

nagiosplugin also includes support for test coverage reports. Coveragereports are updated automatically by tox. Open htmlcov/index.html to seecoverage reports.

You may run the supplied examples with the local interpreter:

Documentation

The documentation depends on Sphinx. Install the necessary dependencies, andthen build the documentation:

HTML documentation will be built and installed in doc/_build/html/. You canread the documentation by opening doc/_build/html/index.html.

Versioning

nagiosplugin obeys the semantic version numbering specificationpublished on SemVer, adapted slightly to be PEP 440 compliant.

How to release

Begin by making sure you have the build prerequisites installed:

Update the version number in nagiosplugin/version.py, update the versionrelease date in the HISTORY.txt file, and tag the release. Make sure bothof the file changes are in the same commit. For a new version 0.1.2:

Build the nagiosplugin distribution for PyPi:

Check the contents of the packages in dist/App cleaner pro 4.5. to ensure they contain all ofthe expected files.

Test your package upload with TestPyPi:

Check on https://test.pypi.org/nagiosplugin that the package metadata lookscorrect. If everything is fine, upload the release:

After updating PyPi, advance the version number again to the next patchversion plus a .dev0 suffix.

Go to https://readthedocs.io/ and ensure the new stable and dev releases areavailable.

Contributors

nagiosplugin has become what it is now with the help of many contributors fromthe community. We want to thank everyone who has invested time and energy tomake nagiosplugin better:

  • Christian Kauhaus <kc@flyingcircus.io>, the original author and maintainer.
  • Wolfgang Schnerring <wosc@wosc.de> for thoughts on the design.
  • Thomas Lotze <thomas@thomas-lotze.de> for improving the test infrastructure.
  • Christian Theune <ct@flyingcircus.io> for comments and general feedback.
  • Michael Howitz <mh@gocept.com> and Andrei Chirila <andreich@gmail.com> for thePython 3 port.
  • Birger Schmidt <birger.schmidt@netways.de> for bug reports.
  • Florian Lagg <LaggAt@lagg-asus1.lan> for Windows compatibility fixes
  • Jeff Goldschrafe <jeff@holyhandgrenade.org> for the Python 2.6 backport.
  • José Manuel Fardello <jmfardello@gmail.com> for a logging fix.
  • Jordan Metzmeier <jmetzmeier01@gmail.com> for build fixes and Debianpackaging.
  • Andrey Panfilov <andrew@panfilov.tel> for a perfdata fix.
  • Mihai Limbășan <mihai@limbasan.ro> for various output formatting fixes.

Release History

1.3.2 (2019-11-09)

  • Include doc and tests directories in source distribution to supportGentoo package building tests (#22)
  • Update official python support to 2.7, 3.4+ in README

1.3.0 (2019-11-08)

  • New maintainer/contributor information and project home
  • Updated tests and package metadata for recent Python 3 versions
  • Newer tooling for tests/documentation

1.2.4 (2016-03-12)

  • Add optional keyword parameter verbose to Runtime.guarded(). This parameterallows to set verbose level in the early execution phase (#13).
  • Allow Context.evaluate() return either a Result or ServiceState object. Incase the latter is returned, it gets automatically wrapped in a Result object(#6).

1.2.3 (2015-10-30)

  • Fix bug that caused a UnicodeDecodeError when using non-ASCII characters infmt_metric (#12).
  • Print perfdata always on a single line (even in multi-line mode) to improvecompatibility with various monitoring systems (#11).

1.2.2 (2014-05-27)

  • Mention that nagiosplugin also runs with Python 3.4 (no code changesnecessary).
  • Make name prefix in status output optional by allowing to assign None toCheck.name.
  • Accept bare metric as return value from Resource.probe().
  • Fix bug where Context.describe() was not used to obtain metric description(#13162).

1.2.1 (2014-03-19)

  • Fix build failures with LANG=C (#13140).
  • Remove length limitation of perfdata labels (#13214).
  • Fix formatting of large integers as Metric values (#13287).
  • Range: allow simple numerals as argument to Range() (#12658).
  • Cookie: allow for empty state file specification (#12788).

1.2 (2013-11-08)

  • New Summary.empty method is called if there are no results present (#11593).
  • Improve range violation wording (#11597).
  • Ensure that nagiosplugin install correctly with current setuptools (#12660).
  • Behave and do not attach anything to the root logger.
  • Add debugging topic guide. Explain how to disable the timeout when using pdb(#11592).

1.1b1 (2013-05-28)

Logtail 2.7 Oz

  • Made compatible with Python 2.6 (#12297).
  • Tutorial #3: check_users (#11539).
  • Minor documentation improvements.

1.0.0 (2013-02-05)

  • LogTail returns lines as byte strings in Python 3 to avoid codec issues(#11564).
  • LogTail gives a line-based iterator instead of a file object (#11564).
  • Basic API docs for the most important classes (#11612).
  • Made compatible with Python 2.7 (#11533).
  • Made compatible with Python 3.3.

1.0.0b1 (2012-10-29)

  • Improve error reporting for missing contexts.
  • Exit with code 3 if no metrics have been generated.
  • Improve default Summary.verbose() to list all threshold violations.
  • Move main source repository to https://bitbucket.org/gocept/nagiosplugin/(#11561).
LogTail 2.7

1.0.0a2 (2012-10-26)

  • API docs for the most important classes (#7939).
  • Added two tutorials (#9425).
  • Fix packaging issues.

1.0.0a1 (2012-10-25)

  • Completely reworked API. The new API is not compatible with the old 0.4 API soyou must update your plugins.
  • Python 3 support.
  • The Cookie class is now basically a persistent dict and accepts key/valuepairs. Cookie are stored as JSON files by default so they can be inspected bythe system administrator (#9400).
  • New LogTail class which provides convenient access to constantly growing logfiles which are eventually rotated.

0.4.5 (2012-06-18)

  • Windows port. nagiosplugin code now runs under pywin32 (#10899).
  • Include examples in egg release (#9901).

0.4.4 (2011-07-18)

Bugfix release to fix issues reported by users.

  • Improve Mac OS X compatibility (#8755).
  • Include examples in distribution (#8555).

0.4.3 (2010-12-17)

  • Change __str__ representation of large numbers to avoid scientific notation.

0.4.1 (2010-09-21)

  • Fix distribution to install correctly.
  • Documentation: tutorial and topic guides.

Project details


Release historyRelease notifications

1.3.2

1.3.1

1.2.4

1.2.3

1.2.2

1.2.1

1.2

1.1

1.0.0

0.4.5

Logtail 2.7 X

0.4.4

0.4.3

0.4.2

Logtail 2.7 Engine

0.4.1

0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nagiosplugin, version 1.3.2
Filename, sizeFile typePython versionUpload dateHashes
Filename, size nagiosplugin-1.3.2-py3-none-any.whl (35.2 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size nagiosplugin-1.3.2.tar.gz (54.3 kB) File type Source Python version None Upload dateHashes
Close

Hashes for nagiosplugin-1.3.2-py3-none-any.whl

Hashes for nagiosplugin-1.3.2-py3-none-any.whl
AlgorithmHash digest
SHA2565dc43ecd82dc2ce35ed07d144114a831e487029c741a05b388f5ef2c97091212
MD5bfbd48dc39acb48e2ada5d8697d30193
BLAKE2-256d80ba56618aea7f1848fb54145bd96b18a60e1701cd5829a21fd42bd5f8fd505
Close

Hashes for nagiosplugin-1.3.2.tar.gz

Hashes for nagiosplugin-1.3.2.tar.gz
AlgorithmHash digest
SHA256db8a5993288d8e53486d55495db616080bfdc8ee3f206709c3796df781ff23ef
MD5847abc01a0a5e935a60c1e7e2e49a86c
BLAKE2-256f823690cec44ae5972186394364c94564d2c95d6f2ce67a2ba669ced20c93b6e