fixed typo in hostgroup names

This commit is contained in:
Rasmus Thorslund 2025-04-23 15:09:27 +02:00
parent 08f1960dc8
commit 52c1de8260
No known key found for this signature in database
GPG key ID: 502D33332E9E305D

View file

@ -1,24 +1,24 @@
class rut::rut_mon { class rut::rut_mon {
nagioscfg::service {'check_rut_pods': nagioscfg::service {'check_rut_pods':
hostgroup_name => 'rut::controller_nrpe', hostgroup_name => ['rut::controller_nrpe'],
check_command => 'check_nrpe!check_rut_pods', check_command => 'check_nrpe!check_rut_pods',
description => 'Microk8s cluster health', description => 'Microk8s cluster health',
} }
nagioscfg::service {'check_rut_postgres': nagioscfg::service {'check_rut_postgres':
hostgroup_name => 'rut::controller_nrpe', hostgroup_name => ['rut::controller_nrpe'],
check_command => 'check_nrpe!check_rut_postgres', check_command => 'check_nrpe!check_rut_postgres',
description => 'Postgres cluster health', description => 'Postgres cluster health',
} }
nagioscfg::service {'check_rut_snapshots': nagioscfg::service {'check_rut_snapshots':
hostgroup_name => 'sunet::naemon_monitor', hostgroup_name => ['sunet::naemon_monitor'],
check_command => 'check_nrpe!check_rut_snapshots', check_command => 'check_nrpe!check_rut_snapshots',
description => 'Backup snapshots in sto4', description => 'Backup snapshots in sto4',
} }
nagioscfg::service {'check_fleetlock_disabled': nagioscfg::service {'check_fleetlock_disabled':
hostgroup_name => 'sunet::fleetlock_client', hostgroup_name => ['sunet::fleetlock_client'],
check_command => 'check_nrpe!check_fleetlock_disabled', check_command => 'check_nrpe!check_fleetlock_disabled',
description => 'Fleetlock', description => 'Fleetlock',
} }