Commit 0ca379d8 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#727 - Monitor - skip readonly filesystems

parent 1966224a
......@@ -221,7 +221,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') {
if($data[$i]['type'] != 'iso9660' && $data[$i]['type'] != 'cramfs' && $data[$i]['type'] != 'udf') {
if ($usePercent > 75) $state = $this->_setState($state, 'info');
if ($usePercent > 80) $state = $this->_setState($state, 'warning');
if ($usePercent > 90) $state = $this->_setState($state, 'critical');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment