Use new uptime check
This commit is contained in:
parent
49c3a69282
commit
8e2ba68b80
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,8 @@ class sunetdrive::nrpe(
|
||||||
$loadc = '30,25,20',
|
$loadc = '30,25,20',
|
||||||
$procsw = 150,
|
$procsw = 150,
|
||||||
$procsc = 200,
|
$procsc = 200,
|
||||||
|
$uptimew = 30,
|
||||||
|
$uptimec = 50,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
require apt
|
require apt
|
||||||
|
@ -76,4 +78,8 @@ class sunetdrive::nrpe(
|
||||||
sunet::nagios::nrpe_command {'check_mysql_server_status':
|
sunet::nagios::nrpe_command {'check_mysql_server_status':
|
||||||
command_line => '/usr/bin/sudo /usr/lib/nagios/plugins/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