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 hashes)

Uploaded Source

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