Commit c982ab57 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Soften alerts about mysql replication

parent 57ca18ee
......@@ -38,6 +38,7 @@
with_items:
- fluentd_buffer
- httpcheck
- mysql
- oracle
notify:
- Restart NetData
......
template: mysql_replication_lag
on: mysql.slave_behind
class: Latency
type: Database
component: MySQL
calc: $seconds
units: seconds
every: 10s
warn: $this > (($status >= $WARNING) ? (5) : (80))
crit: $this > (($status == $CRITICAL) ? (80) : (160))
delay: down 15m multiplier 1.5 max 1h
info: Custom difference between the timestamp of the latest transaction processed by the SQL thread and \
the timestamp of the same transaction when it was processed on the master
to: dba
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment