You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print"Could not get IDs and hence not creating the alert"
39
+
sys.exit(-1)
40
+
41
+
notification_channel_ids=res[1]
42
+
29
43
#
30
44
# Create the alert.
31
45
#
@@ -37,7 +51,7 @@
37
51
['host.mac', 'proc.name'], # Segmentation. We want to check this metric for every process on every machine.
38
52
'ANY', # in case there is more than one tomcat process, this alert will fire when a single one of them crosses the 80% threshold.
39
53
'proc.name = "tomcat"', # Filter. We want to receive a notification only if the name of the process meeting the condition is 'tomcat'.
40
-
['EMAIL'], # Notification target. We want an email to be sent. Alerts email recipients can be defined here: https://app.sysdigcloud.com/#/settings/notifications
54
+
notification_channel_ids,
41
55
False) # This alert will be disabled when it's created.
0 commit comments