aboutsummaryrefslogtreecommitdiffstats
path: root/snmptrap/mod/trapd_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'snmptrap/mod/trapd_settings.py')
-rw-r--r--snmptrap/mod/trapd_settings.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/snmptrap/mod/trapd_settings.py b/snmptrap/mod/trapd_settings.py
index be87e26..308a2f2 100644
--- a/snmptrap/mod/trapd_settings.py
+++ b/snmptrap/mod/trapd_settings.py
@@ -115,7 +115,7 @@ def init():
# <json log of traps published>
global json_traps_filename
- json_log_filename = ""
+ json_traps_filename = ""
global json_traps_fd
json_fd = None
# </json log of traps published>
@@ -131,6 +131,17 @@ def init():
global pid_file_name
pid_file_name = ""
+ # <stormwatch>
+ global sw_participant_oid_dict
+ sw_participant_oid_dict = {}
+
+ global sw_count_dict
+ sw_count_dict = {}
+
+ global sw_interval_in_seconds
+ sw_interval_in_seconds = 60
+ # </stormwatch >
+
# <logging types and severities>
global LOG_TYPES
global LOG_TYPE_NONE