From ddcbbc85dda0426c499542b890a94fb364f1add4 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 1 Oct 2013 14:16:33 +0200 Subject: [PATCH] fix macros names in disco_raid_hp_sudo --- zabbix_scripts/disco_raid_hp_sudo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;