summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnagios-check-hpacucli4
1 files changed, 2 insertions, 2 deletions
diff --git a/nagios-check-hpacucli b/nagios-check-hpacucli
index 26a07fe..c04e9ea 100755
--- a/nagios-check-hpacucli
+++ b/nagios-check-hpacucli
@@ -136,9 +136,9 @@ for my $slot (sort @controllers) {
};
};
- my $status = join("; ", (map { $_.": ".join(", ", @{$status{$_}}) } keys %status));
+ my $status = join(" - ", (map { $_.": ".join(", ", @{$status{$_}}) } keys %status));
push @resultstr, "Slot $slot: $status";
};
-print "$EXITCODE: ", join(" - ", @resultstr), "\n";
+print "$EXITCODE: ", join(" --- ", @resultstr), "\n";
exit $CODE{$EXITCODE};