diff --git a/zabbix_scripts/disco_raid_hp_sudo b/zabbix_scripts/disco_raid_hp_sudo index 9335bc5..4056e9b 100644 --- a/zabbix_scripts/disco_raid_hp_sudo +++ b/zabbix_scripts/disco_raid_hp_sudo @@ -22,7 +22,7 @@ foreach my $line (){ 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;