File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 88 "apiToken" : " <apiToken>"
99 },
1010 "actionMappings" : {
11- "acknowledgeNotification" : {
11+ "Acknowledge" : {
12+ "filepath" : " <path_of_script>" ,
13+ "sourceType" : " <local | git>" ,
14+ "env" : [],
15+ "stdout" : " <path_of_output_file_of_script>"
16+ },
17+ "AddNote" : {
18+ "filepath" : " <path_of_script>" ,
19+ "sourceType" : " <local | git>" ,
20+ "env" : [],
21+ "stdout" : " <path_of_output_file_of_script>"
22+ },
23+ "Close" : {
1224 "filepath" : " <path_of_script>" ,
1325 "sourceType" : " <local | git>" ,
1426 "env" : [],
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def send_close_request():
4848 logging .debug (LOG_PREFIX + " Solarwinds response:" + str (response .content ))
4949 else :
5050 logging .error (
51- LOG_PREFIX + " Could not execute at Solarwinds; response: " + response .status_code + ' ' + str (
51+ LOG_PREFIX + " Could not execute at Solarwinds; response: " + str ( response .status_code ) + ' ' + str (
5252 response .content ))
5353
5454
@@ -66,7 +66,7 @@ def send_acknowledge_request():
6666 logging .debug (LOG_PREFIX + " Solarwinds response:" + str (response .content ))
6767 else :
6868 logging .error (
69- LOG_PREFIX + " Could not execute at Solarwinds; response: " + response .status_code + ' ' + str (
69+ LOG_PREFIX + " Could not execute at Solarwinds; response: " + str ( response .status_code ) + ' ' + str (
7070 response .content ))
7171
7272
@@ -100,7 +100,7 @@ def send_add_note_request():
100100 logging .debug (LOG_PREFIX + " Solarwinds response:" + str (response .content ))
101101 else :
102102 logging .error (
103- LOG_PREFIX + " Could not execute at Solarwinds; response: " + response .status_code + ' ' + str (
103+ LOG_PREFIX + " Could not execute at Solarwinds; response: " + str ( response .status_code ) + ' ' + str (
104104 response .content ))
105105
106106
You can’t perform that action at this time.
0 commit comments