diff options
author | Ladue, David (dl3158) <dl3158@att.com> | 2018-08-15 18:11:46 -0400 |
---|---|---|
committer | Ladue, David (dl3158) <dl3158@att.com> | 2018-08-16 09:23:02 -0400 |
commit | 844c50d8b9b473b3daebdfe357ead3f904db9721 (patch) | |
tree | 1fe22551a3e1b212ee7f1e6a97826bab8645ad8e /snmptrap/mod/trapd_settings.py | |
parent | cbad421e6448f15179c18db1892c88d18838a916 (diff) |
adding snmpV3 support
Change-Id: I6250e30fa1aa2516a16c4906628be8cc904fbc71
Issue-ID: DCAEGEN2-630
Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'snmptrap/mod/trapd_settings.py')
-rw-r--r-- | snmptrap/mod/trapd_settings.py | 13 |
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 |