diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index 18e9abc..2bbdd7f 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -11,6 +11,7 @@ pahol-test4.sunet.se: sunet::server: + net::nrpe: test-das-federator.lab.sunet.se: sunet::certbot::acmed: diff --git a/global/overlay/etc/puppet/modules/net/manifests/nrpe.pp b/global/overlay/etc/puppet/modules/net/manifests/nrpe.pp new file mode 100644 index 0000000..31720be --- /dev/null +++ b/global/overlay/etc/puppet/modules/net/manifests/nrpe.pp @@ -0,0 +1,22 @@ +class net::nrpe { + class {'sunet::nagios::nrpe': + checks => [ + 'nrpe_check_apt', + 'nrpe_check_boot', + 'nrpe_check_dynamic_disk', + 'nrpe_check_entropy', + 'nrpe_check_load', + 'nrpe_check_memory', + 'nrpe_check_needrestart', + 'nrpe_check_ntp_time', + 'nrpe_check_reboot', + 'nrpe_check_root', + 'nrpe_check_scriptherder', + 'nrpe_check_total_procs_lax', + 'nrpe_check_uptime', + 'nrpe_check_users', + 'nrpe_check_var', + 'nrpe_check_zombie_procs', + ] + } +}