"check_local_swap":
command_line => '$USER1$/check_swap -n ok -w $ARG1$ -c $ARG2$';
"check_ntp":
- command_line => '$USER1$/check_ntp_time -H 0.arch.pool.ntp.org';
+ command_line => '$USER1$/check_ntp_time -t 30 -q -H 0.arch.pool.ntp.org';
"check_md_raid":
command_line => '$USER2$/check_md_raid',
require => File["$plugins/check_md_raid"];
})
$service_local_for_master = {
- host_name => $service_local["host_name"],
- check_interval => $service_local["check_interval"],
- retry_interval => $service_local["retry_interval"],
- check_freshness => Integer(Integer($service_local["check_interval"]) * 1.5),
- use => $service_types["passive"],
+ host_name => $service_local["host_name"],
+ check_interval => $service_local["check_interval"],
+ retry_interval => $service_local["retry_interval"],
+ freshness_threshold => Integer(60 * Integer($service_local["check_interval"]) * 1.5),
+ use => $service_types["passive"],
}
}
check_command => "check_command_output!fail2ban-client ping!pong!-r root",
};
"NTP is activated and working":
- local => {
- check_command => "check_ntp",
+ master => {
+ check_interval => "60",
+ freshness_threshold => Integer(60*60*1.5),
+ },
+ local => {
+ check_command => "check_ntp",
+ check_interval => "60"
};
"No mdadm array is degraded":
common => {