From dbc5b2b9a5230510692acd23d7efe774ad821bda Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 24 Apr 2009 13:28:31 +0000 Subject: [PATCH] Exclude cramfs shares from disk monitoring. --- server/mods-available/monitor_core_module.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mods-available/monitor_core_module.inc.php b/server/mods-available/monitor_core_module.inc.php index 0e331d1ebb..e1d0a2bd02 100644 --- a/server/mods-available/monitor_core_module.inc.php +++ b/server/mods-available/monitor_core_module.inc.php @@ -221,7 +221,7 @@ class monitor_core_module { $usePercent = floatval($data[$i]['percent']); //* We dont want to check the cdrom drive as a cd / dvd is always 100% full - if($data[$i]['type'] != 'iso9660') { + if($data[$i]['type'] != 'iso9660' && $data[$i]['type'] != 'cramfs') { if ($usePercent > 75) $state = $this->_setState($state, 'info'); if ($usePercent > 80) $state = $this->_setState($state, 'warning'); if ($usePercent > 90) $state = $this->_setState($state, 'critical'); -- GitLab