};
monitoring-1 = {
processWarn = "50"; processAlert = "60";
- loadWarn = "1.0"; loadAlert = "2.0";
+ loadWarn = "4.0"; loadAlert = "6.0";
+ load15Warn = "1.0"; load15Alert = "2.0";
interface = "ens3";
};
};
, processWarn ? "250"
, processAlert ? "400"
, loadWarn ? "8.0"
+, load5Warn ? loadWarn
+, load15Warn ? load5Warn
, loadAlert ? "10.0"
+, load5Alert ? loadAlert
+, load15Alert ? load5Alert
, mdadm
, sudo
, master
use = "local-service";
check_command = [
"check_local_load"
- "${loadWarn},${loadWarn},${loadWarn}"
- "${loadAlert},${loadAlert},${loadAlert}"
+ "${loadWarn},${load5Warn},${load15Warn}"
+ "${loadAlert},${load5Alert},${load15Alert}"
];
}
{