summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author尹姜谊 <[email protected]>2024-02-05 11:22:21 +0800
committer尹姜谊 <[email protected]>2024-02-05 11:22:21 +0800
commit7bcf2ffce23f9d4029c16354f1d1d32a200fba39 (patch)
tree420c1ed5226deb2b1850da5b7515cb11820d9611
parent7c0349a850518dc8e205d0f4dcd29a8026c01e6b (diff)
Fix: sys path issue v2
-rw-r--r--config24.01.yaml4
-rw-r--r--detection/knowledgebase_monitor.py (renamed from detection/KnowledgeBaseMonitor.py)2
-rw-r--r--detection/monitor/__init__.py6
3 files changed, 3 insertions, 9 deletions
diff --git a/config24.01.yaml b/config24.01.yaml
index b33d9a1..72de4c4 100644
--- a/config24.01.yaml
+++ b/config24.01.yaml
@@ -10,8 +10,8 @@ common:
max_calls_per_sec: 10
monitor:
- monitor_file_path: /Users/joy/Downloads/vpn_thwarting_monitor.prom
-# monitor_file_path: /home/tsg/olap/galaxy/volumes/node-exporter/prom/vpn_plugin_knowledgebase_monitor.prom
+# monitor_file_path: /Users/joy/Downloads/vpn_thwarting_monitor.prom
+ monitor_file_path: /home/tsg/olap/galaxy/volumes/node-exporter/prom/vpn_plugin_knowledgebase_monitor.prom
outdated_days: 100 # outdated after Inactive for days. outdated results will not be monitored as effective results
timezone_hour_gap: 8
diff --git a/detection/KnowledgeBaseMonitor.py b/detection/knowledgebase_monitor.py
index a4e2835..e1714fa 100644
--- a/detection/KnowledgeBaseMonitor.py
+++ b/detection/knowledgebase_monitor.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# @Time : 2024/1/31 19:41
# @author : yinjinagyi
-# @File : KnowledgeBaseMonitor.py
+# @File : knowledgebase_monitor.py
# @Function:
import argparse
import datetime
diff --git a/detection/monitor/__init__.py b/detection/monitor/__init__.py
deleted file mode 100644
index 70e1a17..0000000
--- a/detection/monitor/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-# @Time : 2024/1/31 19:40
-# @author : yinjinagyi
-# @File : __init__.py.py
-# @Function: