change: added configuration mover

This commit is contained in:
2025-09-26 10:12:37 +02:00
parent c74434e950
commit fd22bbe72b
1089 changed files with 194844 additions and 251 deletions

15
config-mover/run_export.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Example script to run the Zabbix configuration exporter
# Replace the values below with your actual Zabbix configuration
# Set environment variables
export ZABBIX_URL="https://zabbix.mbuz.uk/api_jsonrpc.php"
export BEARER_TOKEN="7b7a372ef46f924f41f2eb163edcb04b99ea2a7a8683e891f531ff7b212adeff"
export HOST_IDS="10084,10584,10591,10595,10596,10607,10618,10623,10624,10637,10659" # Comma-separated list of host IDs
export OUTPUT_DIR="/opt/python/export"
# Activate virtual environment and run the script
cd /opt/python
source venv/bin/activate
python3 config_exporter.py