From 8b538cf99771254d751929cac83bf24d3d9dfe0f Mon Sep 17 00:00:00 2001 From: jwarnier <jwarnier@ispconfig3> Date: Sat, 28 Aug 2010 00:07:22 +0000 Subject: [PATCH] ignore more unsignificant filesystems --- 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 8f3376c77b..12f7385a3a 100644 --- a/server/mods-available/monitor_core_module.inc.php +++ b/server/mods-available/monitor_core_module.inc.php @@ -469,7 +469,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' && $data[$i]['type'] != 'cramfs' && $data[$i]['type'] != 'udf') { + if($data[$i]['type'] != 'iso9660' && $data[$i]['type'] != 'cramfs' && $data[$i]['type'] != 'udf' && $data[$i]['type'] != 'tmpfs' && $data[$i]['type'] != 'devtmpfs') { 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