Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

DaB.

Reviews(1)
byDaB., February 5, 2013
--- 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"