Skip to content
Snippets Groups Projects
Commit 1e53d121 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.1' into 'stable-3.1'

disable MegaSAS.log file which is automatically generated with every megacli execution

See merge request ispconfig/ispconfig3!708
parents 2a054259 984b941f
No related branches found
No related tags found
No related merge requests found
......@@ -283,7 +283,7 @@ class cronjob_monitor_raid extends cronjob {
if($retval === 0 || $retval64 === 0) {
$binary=@($retval === 0)?'megacli':'megacli64';
$state = 'ok';
$data['output'] = shell_exec($binary.' -LDInfo -Lall -aAll');
$data['output'] = shell_exec($binary.' -LDInfo -Lall -aAll -NoLog');
if (strpos($data['output'], 'Optimal') !== false) {
$this->_tools->_setState($state, 'ok');
} else if (strpos($data['output'], 'Degraded') !== false) {
......
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