Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@DaB.
Favorites0
Views
Projects0
--- check_xen.sh 2013-02-05 16:22:02.000000000 +0000 +++ check_xen.sh.org 2013-02-05 16:19:19.000000000 +0000 @@ -30,12 +30,12 @@ exit 3 fi DATA=`xm list $NAME` -R=`xm list $NAME | tail -1 | cut -c 64` -B=`xm list $NAME | tail -1 | cut -c 65` -P=`xm list $NAME | tail -1 | cut -c 66` -S=`xm list $NAME | tail -1 | cut -c 67` -C=`xm list $NAME | tail -1 | cut -c 68` -D=`xm list $NAME | tail -1 | cut -c 69` +R=`xm list test | tail -1 | cut -c 64` +B=`xm list test | tail -1 | cut -c 65` +P=`xm list test | tail -1 | cut -c 66` +S=`xm list test | tail -1 | cut -c 67` +C=`xm list test | tail -1 | cut -c 68` +D=`xm list test | tail -1 | cut -c 69` if [ $R == "r" ] || [ $B == "b" ]; then echo "OK - Virtual System is Up"
Reviewed 13 years ago