From b20c4c7397a6c82c7aa6885c12e244428315ab40 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 25 Jun 2024 10:15:27 +0200 Subject: [PATCH] Modify timeout for scriptherder --- manifests/sitemonitornaemon.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/sitemonitornaemon.pp b/manifests/sitemonitornaemon.pp index 0739be6..a1b08c4 100644 --- a/manifests/sitemonitornaemon.pp +++ b/manifests/sitemonitornaemon.pp @@ -47,6 +47,12 @@ class sunetdrive::sitemonitornaemon() { content => template('sunetdrive/monitor/sunetdrive_thruk_templates.conf.erb'), mode => '0644', } + nagioscfg::service {'check_scriptherder': + hostgroup_name => ['nrpe'], + check_command => 'check_nrpe_1arg_to30!check_scriptherder', + description => 'Scriptherder Status', + contact_groups => ['naemon-admins'], + } nagioscfg::service {'check_galera_cluster': hostgroup_name => ['galera_monitor'], check_command => 'check_nrpe_1arg!check_galera_cluster',