Skip to content

Commit 8b538cf

Browse files
author
jwarnier
committed
ignore more unsignificant filesystems
1 parent 9402f7d commit 8b538cf

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
@@ -469,7 +469,7 @@ function monitorDiskUsage() {
469469
$usePercent = floatval($data[$i]['percent']);
470470

471471
//* We dont want to check the cdrom drive as a cd / dvd is always 100% full
472-
if($data[$i]['type'] != 'iso9660' && $data[$i]['type'] != 'cramfs' && $data[$i]['type'] != 'udf') {
472+
if($data[$i]['type'] != 'iso9660' && $data[$i]['type'] != 'cramfs' && $data[$i]['type'] != 'udf' && $data[$i]['type'] != 'tmpfs' && $data[$i]['type'] != 'devtmpfs') {
473473
if ($usePercent > 75) $state = $this->_setState($state, 'info');
474474
if ($usePercent > 80) $state = $this->_setState($state, 'warning');
475475
if ($usePercent > 90) $state = $this->_setState($state, 'critical');

0 commit comments

Comments
 (0)