rut-prod-ops/global/overlay/etc/puppet/modules/rut/manifests/rut_mon.pp

26 lines
839 B
ObjectPascal
Raw Normal View History

2025-04-07 09:38:56 +02:00
class rut::rut_mon {
nagioscfg::service {'check_rut_pods':
2025-04-23 15:09:27 +02:00
hostgroup_name => ['rut::controller_nrpe'],
check_command => 'check_nrpe!check_rut_pods',
description => 'Microk8s cluster health',
}
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
}
nagioscfg::service {'check_fleetlock_disabled':
2025-04-23 15:09:27 +02:00
hostgroup_name => ['sunet::fleetlock_client'],
check_command => 'check_nrpe!check_fleetlock_disabled',
description => 'Fleetlock',
}
}