Skip to content

Commit dbc5b2b

Browse files
committed
Exclude cramfs shares from disk monitoring.
1 parent 3870860 commit dbc5b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/mods-available/monitor_core_module.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function monitorDiskUsage() {
221221
$usePercent = floatval($data[$i]['percent']);
222222

223223
//* We dont want to check the cdrom drive as a cd / dvd is always 100% full
224-
if($data[$i]['type'] != 'iso9660') {
224+
if($data[$i]['type'] != 'iso9660' && $data[$i]['type'] != 'cramfs') {
225225
if ($usePercent > 75) $state = $this->_setState($state, 'info');
226226
if ($usePercent > 80) $state = $this->_setState($state, 'warning');
227227
if ($usePercent > 90) $state = $this->_setState($state, 'critical');

0 commit comments

Comments
 (0)