mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-12-21 16:43:53 +01:00
Use $HPACUCLI
This commit is contained in:
parent
ee05a4f24a
commit
1ccc433779
@ -133,7 +133,7 @@ case "$1" in
|
||||
exit 0
|
||||
;;
|
||||
--all)
|
||||
controllers=`sudo -u root hpacucli controller all show | sed 's/.*Slot \([0-9]*\).*/\1/'`
|
||||
controllers=`sudo -u root $HPACUCLI controller all show | sed 's/.*Slot \([0-9]*\).*/\1/'`
|
||||
for i in $controllers ; do sudo -u root $HPACUCLI controller slot=$i pd all show status;done > $TEMPFILE
|
||||
check_raid
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user