jwarnier
2010-08-27 8b538cf99771254d751929cac83bf24d3d9dfe0f
ignore more unsignificant filesystems
1 files modified
2 ■■■ changed files
server/mods-available/monitor_core_module.inc.php 2 ●●● patch | view | raw | blame | history
server/mods-available/monitor_core_module.inc.php
@@ -469,7 +469,7 @@
                $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');