#!/bin/bash

# autoSMART Debug Configuration for ebony
export AUTOSMART_DEBUG=3
export AUTOSMART_NODE_ID="ebony"
export AUTOSMART_CLUSTER_CONFIG="/etc/pve/autoSMART/config/cluster.conf"

# Database configuration
export AUTOSMART_DB_HOST="192.168.2.102"
export AUTOSMART_DB_USER="autosmart"
export AUTOSMART_DB_PASS="autoSMART2025!"
export AUTOSMART_DB_NAME="autosmart"
export AUTOSMART_DB_PORT="5432"

# Collection settings
export SMART_COLLECTION_ENABLED="true"
export MIGRATION_DETECTION_ENABLED="true"
export DIFFERENTIAL_STORAGE_ENABLED="true"

# Debug logging
export AUTOSMART_LOG_LEVEL="DEBUG"
export AUTOSMART_LOG_TO_SYSLOG="true"

echo "autoSMART debug environment configured:"
echo "  Node: $AUTOSMART_NODE_ID"
echo "  Database: $AUTOSMART_DB_HOST:$AUTOSMART_DB_PORT/$AUTOSMART_DB_NAME"
echo "  User: $AUTOSMART_DB_USER"
echo "  Debug Level: $AUTOSMART_DEBUG"
echo ""
