Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Running CENTOS 5.9 with XEN KERNEL need a script to check Domain running

Posted on 2014-04-10
3
Medium Priority
?
613 Views
Last Modified: 2014-04-11
I am running CENTOS 5.9 with XEN Kernel. When you launch Virt-Manager you can see that I have  a copy of Windows running. What I need is a script that can run in a cron job to notify me by email if that specific Domain is not running. Thanks for all help.
0
Comment
Question by:georgopanos
3 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39993151
Exactly what do you mean by 'specific Domain is not running'?
0
 
LVL 31

Accepted Solution

by:
serialband earned 2000 total points
ID: 39993197
It's been a while since I've run xen, but you should be able to use xm list to list the servers and grep from the server in question and check the state of the virtual machine.  Is that what you want.?

http://www.cyberciti.biz/tips/linux-xen-server-vps-monitoring-commands.html
http://linux.die.net/man/1/xm
0
 

Author Comment

by:georgopanos
ID: 39993801
yes i think that will work thanks
0

Featured Post

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Suggested Courses
Course of the Month7 days, 2 hours left to enroll

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question