tbrehm
2009-10-28 66c3bc24f069a2854bdf1eeebb6dcb51f6ef0afb
server/mods-available/monitor_core_module.inc.php
@@ -221,7 +221,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') {
            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');
@@ -698,10 +698,11 @@
    function monitorRkHunter(){
        /*
         *  This monitoring is expensive, so do it only once a hour
         *  This monitoring is expensive, so do it only once a day
         */
        $min = date('i');
        if ($min != 0) return;
        $hour = date('H');
        if (!($min == 0 && $hour == 23)) return;
        global $app;
        global $conf;