tbrehm
2010-09-10 dbbafff1a1034fdac93fd8aea203cc66758c3c26
server/mods-available/monitor_core_module.inc.php
@@ -181,7 +181,7 @@
         $distbaseid = 'gentoo';
      } else {
         die('unrecognized linux distribution');
         die('unrecognized Linux distribution');
      }
      return array('name' => $distname, 'version' => $distver, 'id' => $distid, 'baseid' => $distbaseid);
@@ -469,7 +469,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' && $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 > 80) $state = $this->_setState($state, 'warning');
               if ($usePercent > 90) $state = $this->_setState($state, 'critical');