Repo specific monitor configuration

This commit is contained in:
Johan Wassberg 2024-09-27 12:42:19 +02:00
parent ecf3ae6673
commit 6957ca3f24
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B
2 changed files with 12 additions and 0 deletions

View file

@ -23,6 +23,7 @@
- nrpe_check_zombie_procs
internal-dco-prod-monitor-1.geteduroam.sunet.se:
geteduroam::monitor:
sunet::dockerhost2:
sunet::naemon_monitor:
domain: monitor.geteduroam.sunet.se

View file

@ -0,0 +1,11 @@
# geteduroam-specific monitor things
class geteduroam::monitor {
nagioscfg::service {'check_async_replication':
hostgroup_name => ['sunet::mariadb::backup'],
check_command => 'check_nrpe_1arg!check_async_replication',
description => 'MySQL Replication Health',
}
}