Skip to content
Snippets Groups Projects
Commit c982ab57 authored by jurgenhaas's avatar jurgenhaas
Browse files

Soften alerts about mysql replication

parent 57ca18ee
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment