Solved

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

Posted on 2014-04-10
3
608 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Expert Comment

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

Accepted Solution

by:
serialband earned 500 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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