--- smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/megaraid-parser.pl.disable_megaraid_log 2010-05-03 18:19:42.000000000 +0200 +++ smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/megaraid-parser.pl 2010-05-03 18:23:34.000000000 +0200 @@ -99,7 +99,7 @@ } # Get the number of RAID controllers we have -open (ADPCOUNT, "$megacli -adpCount |") +open (ADPCOUNT, "$megacli -adpCount -NoLog |") || die "error: Could not execute MegaCli -adpCount"; while () { @@ -112,7 +112,7 @@ ADAPTER: for ( my $adp = 0; $adp < $adapters; $adp++ ) { # Get the number of logical drives on this adapter - open (LDGETNUM, "$megacli -LdGetNum -a$adp |") + open (LDGETNUM, "$megacli -LdGetNum -a$adp -NoLog |") || die "error: Could not execute $megacli -LdGetNum -a$adp"; my ($ldnum); @@ -126,8 +126,8 @@ LDISK: for ( my $ld = 0; $ld < $ldnum; $ld++ ) { # Get info on this particular logical drive - open (LDINFO, "$megacli -LdInfo -L$ld -a$adp |") - || die "error: Could not execute $megacli -LdInfo -L$ld -a$adp"; + open (LDINFO, "$megacli -LdInfo -L$ld -a$adp -NoLog |") + || die "error: Could not execute $megacli -LdInfo -L$ld -a$adp -NoLog"; my ($size, $unit, $raidlevel, $ldpdcount, $spandepth, $state); while () { @@ -161,8 +161,8 @@ close LDINFO; # Get info on physical disks for this adapter - open (PDLIST, "$megacli -PdList -a$adp |") - || die "error: Could not execute $megacli -PdList -a$adp"; + open (PDLIST, "$megacli -PdList -a$adp -NoLog |") + || die "error: Could not execute $megacli -PdList -a$adp -NoLog"; my ($slotnumber,$fwstate); PDISKS: while () {