Commit Graph

49 Commits (master)
 

Author SHA1 Message Date
Benjamin Renard f3f8ae9f1a Fix NRPE command example
ci/woodpecker/push/woodpecker Pipeline was successful Details
8 months ago
Benjamin Renard 67aaf9852c Update git repo URL
ci/woodpecker/push/woodpecker Pipeline was successful Details
8 months ago
Benjamin Renard f1a1cc3193 Fix encoding of the TOUCH value (python3)
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
9 months ago
Benjamin Renard cdf35ecd5a CI: use brenard/aptly-publish image for publish-apt job
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
10 months ago
Benjamin Renard f24ce7f266 CI: add release notes 10 months ago
Benjamin Renard 4dc2425387 Improve install doc
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Benjamin Renard d8a6267d7a Fix CI
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
1 year ago
Benjamin Renard b1953a5b51 Add CI for testing and publishing (gitea version & debian package)
ci/woodpecker/push/woodpecker Pipeline failed Details
1 year ago
Benjamin Renard d33df5c23d Fix pylint/flake8 warnings 1 year ago
Benjamin Renard a3d6c8cfb0 Add some info about dependencies and installation method 2 years ago
Björn Zettergren 2f6d97f761 fix byte-array / str
python3 returns byte-arrays instead of strings for ldap-data in
ContextCSNs, which makes the listcomprehension fail with a TypeError
when using the --serverID flag like so:

    CSN = [s for s in contextCSNs if sub in s]
TypeError: a bytes-like object is required, not 'str'

explicitly encoding 'sub' to byte-array, not sure if this is best way,
but seems to work well enough.
2 years ago
Benjamin Renard 5ce72df6dc Switch the script shebang to python3 2 years ago
Björn Zettergren 09722e94af linting long-lines
reorganized some low hanging fruit for fixing line-too-long reports from
pylint
2 years ago
Björn Zettergren 0b51046476 removed unused variables/constants
suspect these modules were added in initial commit after copying the
demo/example from python-ldap repository, possibly from
https://github.com/python-ldap/python-ldap/blob/master/Demo/initialize.py

These are seemingly never used, and pylint complains about them
2 years ago
Benjamin Renard 7153dfea86 Linting
Removed some redundant code that pylint-complaints about like `else` and
`elif` cases as suggest by Björn Zettergren <bjorn.zettergren@deltaprojects.com>
2 years ago
Benjamin Renard 36f9a09a34 Add --only-check-contextCSN parameter 2 years ago
Benjamin Renard 9e6de5077f Fix python3 compatibility 2 years ago
Benjamin Renard 3c39ff7488 Fix search scope on loading servers ContextCSN 2 years ago
Benjamin Renard d9ac73473d Update README and comments 2 years ago
Benjamin Renard d19d121843 Code cleaning 2 years ago
Benjamin Renard 99aa93a497 Fix touch mode when touch value is already in touch attibute and add --remove-touch-value parameter 4 years ago
Benjamin Renard 5b462ecc8a Add long output in nagios mode 4 years ago
Benjamin Renard 72d64029fd Update usage message in README.md file 4 years ago
Benjamin Renard 3507201ea4 Add paging support (thanks to Jurgen Brand - CGI) 4 years ago
Benjamin Renard d07c61cf1e Make password prompt automatic 5 years ago
Benjamin Renard f3771a77c7 Update usage message in README.md file 6 years ago
Benjamin Renard 4c2a31cf49 Release v2017.09.12 6 years ago
Benjamin Renard 43df1e8de3 Improve ContextCSN error messages 6 years ago
Benjamin Renard 2ece7b0cab Add -i/--serverID parameter to specify on which ContextCSN to check 6 years ago
Benjamin Renard 531a0a0861 Improve parameter errors handling in Nagios mode 6 years ago
Benjamin Renard 6efc8f404f Add icingaexchange.yml file 6 years ago
Benjamin Renard e56bbc4eb9 Migrate README as Markdown file 6 years ago
Benjamin Renard 5dfd755885 Add -T/--starttls parameters to permit to STARTTLS on LDAP connections 7 years ago
Benjamin Renard 49337ceeed Add possibility to enter password with a prompt 7 years ago
Benjamin Renard 07048d3e26 Leave possibilty to not provide bind DN and Password to connect to LDAP servers 9 years ago
Benjamin Renard 259e3268c6 Fixed error in replace touch feature 10 years ago
Benjamin Renard 78538bc48b Add informations about --replace-touch parameter in README file and help message 10 years ago
Benjamin Renard e9b1f0f26f Add --replace-touch parameter 10 years ago
Benjamin Renard b4004e2a0f Added README file on provide more explanation in top of script 10 years ago
Benjamin Renard 618a5d7fff Remove incompatible warning between touch and nagios mode 10 years ago
Benjamin Renard f7801450b4 Added touch on not found objects 10 years ago
Benjamin Renard b777a82a83 Added "Touch attribute" feature 10 years ago
Benjamin Renard b685053626 Added --exclude-attributes parameter 10 years ago
Benjamin Renard 0c32a0d67d Fixed indent 10 years ago
Benjamin Renard ec08775469 Added .gitignore file 10 years ago
Benjamin Renard 27a62825f2 Fixed attributes check : added sort of values before comparing 10 years ago
Benjamin Renard bd98262e54 Specify sync problem during LDAP attributes check 10 years ago
Benjamin Renard 04a4919ddd Fixed ContextCSN check during standart check 10 years ago
Benjamin Renard 4be318bd84 Initial commit 11 years ago