Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Create mongodb_down.yml #790

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions data/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions data/iatemplates/mongodb_down.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
templates:
- name: pmm_mongodb_down
version: 1
summary: MongoDB down
expr: |-
up{service_type="mongodb"} == 0
for: 5s
severity: critical
annotations:
summary: MongoDB down ({{ $labels.service_name }})
description: |-
MongoDB {{ $labels.service_name }} on {{ $labels.node_name }} is down.