81 lines
3 KiB
JSON
81 lines
3 KiB
JSON
|
{
|
||
|
"receiver": "test-receiver",
|
||
|
"status": "firing",
|
||
|
"alerts": [
|
||
|
{
|
||
|
"status": "resolved",
|
||
|
"labels": {
|
||
|
"alertname": "systemd_unit_failed",
|
||
|
"instance": "example.com",
|
||
|
"job": "node_exporter",
|
||
|
"name": "example.service",
|
||
|
"severity": "critical",
|
||
|
"state": "failed",
|
||
|
"type": "oneshot"
|
||
|
},
|
||
|
"annotations": {
|
||
|
"description": "Instance example.com: Service example.service failed",
|
||
|
"summary": "Systemd unit failed"
|
||
|
},
|
||
|
"startsAt": "2022-10-09T08:31:47.929Z",
|
||
|
"endsAt": "0001-01-01T00:00:00Z",
|
||
|
"generatorURL": "http://example.com:9090/graph?g0.expr=node_systemd_unit_state%7Bstate%3D%22failed%22%7D+%3E+0\u0026g0.tab=1",
|
||
|
"fingerprint": "6f1c1a905a91802b"
|
||
|
},
|
||
|
{
|
||
|
"status": "firing",
|
||
|
"labels": {
|
||
|
"alertname": "systemd_unit_failed",
|
||
|
"instance": "example.com",
|
||
|
"job": "node_exporter",
|
||
|
"name": "bar.service",
|
||
|
"severity": "critical",
|
||
|
"state": "failed",
|
||
|
"type": "oneshot"
|
||
|
},
|
||
|
"annotations": {
|
||
|
"description": "Instance example.com: Service bar.service failed",
|
||
|
"summary": "Systemd unit failed"
|
||
|
},
|
||
|
"startsAt": "2022-10-06T12:48:47.929Z",
|
||
|
"endsAt": "0001-01-01T00:00:00Z",
|
||
|
"generatorURL": "http://example.com:9090/graph?g0.expr=node_systemd_unit_state%7Bstate%3D%22failed%22%7D+%3E+0\u0026g0.tab=1",
|
||
|
"fingerprint": "0b17134bedc094da"
|
||
|
},
|
||
|
{
|
||
|
"status": "firing",
|
||
|
"labels": {
|
||
|
"alertname": "systemd_unit_failed",
|
||
|
"instance": "example.com",
|
||
|
"job": "node_exporter",
|
||
|
"name": "foo.service",
|
||
|
"severity": "critical",
|
||
|
"state": "failed",
|
||
|
"type": "oneshot"
|
||
|
},
|
||
|
"annotations": {
|
||
|
"description": "Instance example.com: Service foo.service failed",
|
||
|
"summary": "Systemd unit failed"
|
||
|
},
|
||
|
"startsAt": "2022-10-09T00:03:47.929Z",
|
||
|
"endsAt": "0001-01-01T00:00:00Z",
|
||
|
"generatorURL": "http://example.com:9090/graph?g0.expr=node_systemd_unit_state%7Bstate%3D%22failed%22%7D+%3E+0\u0026g0.tab=1",
|
||
|
"fingerprint": "aaaabf78228dbbc6"
|
||
|
}
|
||
|
],
|
||
|
"groupLabels": { "instance": "example.com", "severity": "critical" },
|
||
|
"commonLabels": {
|
||
|
"alertname": "systemd_unit_failed",
|
||
|
"instance": "example.com",
|
||
|
"job": "node_exporter",
|
||
|
"severity": "critical",
|
||
|
"state": "failed",
|
||
|
"type": "oneshot"
|
||
|
},
|
||
|
"commonAnnotations": { "summary": "Systemd unit failed" },
|
||
|
"externalURL": "http://example.com:9093",
|
||
|
"version": "4",
|
||
|
"groupKey": "{}:{instance=\"example.com\", severity=\"critical\"}",
|
||
|
"truncatedAlerts": 0
|
||
|
}
|