浏览代码

Add monitoring for cron job

Change-Id: I710b65decf6697d0bb5d21fc3fc2d332b78119c5
Closes-bug: PROD-21073
pull/160/merge
Michal Kobus 6 年前
父节点
当前提交
697ce4bf04
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. +9
    -0
      linux/meta/prometheus.yml

+ 9
- 0
linux/meta/prometheus.yml 查看文件

@@ -188,6 +188,15 @@ server:
annotations:
summary: "Cron process is down"
description: "The cron process on the {{ $labels.host }} node is down."
CronJobFailure:
if: >-
min(cron_job_status) by (name, host) == 0
labels:
severity: major
service: system
annotations:
summary: "Cron job failure"
description: "The {{ $labels.name }} cron job on the {{ $labels.host }} node failed."
SshdProcessDown:
if: >-
procstat_running{process_name="sshd"} == 0

正在加载...
取消
保存