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
Copy file name to clipboardExpand all lines: en/on-call/integration/alert-integration/alert-sources/dead-mans-snitch.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,16 +38,17 @@ You can get the integration push URL in either of the following ways.
38
38
<Steptitle="Add a webhook integration">
39
39
40
40
1. Sign in to Dead Man's Snitch and click **Integrations** in the top navigation bar
41
-
2. In the list of available integrations, click **Add Webhook**
41
+
2. In the **Available Integrations** list, click **ADD** next to **Webhooks**
42
42
3. Paste the full Flashduty push URL (including `integration_key`) into the **Hook URL** field and click **Save**
43
+
4. Click **SEND TEST**. Dead Man's Snitch sends a sample `snitch.reporting` notification; Flashduty returns success and creates no alert, and Dead Man's Snitch shows **Webhook is working correctly.**
43
44
44
45
</Step>
45
46
46
47
<Steptitle="Filter by tag (optional)">
47
48
48
49
By default, an integration receives notifications for every snitch in the current case. To send only some snitches to Flashduty:
49
50
50
-
1. On the **Integrations** page, click the filter icon next to the webhook
51
+
1. On the **Integrations** page, click the **Manage Tags** icon next to the webhook
51
52
2. Add one or more tags and click **Save**
52
53
53
54
After that, only snitches that carry at least one of these tags are sent to Flashduty. Remove all tags to send every snitch again.
@@ -112,7 +113,7 @@ Dead Man's Snitch webhooks carry no severity. Flashduty maps them as follows:
112
113
<AccordionGroup>
113
114
<Accordiontitle="Does a snitch that stays missing send repeated notifications?">
114
115
115
-
Yes. Until the snitch is paused or checks in again, Dead Man's Snitch sends one missing notification for every failed interval. These notifications have the same Alert Key as the original alert and are merged into that active alert instead of creating new ones.
116
+
The Dead Man's Snitch FAQ says email alerts repeat once per failed period until the snitch is paused or checks in again. With a webhook integration, a snitch on a 1-minute interval sent only one missing notification over several failed periods. Any repeated missing notification has the same Alert Key as the original alert and is merged into that active alert instead of creating a new one.
Copy file name to clipboardExpand all lines: en/on-call/integration/alert-integration/alert-sources/hyperdx.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Both open-source HyperDX and managed ClickStack in ClickHouse Cloud support Gene
37
37
<Steps>
38
38
<Steptitle="Create a Generic webhook">
39
39
40
-
1. Open **Team Settings** and click **Add Webhook** under **Webhooks**. You can also select**Add New Webhook** while creating an alert
40
+
1. Open **Team Settings**→ **Integrations**and click **Add Webhook** under **Webhooks**. You can also click**Add New Incoming Webhook** while creating an alert
41
41
2. Set **Service Type** to **Generic**
42
42
3. Enter `Flashduty` as the **Webhook Name** and paste the full Flashduty push URL into **Webhook URL**
Copy file name to clipboardExpand all lines: en/on-call/integration/alert-integration/alert-sources/komodor.mdx
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: "Send Kubernetes workload, node, PVC, and Job issues and their reco
4
4
keywords: ["alert integration", "Komodor", "Kubernetes", "Realtime Health Monitors", "webhook"]
5
5
---
6
6
7
-
Use the webhook notification channel of Komodor Realtime Health Monitors to send the issues Komodor detects in your Kubernetes clusters to Flashduty On-call. One kind of monitor issue on one resource in one namespace of one cluster maps to one Flashduty alert: an `open` message from Komodor triggers the alert, and a `close` message recovers it.
7
+
Use the webhook notification channel of Komodor Realtime Health Monitors to send the issues Komodor detects in your Kubernetes clusters to Flashduty On-call. One kind of monitor issue on one resource in one namespace of one cluster maps to one Flashduty alert: an `open` message from Komodor triggers the alert, and a `closed` message recovers it.
8
8
9
9
<divclassName="hide">
10
10
@@ -49,33 +49,37 @@ Choose this method when you need to route alerts to different channels based on
49
49
---
50
50
51
51
- The Komodor Agent is installed in your Kubernetes cluster, and the cluster appears in the Komodor console.
52
-
- Your account can edit Komodor **Realtime Health Monitors**.
52
+
- Your account can edit Komodor **Health Policies**.
53
53
54
54
## In Komodor
55
55
---
56
56
57
57
<Steps>
58
-
<Steptitle="Open a monitor rule">
58
+
<Steptitle="Open a monitor">
59
59
60
-
Sign in to the Komodor console, go to the **Realtime Health Monitors**page, select the cluster, and open a monitor rule (for example, the Availability monitor), or click **Add rule** to create one.
60
+
Sign in to the Komodor console and open **Organization Settings** → **Health Policies**→ **Realtime Monitors**. Expand the cluster and a monitor type (for example**Availability monitor**), then click a monitor (for example **Default Runtime Availability**) to open **Edit Monitor**, or click **+ Add Monitor** to create one.
61
61
62
62
</Step>
63
63
64
64
<Steptitle="Add a webhook notification channel">
65
65
66
-
1.In the rule's **Edit Rule** section, select **Webhook** as the notification method
66
+
1.Under **Where do you want to receive notifications?**, select **Webhook**
67
67
2. Click **Add New Webhook**:
68
-
-**Webhook Name**: a recognizable name, for example `Flashduty`
69
68
-**Webhook URL**: the full Flashduty push URL, including the `integration_key` parameter
70
-
3. Save the rule
69
+
-**Webhook Name**: a recognizable name, for example `Flashduty`
70
+
- Leave **Headers** empty
71
+
3. Click **Test Webhook** (see the next step), then **Add Webhook**
72
+
4. Select `Flashduty` under **Select webhooks** and click **Save Monitor**
71
73
72
-
Once created, the webhook channel can be selected in any other monitor rule. Select it in every rule that should send alerts to Flashduty.
74
+
Once created, the webhook can be selected in any other monitor. Select it in every monitor that should send alerts to Flashduty.
73
75
74
76
</Step>
75
77
76
78
<Steptitle="Confirm delivery">
77
79
78
-
The Komodor documentation does not provide a test send for webhooks. The next time the rule detects an issue, check that the alert appears in the channel's alert list in Flashduty, and that it recovers once the issue is resolved.
80
+
**Test Webhook** posts `{"type":"Test!"}` from your browser. Flashduty returns success and creates no alert, so the test only confirms that the push URL is reachable.
81
+
82
+
The next time the monitor detects an issue, check that the alert appears in the channel's alert list in Flashduty, and that it recovers once the issue is resolved.
79
83
80
84
</Step>
81
85
</Steps>
@@ -87,7 +91,7 @@ Deploy monitor notifications describe a rollout (successful or failed), not a he
87
91
## Alert Key
88
92
---
89
93
90
-
Flashduty builds the Alert Key from the `monitorType`, `cluster`, `namespace`, and `resourceName` fields. For one kind of issue on one resource, the `open` and `close` messages carry the same four values, so they merge into one alert and the `close` message recovers it.
94
+
Flashduty builds the Alert Key from the `monitorType`, `cluster`, `namespace`, and `resourceName` fields. For one kind of issue on one resource, the `open` and `closed` messages carry the same four values, so they merge into one alert and the `closed` message recovers it.
91
95
92
96
- Different resources, namespaces, or clusters, or different monitor types on the same resource (for example Availability and Job), produce different alerts.
93
97
- Changes to the issue details (`issueDetails`), the issue link (`issueURL`), and the time fields do not change the Alert Key.
@@ -101,7 +105,7 @@ Komodor webhook notifications carry no severity field, so Flashduty uses Critica
101
105
| Komodor `status`| Flashduty status | Flashduty severity |
102
106
| :--- | :--- | :--- |
103
107
|`open`| Triggered | Critical |
104
-
|`close`| Recovered | Critical |
108
+
|`closed`| Recovered | Critical |
105
109
106
110
If `status` has any other value, or `monitorType`, `cluster`, or `resourceName` is missing, Flashduty returns an error and Komodor records a failed delivery.
107
111
@@ -115,8 +119,8 @@ If `status` has any other value, or `monitorType`, `cluster`, or `resourceName`
115
119
|`service`| Komodor service identifier `serviceName`|
116
120
|`resource`| Resource name `resourceName`|
117
121
|`check`| Monitor type, for example `availability`, `node`, `pvc`, or `job`|
118
-
|`status`|`open` or `close`|
119
-
|`issue_details`| Issue details, for example `[Terminating ContainersNotReady]`|
122
+
|`status`|`open` or `closed`|
123
+
|`issue_details`| Issue details, for example `NonZeroExitCode - Exit code: 1`; several details are joined with `; `|
120
124
|`issue_url`| Link to the issue in Komodor |
121
125
122
126
The alert title is `<monitor type> issue on <resource name> (<cluster>/<namespace>)`, and the description contains the issue details and the Komodor link.
@@ -133,15 +137,15 @@ No. Notification sinks deliver agent run and investigation events (such as `run.
133
137
134
138
<Accordiontitle="What if an alert does not recover?">
135
139
136
-
- Check that the monitor rule still selects the Flashduty webhook channel. After a rule is changed or deleted, Komodor no longer sends its `close` message.
140
+
- Check that the monitor rule still selects the Flashduty webhook channel. After a rule is changed or deleted, Komodor no longer sends its `closed` message.
137
141
- On the alert details page, compare the `check`, `cluster`, `namespace`, and `resource` labels. The recovery message must carry the same four values to recover the alert.
138
-
- Changing the scope of an Availability monitor can remove existing issues, and Komodor may then send no `close` message. Close the alert in Flashduty by hand.
142
+
- Changing the scope of an Availability monitor can remove existing issues, and Komodor may then send no `closed` message. Close the alert in Flashduty by hand.
139
143
140
144
</Accordion>
141
145
142
146
<Accordiontitle="Why does one workload have several alerts?">
143
147
144
-
Different monitor types produce different alerts. For example, when a CronJob triggers both the Availability and the CronJob monitors, Flashduty creates two alerts, and each recovers with its own `close` message.
148
+
Different monitor types produce different alerts. For example, when a CronJob triggers both the Availability and the CronJob monitors, Flashduty creates two alerts, and each recovers with its own `closed` message.
Copy file name to clipboardExpand all lines: en/on-call/integration/alert-integration/alert-sources/opennms.mdx
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,13 @@ Notes:
68
68
69
69
- Every `${name}` in the body needs an `<argument>` with the matching name; a missing one is replaced with an empty string. `notice_id` is the field Flashduty uses to identify the alert, so do not remove it
70
70
- If the push URL contains `&` (for example, because you appended other query parameters), write it as `&` in the XML
71
-
- Changes to this file take effect immediately, without restarting OpenNMS
71
+
72
+
After saving, reload Notifd; until then the `flashduty` command does not appear in the destination path wizard in the next step. On the OpenNMS server, run `$OPENNMS_HOME/bin/send-event.pl -p 'daemonName Notifd' uei.opennms.org/internal/reloadDaemonConfig`. The official container image has no Perl, so send the same event through the REST API instead (replace `<OpenNMS>` with the OpenNMS address and enter the admin password when prompted):
73
+
74
+
```bash
75
+
curl -u admin -X POST -H 'Content-Type: application/json' http://<OpenNMS>:8980/opennms/rest/events \
@@ -81,7 +87,7 @@ OpenNMS runs the notification command once for each target user in a destination
81
87
3. Name it `Flashduty`, click **Edit**, select only `flashduty` under **Send to Selected Users**, and click **Next Step**
82
88
4. Select the `flashduty` command, set **Auto Notify** to **On**, click **Next Step**, and then click **Finish**
83
89
84
-
**Auto Notify** must be **On**. With the default value, OpenNMS does not send the resolution notice for a notice that someone has already acknowledged by hand in OpenNMS, and the Flashduty alert does not close.
90
+
**Auto Notify** must be **On**, which the wizard preselects. With **Off** or **Auto**, OpenNMS does not send the resolution notice for a notice that someone has already acknowledged by hand in OpenNMS, and the Flashduty alert does not close.
When the event's alarm is cleared by its clearing event, OpenNMS acknowledges the notice and sends the resolution notice. After the change, run `$OPENNMS_HOME/bin/send-event.pl -p 'daemonName Notifd' uei.opennms.org/internal/reloadDaemonConfig` to reload. For notices that still get no resolution notice, turn on the [auto-resolve timeout](/en/on-call/channel/create-edit) in the channel that receives this integration's alerts, set **Window timing start** to **Incident trigger**, and set the timeout to 24 hours.
183
+
When the event's alarm is cleared by its clearing event, OpenNMS acknowledges the notice and sends the resolution notice. After the change, reload Notifd as in the first step. For notices that still get no resolution notice, turn on the [auto-resolve timeout](/en/on-call/channel/create-edit) in the channel that receives this integration's alerts, set **Window timing start** to **Incident trigger**, and set the timeout to 24 hours.
169
184
170
185
## Severity
171
186
---
@@ -183,14 +198,14 @@ Severity comes from `severity` in the request, which is the OpenNMS event severi
183
198
|`Cleared`| Info |
184
199
| Empty or any other value | Critical |
185
200
186
-
A resolution notice carries the severity of the original outage event, so the recovery event keeps the severity the alert was triggered with.
201
+
In a resolution notice, `severity` is the numeric severity id OpenNMS stores (for example `5` for `Minor` and `6` for `Major`). Flashduty converts ids 1–7 back to severity names, so the recovery event keeps the severity the alert was triggered with.
187
202
188
203
## Alert content
189
204
---
190
205
191
206
-**Title**: the notice subject `subject` without the `RESOLVED: ` prefix; `OpenNMS notice #<notice ID>` when the subject is empty
192
207
-**Description**: the notice text `message` without the `RESOLVED: ` prefix
193
-
-**Labels**: `notice_id`, `event_id`, `event_uei`, `node_id`, `interface`, `service`, `severity`. Labels with empty values are not added
208
+
-**Labels**: `notice_id`, `event_id`, `event_uei`, `node_id`, `interface`, `service`, `severity` (the severity name; the numeric id in a resolution notice is converted to its name). Labels with empty values are not added
6. Under **Monitors**, select the monitors that should alert, then save
43
+
6. Under **Monitors**, select the monitors that should alert, then click **Submit**. You can also attach the notifier later from a monitor's **Settings → Notifications**
44
44
45
45
</Step>
46
46
47
47
<Steptitle="Send a test">
48
48
49
-
In the same form, click **Send Test**. The test message uses a fixed sample monitor (`monitor.id``1`, name `test`, URL `http://openstat.us`). Flashduty returns success and creates no alert. When OpenStatus shows **Test sent**, the push URL works.
49
+
In the same form, click **Send Test**. The test message uses a fixed sample monitor (`monitor.id``1`, name `test`, URL `http://openstat.us`). Flashduty returns success and creates no alert.
50
50
51
51
</Step>
52
52
53
53
<Steptitle="Verify the alert lifecycle">
54
54
55
-
1. Create a monitor with the URL `https://openstat.us/500` (always returns 500) and attach the notification channel from the first step
55
+
1. Create a monitor with the URL `https://openstat.us/500` (always returns 500) and attach the notification channel from the first step. OpenStatus checks the URL before saving and asks **Still save?** because it returns 500; click **Save**
56
56
2. After at least half of the monitor's regions report an error, confirm that Flashduty receives a Critical alert
57
57
3. Point the monitor back at a healthy URL, wait for the regions to recover, and confirm that the alert recovers
Copy file name to clipboardExpand all lines: en/on-call/integration/alert-integration/alert-sources/pandora-fms.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,9 @@ Go to **Management → Alerts → Templates**, open the template you use, and in
85
85
86
86
<Steptitle="Add the action to module alerts">
87
87
88
-
1. Go to **Management → Alerts → Module Alerts** and create a module alert, or open an existing one
89
-
2. Select the **Agent**, **Module**, and **Template**, and add`Flashduty` under **Actions**
90
-
3.Save
88
+
1. Go to **Management → Alerts → List of Alerts** and click **Create** to create a module alert, or find an existing one in the list
89
+
2. Select the **Agent**, **Module**, and **Template**, and select`Flashduty` under **Actions**
90
+
3.Click **Add alert**
91
91
92
92
You can also add an alert for a module from the agent's **Alerts** tab and select the `Flashduty` action. For an existing module alert, just add the `Flashduty` action; existing actions such as email are not affected.
0 commit comments