Skip to main content

Python modules for Nagios plugins and configuration

Project description

Python modules and utilities for pragmatically handling Nagios configuration
file maintenance, status information, log file parsing and plug-in development.

Changes in 0.6.0 (Aug 28 2013)
New Features:
- Support line continuations with \ at end of line in config files
- Fix traceback in ParserError initilization
- Better error messages when invalid livestatus syntax has been used
- Utils.grep() new keywords __notstartswith and __notendswith
- Model.ObjectDefinition now supports "in" operator
- Multiple performance tweaks for parsing
- Plugins.PluginHelper.add_option() wrapper created
- Performance tweaks in Utils.grep()
- Thread-safety in Parsing/Saving methods in Model and Parser
- "in" operator implemented for Object Definitions
- delete() methods now more clever for {host,service,contact}s and groups
- Incremental performance updates on parsing
- New method: ObjectDefinition.attribute_is_empty()
- Massive refactor/rewrites in parsing logic

Bug Fixes:
- Fix traceback on search when searching for shortname in invalid configs
- pynag.Utils.GitRepo better handles file renames now
- pynag.Plugins.PluginHelper - no more crashing if parse_arguments was not called
- Fix parsing when multiple objects have conflicting names
- Support relative paths for cfg_dir and cfg_file

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

pynag-0.6.0.tar.gz (133.2 kB view details)

Uploaded Source

File details

Details for the file pynag-0.6.0.tar.gz.

File metadata

  • Download URL: pynag-0.6.0.tar.gz
  • Upload date:
  • Size: 133.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pynag-0.6.0.tar.gz
Algorithm Hash digest
SHA256 0585c7d066b038a3e29bd8907e963132660c14fdbff81d286e5c949bcd9b2de7
MD5 6db0d4eebefe71e27ec60bd2fdfc9c04
BLAKE2b-256 7ad492da5eb3975bc5ce2ca94887fccd12ce723b34e87b381c7d365895f62919

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