FEATURE: Added JSON output for the script and the template which will use it for Discovery the tables partitions

This commit is contained in:
2025-12-16 15:32:09 +01:00
parent 0a66a800b5
commit 064b0ab6ca
7 changed files with 199 additions and 605 deletions

View File

@@ -5,7 +5,8 @@ RUN pip install --no-cache-dir pymysql pyyaml
# Copy main script and entrypoint
# Note: Build context should be the parent directory 'partitioning/'
COPY script/zabbix_partitioning.py /usr/local/bin/zabbix_partitioning.py
COPY script/zabbix_partitioning.py /usr/local/bin/
RUN mkdir -p /etc/zabbix
COPY docker/entrypoint.py /usr/local/bin/entrypoint.py
# Set permissions