Use new uptime check
This commit is contained in:
parent
d9b4ff9f34
commit
af323bdfd9
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue