Use new uptime check

This commit is contained in:
Micke Nordin 2024-12-11 09:28:08 +01:00
parent d9b4ff9f34
commit af323bdfd9

View file

@ -5,6 +5,8 @@ class sunetdrive::nrpe(
$loadc = '30,25,20',
$procsw = 150,
$procsc = 200,
$uptimew = 30,
$uptimec = 50,
) {
require apt
@ -76,4 +78,8 @@ class sunetdrive::nrpe(
sunet::nagios::nrpe_command {'check_mysql_server_status':
command_line => '/usr/bin/sudo /usr/lib/nagios/plugins/check_mysql_server_status'
}
sunet::nagios::nrpe_check_uptime { 'check_uptime':
uptimew => $uptimew,
uptimec => $uptimec,
}
}