Commit 7aecb1fc authored by Till Brehm's avatar Till Brehm

Fixed #5069 Ignore Ubuntu Livepatch /snap disk full alerts.

parent beefb85b
...@@ -74,7 +74,7 @@ class cronjob_monitor_disk_usage extends cronjob { ...@@ -74,7 +74,7 @@ class cronjob_monitor_disk_usage extends cronjob {
$app->uses('getconf'); $app->uses('getconf');
$web_config = $app->getconf->get_server_config($conf['server_id'], 'web'); $web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
$dfData = shell_exec('df -PhT -x simfs | awk \'!x[$1]++\' 2>/dev/null'); $dfData = shell_exec('df -PhT -x simfs -x squashfs | awk \'!x[$1]++\' 2>/dev/null');
// split into array // split into array
$df = explode("\n", $dfData); $df = explode("\n", $dfData);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment