diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index 360aac6..78f3e99 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -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 diff --git a/global/overlay/etc/puppet/modules/geteduroam/manifests/monitor.pp b/global/overlay/etc/puppet/modules/geteduroam/manifests/monitor.pp new file mode 100644 index 0000000..0da29f4 --- /dev/null +++ b/global/overlay/etc/puppet/modules/geteduroam/manifests/monitor.pp @@ -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', + } + + +}