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

25 lines
839 B
Puppet

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