From 2555dccae77ebe4ac132c13feca610be1dd26857 Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Mon, 24 May 2021 14:42:49 +0300 Subject: health: add python.d/go.d jobs last_collected_secs alarms (#11168) --- health/health.d/gearman.conf | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'health/health.d/gearman.conf') diff --git a/health/health.d/gearman.conf b/health/health.d/gearman.conf index e2031bf2b9..289e5fbb58 100644 --- a/health/health.d/gearman.conf +++ b/health/health.d/gearman.conf @@ -1,17 +1,3 @@ -# make sure Gearman is running - template: gearman_last_collected_secs - on: gearman.total_jobs - class: Computing -component: Gearman - type: Latency - calc: $now - $last_collected_t - units: seconds ago - every: 10s - warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every)) - crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every)) - delay: down 5m multiplier 1.5 max 1h - info: number of seconds since the last successful data collection - to: sysadmin template: gearman_workers_queued on: gearman.single_job -- cgit v1.2.3