Skip to content
Snippets Groups Projects
Commit 8b538cf9 authored by jwarnier's avatar jwarnier
Browse files

ignore more unsignificant filesystems

parent 9402f7d5
No related branches found
No related tags found
No related merge requests found
...@@ -469,7 +469,7 @@ class monitor_core_module { ...@@ -469,7 +469,7 @@ class monitor_core_module {
$usePercent = floatval($data[$i]['percent']); $usePercent = floatval($data[$i]['percent']);
//* We dont want to check the cdrom drive as a cd / dvd is always 100% full //* 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 > 75) $state = $this->_setState($state, 'info');
if ($usePercent > 80) $state = $this->_setState($state, 'warning'); if ($usePercent > 80) $state = $this->_setState($state, 'warning');
if ($usePercent > 90) $state = $this->_setState($state, 'critical'); if ($usePercent > 90) $state = $this->_setState($state, 'critical');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment