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-23 15:09:27 +02:00
|
|
|
hostgroup_name => ['rut::controller_nrpe'],
|
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':
|
2025-04-23 15:09:27 +02:00
|
|
|
hostgroup_name => ['rut::controller_nrpe'],
|
2025-04-22 12:43:04 +02:00
|
|
|
check_command => 'check_nrpe!check_rut_postgres',
|
|
|
|
description => 'Postgres cluster health',
|
|
|
|
}
|
2025-04-23 10:38:29 +02:00
|
|
|
|
|
|
|
nagioscfg::service {'check_rut_snapshots':
|
2025-04-23 15:09:27 +02:00
|
|
|
hostgroup_name => ['sunet::naemon_monitor'],
|
2025-04-23 10:49:09 +02:00
|
|
|
check_command => 'check_nrpe!check_rut_snapshots',
|
2025-04-23 11:00:07 +02:00
|
|
|
description => 'Backup snapshots in sto4',
|
2025-04-23 10:38:29 +02:00
|
|
|
}
|
2025-04-23 15:07:37 +02:00
|
|
|
|
|
|
|
nagioscfg::service {'check_fleetlock_disabled':
|
2025-04-23 15:09:27 +02:00
|
|
|
hostgroup_name => ['sunet::fleetlock_client'],
|
2025-04-23 15:07:37 +02:00
|
|
|
check_command => 'check_nrpe!check_fleetlock_disabled',
|
|
|
|
description => 'Fleetlock',
|
|
|
|
}
|
2025-04-01 15:25:52 +02:00
|
|
|
}
|