Skip to content
Snippets Groups Projects
Verified Commit 898aff30 authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

chore: move check_syncrepl_extended to the ldap extra

check_syncrepl_extended is now only installed when using pip install perun.proxy.utils[ldap]

BREAKING CHANGE: usage of check_syncrepl_extended now requires installing with [ldap]
parent e5f5634c
No related branches found
No related tags found
1 merge request!44move check_syncrepl_extended to the ldap extra, fix README
...@@ -77,7 +77,7 @@ All nagios scripts are located under `nagios` directory. ...@@ -77,7 +77,7 @@ All nagios scripts are located under `nagios` directory.
- example: - example:
``` ```sh
python3 check_user_logins.py python3 check_user_logins.py
-p /var/log/proxyaai/simplesamlphp/simplesamlphp/simplesamlphp.log -p /var/log/proxyaai/simplesamlphp/simplesamlphp/simplesamlphp.log
-l 5 -l 5
...@@ -103,6 +103,23 @@ python3 check_user_logins.py ...@@ -103,6 +103,23 @@ python3 check_user_logins.py
python3 check_ldap.py --help python3 check_ldap.py --help
``` ```
### check_ldap_syncrepl
- check whether an LDAP replica is up to date with the provider
- to use this check, you must install the ldap extra:
```sh
pip install perun.proxy.utils[ldap]
```
and the [build prerequisites of the python-ldap library](https://www.python-ldap.org/en/latest/installing.html#build-prerequisites)
- for usage run:
```sh
check_ldap_syncrepl --help
```
### check_privacyidea.py ### check_privacyidea.py
- check whether privacyidea is available - check whether privacyidea is available
......
...@@ -15,13 +15,13 @@ setuptools.setup( ...@@ -15,13 +15,13 @@ setuptools.setup(
"beautifulsoup4~=4.12", "beautifulsoup4~=4.12",
"requests~=2.31", "requests~=2.31",
"PyYAML>=5.4,<7.0", "PyYAML>=5.4,<7.0",
"check_syncrepl_extended~=2020.13",
"check_nginx_status~=1.0", "check_nginx_status~=1.0",
"pyotp~=2.9", "pyotp~=2.9",
], ],
extras_require={ extras_require={
"ldap": [ "ldap": [
"ldap3~=2.9.1", "ldap3~=2.9.1",
"check_syncrepl_extended~=2020.13",
], ],
"postgresql": [ "postgresql": [
"psycopg2-binary~=2.9", "psycopg2-binary~=2.9",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment