perun.proxy.utils 1.8.1__tar.gz → 1.8.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/PKG-INFO +19 -1
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/README.md +17 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/run_probes.py +13 -12
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/PKG-INFO +19 -1
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/requires.txt +3 -1
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/setup.cfg +1 -1
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/setup.py +5 -1
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/LICENSE +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/__init__.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/metadata_expiration.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/__init__.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_custom_command.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_dockers.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_exabgp_propagation.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_ldap.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_ldap_syncrepl.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_mongodb.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_nginx.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_rpc_status.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_saml.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_user_logins.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/webserver_availability.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/print_docker_versions.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/run_version_script.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/separate_oidc_logs.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/separate_ssp_logs.py +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/SOURCES.txt +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/dependency_links.txt +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/entry_points.txt +0 -0
- {perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: perun.proxy.utils
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.3
|
|
4
4
|
Summary: Module with utilities and monitoring probes
|
|
5
5
|
Home-page: https://gitlab.ics.muni.cz/perun-proxy-aai/proxyidp-scripts.git
|
|
6
6
|
License: UNKNOWN
|
|
@@ -92,6 +92,24 @@ Description: # Perun proxy utils
|
|
|
92
92
|
-d "%b %d %Y %H:%M:%S"
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
### check_ldap.py
|
|
96
|
+
|
|
97
|
+
- check whether LDAP is available
|
|
98
|
+
- to use this check, you must install the ldap extra:
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
pip install perun.proxy.utils[ldap]
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
and the [build prerequisites of the python-ldap library](https://www.python-ldap.org/en/latest/installing.html#build-prerequisites)
|
|
105
|
+
|
|
106
|
+
- for usage run:
|
|
107
|
+
|
|
108
|
+
```sh
|
|
109
|
+
python3 check_ldap.py --help
|
|
110
|
+
```
|
|
111
|
+
|
|
95
112
|
Platform: UNKNOWN
|
|
96
113
|
Requires-Python: >=3.9
|
|
97
114
|
Description-Content-Type: text/markdown
|
|
115
|
+
Provides-Extra: ldap
|
|
@@ -85,3 +85,20 @@ python3 check_user_logins.py
|
|
|
85
85
|
-r "^(?P<datetime>.{20}).*audit-login.* (?P<userid>[0-9]+)@muni\.cz$"
|
|
86
86
|
-d "%b %d %Y %H:%M:%S"
|
|
87
87
|
```
|
|
88
|
+
|
|
89
|
+
### check_ldap.py
|
|
90
|
+
|
|
91
|
+
- check whether LDAP is available
|
|
92
|
+
- to use this check, you must install the ldap extra:
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
pip install perun.proxy.utils[ldap]
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
and the [build prerequisites of the python-ldap library](https://www.python-ldap.org/en/latest/installing.html#build-prerequisites)
|
|
99
|
+
|
|
100
|
+
- for usage run:
|
|
101
|
+
|
|
102
|
+
```sh
|
|
103
|
+
python3 check_ldap.py --help
|
|
104
|
+
```
|
|
@@ -42,18 +42,19 @@ def main():
|
|
|
42
42
|
module = options["module"]
|
|
43
43
|
for name, args in options.get("runs").items():
|
|
44
44
|
command = ["python3", "-m", module]
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
arg_name
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
arg_val
|
|
52
|
-
|
|
53
|
-
arg_val
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
45
|
+
if args is not None:
|
|
46
|
+
for arg_name, arg_val in args.items():
|
|
47
|
+
if len(arg_name) == 1:
|
|
48
|
+
arg_name = "-" + arg_name
|
|
49
|
+
else:
|
|
50
|
+
arg_name = "--" + arg_name
|
|
51
|
+
if arg_val is True:
|
|
52
|
+
arg_val = "true"
|
|
53
|
+
elif arg_val is False:
|
|
54
|
+
arg_val = "false"
|
|
55
|
+
command.append(arg_name)
|
|
56
|
+
if arg_val is not None:
|
|
57
|
+
command.append(str(arg_val))
|
|
57
58
|
Thread(target=run_probe, args=[name, command]).start()
|
|
58
59
|
|
|
59
60
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: perun.proxy.utils
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.3
|
|
4
4
|
Summary: Module with utilities and monitoring probes
|
|
5
5
|
Home-page: https://gitlab.ics.muni.cz/perun-proxy-aai/proxyidp-scripts.git
|
|
6
6
|
License: UNKNOWN
|
|
@@ -92,6 +92,24 @@ Description: # Perun proxy utils
|
|
|
92
92
|
-d "%b %d %Y %H:%M:%S"
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
### check_ldap.py
|
|
96
|
+
|
|
97
|
+
- check whether LDAP is available
|
|
98
|
+
- to use this check, you must install the ldap extra:
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
pip install perun.proxy.utils[ldap]
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
and the [build prerequisites of the python-ldap library](https://www.python-ldap.org/en/latest/installing.html#build-prerequisites)
|
|
105
|
+
|
|
106
|
+
- for usage run:
|
|
107
|
+
|
|
108
|
+
```sh
|
|
109
|
+
python3 check_ldap.py --help
|
|
110
|
+
```
|
|
111
|
+
|
|
95
112
|
Platform: UNKNOWN
|
|
96
113
|
Requires-Python: >=3.9
|
|
97
114
|
Description-Content-Type: text/markdown
|
|
115
|
+
Provides-Extra: ldap
|
|
@@ -14,11 +14,15 @@ setuptools.setup(
|
|
|
14
14
|
"docker~=6.0",
|
|
15
15
|
"beautifulsoup4~=4.12",
|
|
16
16
|
"requests~=2.31",
|
|
17
|
-
"ldap3~=2.9.1",
|
|
18
17
|
"PyYAML>=5.4,<7.0",
|
|
19
18
|
"check_syncrepl_extended~=2020.13",
|
|
20
19
|
"check_nginx_status~=1.0",
|
|
21
20
|
],
|
|
21
|
+
extras_require={
|
|
22
|
+
"ldap": [
|
|
23
|
+
"ldap3~=2.9.1",
|
|
24
|
+
]
|
|
25
|
+
},
|
|
22
26
|
entry_points={
|
|
23
27
|
"console_scripts": [
|
|
24
28
|
"run_probes=perun.proxy.utils.run_probes:main",
|
|
File without changes
|
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/metadata_expiration.py
RENAMED
|
File without changes
|
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_custom_command.py
RENAMED
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_dockers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_ldap_syncrepl.py
RENAMED
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_mongodb.py
RENAMED
|
File without changes
|
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_rpc_status.py
RENAMED
|
File without changes
|
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/nagios/check_user_logins.py
RENAMED
|
File without changes
|
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun/proxy/utils/print_docker_versions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{perun.proxy.utils-1.8.1 → perun.proxy.utils-1.8.3}/perun.proxy.utils.egg-info/top_level.txt
RENAMED
|
File without changes
|