projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of ssh://db.debian.org/git/dsa-nagios
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
checks
/
dsa-check-raid-mpt
diff --git
a/dsa-nagios-checks/checks/dsa-check-raid-mpt
b/dsa-nagios-checks/checks/dsa-check-raid-mpt
index
9f9dc52
..
3599c5e
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-raid-mpt
+++ b/
dsa-nagios-checks/checks/dsa-check-raid-mpt
@@
-32,7
+32,7
@@
unless (-e $MPT_STATUS) {
exit $UNKNOWN;
};
-my $command = "$MPT_STATUS -s";
+my $command = "
sudo
$MPT_STATUS -s";
open (MPT, "$command|") or die ("Cannot run $command: $!\n");
my @tw=<MPT>;
close MPT;