Files
Linux-Server-Management-Too…/config/settings.conf
T
cschantz a51d968185 Initial commit: Server Management Toolkit v2.0
- Complete security menu restructure (3-mode: Analysis/Actions/Live)
- Intelligent cPHulk enablement with CSF whitelist import
- Live network security monitoring dashboard
- Multi-source threat detection and classification
- 50+ organized security tools across 4-level menu hierarchy
- System health diagnostics with cPanel/WHM integration
- Reference database for cross-module intelligence sharing
2025-11-03 18:21:40 -05:00

108 lines
3.2 KiB
Plaintext

# Server Management Toolkit Configuration
# ============================================================================
# NEXTCLOUD INTEGRATION
# ============================================================================
# Base URL for downloading modules
# Example: https://nextcloud.yourdomain.com/s/ShareToken/download?path=/
NEXTCLOUD_BASE_URL=""
# Auto-update modules on launch (yes/no)
AUTO_UPDATE=no
# ============================================================================
# SYSTEM PATHS
# ============================================================================
# Apache log directory
LOG_DIR="/var/log/apache2/domlogs"
# cPanel home directory
CPANEL_HOME="/home"
# WordPress installations base pattern
WP_BASE="/home/*/public_html"
# ============================================================================
# SECURITY DEFAULTS
# ============================================================================
# Default time range for quick scans (hours)
QUICK_SCAN_HOURS=1
# Auto-apply blocklists (yes/no)
AUTO_BLOCK=no
# Maximum threat score before auto-block (0-100)
AUTO_BLOCK_THRESHOLD=80
# ============================================================================
# WORDPRESS DEFAULTS
# ============================================================================
# Auto-backup before mass operations (yes/no)
WP_AUTO_BACKUP=yes
# WP-CLI path
WPCLI_PATH="/usr/local/bin/wp"
# Max sites to process in parallel
WP_MAX_PARALLEL=5
# ============================================================================
# PERFORMANCE MONITORING
# ============================================================================
# CPU usage alert threshold (%)
CPU_ALERT_THRESHOLD=80
# Memory usage alert threshold (%)
MEM_ALERT_THRESHOLD=90
# Disk usage alert threshold (%)
DISK_ALERT_THRESHOLD=85
# Load average alert threshold
LOAD_ALERT_THRESHOLD=5.0
# ============================================================================
# NOTIFICATIONS
# ============================================================================
# Email for critical alerts
ALERT_EMAIL=""
# Slack webhook URL (optional)
SLACK_WEBHOOK=""
# Pushover API token (optional)
PUSHOVER_TOKEN=""
# ============================================================================
# BACKUP SETTINGS
# ============================================================================
# Backup retention days
BACKUP_RETENTION_DAYS=30
# Backup destination
BACKUP_DEST="/backup"
# Compress backups (yes/no)
BACKUP_COMPRESS=yes
# ============================================================================
# WHITELISTS & EXCLUSIONS
# ============================================================================
# Whitelist file for IPs
WHITELIST_IP_FILE="$CONFIG_DIR/whitelist-ips.txt"
# Whitelist file for User-Agents
WHITELIST_UA_FILE="$CONFIG_DIR/whitelist-user-agents.txt"
# Accounts to exclude from operations
EXCLUDE_ACCOUNTS="root cpanel"
# ============================================================================
# LOGGING
# ============================================================================
# Log all toolkit operations (yes/no)
ENABLE_LOGGING=yes
# Toolkit log file
TOOLKIT_LOG="$BASE_DIR/logs/toolkit.log"