fix macros names in disco_raid_hp_sudo

tags/zabbix-agent-addons-0.2.20-1 0.1.9
Daniel Berteaud 11 years ago
parent 8b36956856
commit ddcbbc85dd
  1. 2
      zabbix_scripts/disco_raid_hp_sudo

@ -22,7 +22,7 @@ foreach my $line (<HPACUCLI>){
die "Another instance of hpacucli is running\n";
}
elsif ( $line =~ m/(.*) in Slot (\d+)/i ) {
push @{$json->{data}}, {"#MODEL" => $1, "#SLOT" => $2};
push @{$json->{data}}, {"{#MODEL}" => $1, "{#SLOT}" => $2};
}
}
close HPACUCLI;

Loading…
Cancel
Save