summaryrefslogtreecommitdiff
path: root/nagios-check-hpacucli
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-05-07 20:17:43 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2008-05-07 20:17:43 +0000
commit36c25788dc7d1859b1efe716c1647f8a375934f2 (patch)
tree3d6f8588c2fdc3bb7b64f5e9205ced48b309e3cd /nagios-check-hpacucli
parent9373218c11fbfef514554b3becb4d379697a7dcf (diff)
different separators
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@347 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'nagios-check-hpacucli')
-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};