2025-04-07 09:38:56 +02:00
|
|
|
class rut::rut_mon {
|
2025-04-01 15:25:52 +02:00
|
|
|
nagioscfg::service {'check_rut_pods':
|
2025-04-07 09:49:54 +02:00
|
|
|
host_name => ['internal-sto4-prod-k8sc-0.rut.sunet.se', 'internal-sto4-prod-k8sc-1.rut.sunet.se', 'internal-sto4-prod-k8sc-2.rut.sunet.se'],
|
2025-04-01 15:25:52 +02:00
|
|
|
check_command => 'check_nrpe!check_rut_pods',
|
|
|
|
description => 'Microk8s cluster health',
|
2025-04-01 15:29:28 +02:00
|
|
|
}
|
2025-04-23 10:38:29 +02:00
|
|
|
|
2025-04-22 12:43:04 +02:00
|
|
|
nagioscfg::service {'check_rut_postgres':
|
|
|
|
host_name => ['internal-sto4-prod-k8sc-0.rut.sunet.se', 'internal-sto4-prod-k8sc-1.rut.sunet.se', 'internal-sto4-prod-k8sc-2.rut.sunet.se'],
|
|
|
|
check_command => 'check_nrpe!check_rut_postgres',
|
|
|
|
description => 'Postgres cluster health',
|
|
|
|
}
|
2025-04-23 10:38:29 +02:00
|
|
|
|
|
|
|
nagioscfg::service {'check_rut_snapshots':
|
|
|
|
host_name => ['internal-sto4-prod-monitor-1.rut.sunet.se'],
|
|
|
|
check_command => 'check_nrpe!check_rut_postgres',
|
|
|
|
description => 'Postgres cluster health',
|
|
|
|
}
|
2025-04-01 15:25:52 +02:00
|
|
|
}
|