tbrehm
2009-04-24 dbc5b2b9a5230510692acd23d7efe774ad821bda
Exclude cramfs shares from disk monitoring.
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
@@ -221,7 +221,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') {
                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');