-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
96 lines (81 loc) · 2.49 KB
/
.env.example
File metadata and controls
96 lines (81 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# ============================================
# TELKOM Network Monitoring - Environment Configuration
# ============================================
#
# SECURITY NOTICE:
# - This is a TEMPLATE file for documentation purposes
# - Create a .env file (if needed) with your actual values
# - The .env file is automatically ignored by git
#
# SETUP INSTRUCTIONS:
# 1. Copy this file: cp .env.example .env
# 2. Edit .env with your actual configuration
# 3. Ensure file permissions are restricted
#
# NOTE: This project primarily uses _telkom_access.xml for credentials
# This .env.example is provided for additional configuration options
# ============================================
# ==================
# NETWORK CONFIGURATION
# ==================
# SSH Connection Timeouts (in seconds)
SSH_BANNER_TIMEOUT=180
SSH_COMMAND_TIMEOUT=300
SSH_CONNECT_TIMEOUT=120
# Retry Configuration
INITIAL_TEST_RETRIES=5
INITIAL_TEST_RETRY_DELAY=10
PER_NODE_RETRIES=5
PER_NODE_RETRY_DELAY=10
# ==================
# PROCESSING CONFIGURATION
# ==================
# Number of workers for concurrent processing
# Default: 1 (sequential processing for reliability)
# Increase only if you need faster processing and have stable network
MAX_WORKERS=1
# ==================
# OUTPUT CONFIGURATION
# ==================
# Output directory for reports (relative to script location)
OUTPUT_DIR=./reports
# Report filename prefix
REPORT_PREFIX=FPC-Occupancy_Report
# ==================
# LOGGING CONFIGURATION
# ==================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Enable debug output
DEBUG_MODE=false
# Debug output directory
DEBUG_DIR=./debug
# ==================
# TIMEZONE CONFIGURATION
# ==================
# Indonesia Timezone (auto-detected by default)
# Options: WIB (UTC+7), WITA (UTC+8), WIT (UTC+9)
# Leave empty for auto-detection
TIMEZONE=
# ==================
# OPTIONAL: ALTERNATIVE CREDENTIAL SOURCES
# ==================
# If you want to use environment variables instead of XML file
# Uncomment and set these values:
# TACACS_SERVER_1=10.x.x.x
# TACACS_SERVER_2=10.x.x.x
# TACACS_USERNAME=your-tacacs-username
# TACACS_PASSWORD=your-tacacs-password
# ROUTER_USERNAME=your-router-username
# ROUTER_PASSWORD=your-router-password
# ==================
# ADVANCED OPTIONS
# ==================
# Enable SSH debug logging
SSH_DEBUG=false
# Enable hardware detail collection
COLLECT_HARDWARE_DETAIL=true
# Enable system performance monitoring
COLLECT_SYSTEM_PERFORMANCE=true
# Enable alarm collection
COLLECT_ALARMS=true