Pynag

Latest version: v1.1.2

Safety actively analyzes 641171 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.8.1

New Features:
- Support setting of custom host variables
- Allow Model.*.acknowledge() with a timestamp
Bug Fixes:
- Better support for weird mk-livestatus configs
- Fix unintilized variables in pynag.Parsers.config

0.8.0

New Features:
- Auto guess config locations for icinga and naemon
- Performance improvements in Model
- send_nsca moved to pynag.Utils
- Model.filter() now uses Utils.grep() internally
- Utils.runCommand() now supports shell=False

Bug Fixes:
- fix host.delete() not deleting services
- Fixes for __in __notin and __contains in Utils.grep()
- Bug fixes in send_nsca

0.7.0

New Features:
- All plugins now have a --timeout=58 seconds
- New option to plugins: --extra-opts
- More thread safety in Model
- New method: ObjectDefinition.move() to move definition to a new file
- Plugins new threshold syntax can now fail back on the old syntax

Bug Fixes:
- python 2.4 compatibility in unittests
- Removed deprecated overload of Contact.get_description()

0.6.1

Bug Fixes:
- Disable unittesting on rhel5 (stops build because of unittest2)

0.6.0

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

0.5.0

New Features:
- pynag cli - new action "unset" to remove attributes when updating
- PluginHelper - New option --pnp-compatible-perfdata
- TCP Support for mk-livestatus
- ObjectDefinitions now have new method: set_macro()
- Vast improvements to unit testing
- Fix unhandled tracebacks if invalid templates are defined
- Utils.GitRepo has new method: show()
- Vast performance improvement in parsing
- ObjectDefinition now iterable
- New Utility Class pynag.Utils.PluginOutput
- ObjectDefinition: magic fields like shortname are now part of keys()
- mk_livestatus new utility methods: get_servicegroups,hostgroups,etc

Noteworthy bug fixes:
- tracis-ci and coveralls.io support
- Macroresolving when ARG1 contains other macros
- get_suggested_filename() no longer returns filenames with invalid characters
- check_range(): Always return True on invalid range_format
- check_range(): raise exception on invalid input thresholds

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.