Pynag

Latest version: v1.1.2

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

Scan your dependencies

Page 5 of 5

0.4.3

Bugfixes:
- Model: Objectdefinition.delete() cascade parameter renamed to recursive.
Recursive implemented for host.

- Various fixes where nagios.cfg is not located in /etc/nagios/

- Improvements to build process

- Parsers: Exception handling loosened to not catch kill signals

- Model: calling filter() with __has_field now works on items seperated by ", "

0.4.2

New features:
- new command-line tool pynag introduced (deprecated pynag-maincfg, etc).
pynag utility offers an easy way to create/update/delete configuration
objects from the command line. (palliopensource.is)

- Model: ObjectDefinition.attributes are now defined according to
documentation, no longer dynamically created in order to ensure consistency
(palliopensource.is)

- Model: run_check_command() available for hosts and services
(palliopensource.is)

- Parsers: Working with comma seperated attribute values now easier
via new AttributeList class (palliopensource.is)

- Model: copy() feature added to ObjectDefinitions.
(palliopensource.is)

Bugs fixed:
- Model, ObjectDefinition.copy() now returns a copy of the newly created object

- Parsers, Appending cfg_dir to nagios maincfg and pathnames dont match
exactly what is in config before (for example double slashes would cause a
duplicate)

- Parsers: Cache is no longer reloaded as often (improves performance)
(palliopensource.is)

- Parsers: Properly raise ParserError if unexpected '}' is encountered
while Parsing (palliopensource.is)

- Parsers: ParserError class now has cleaner more detailed output
(palliopensource.is)

- Model: get_all_macros() now returns custom macros (palliopensource.is)

- Fixed key errors where data is not present (tommitommi.org)

- Parsers: improvements to reload_cache() to fix memory leak in save()

- Code cleanup ala Eclipse python analyser. Unused variables etc removed.

0.4.1

Plugins
Fix to check_range which now support multiple status lines
Modifications for python-2.3 support

Scripts
Added pynag-maincfg which allows for editing nagios.cfg
Added pynag-addservice for easy addition of services

Model
Ability to set filename for new objects
save() now works on when changing 'use'
Modifications for python-2.3 support

Parsers
typo fixed in edit_service
Memory leak fix
Added servicedependency and hostdependency support

EventHandlers
Added GitEventHandler which automaticly commits to git

0.4.0

Features added:
- Model, New module that turns configuration into python objects
- Parsers, major refactoring

0.3.1

Bugs Fixed:
- Plugin, Fixed joinallstr, wasn't being added between severity levels.

Features added:
- Plugin, Add must_threshold variable for programs that do not need classic -w or -c
- Plugin, allow add_arg to be specified multiple times if multiple=True specified
- Plugin, removed space character between severity and colon, "OK:" instead of "OK :"

0.3

Bugs Fixed:


Features added:
- Plugin add_messages() and check_messages()
- new build system for easier RPM creation


Misc Changes:


New Contributors:

Tomas Ewdardsson, Pall Sigurdsson

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.