Solved

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

Posted on 2014-04-10
3
592 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
Comment Utility
Exactly what do you mean by 'specific Domain is not running'?
0
 
LVL 27

Accepted Solution

by:
serialband earned 500 total points
Comment Utility
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
Comment Utility
yes i think that will work thanks
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

For Backups Guest OS files and indexing(and application awareness), Veeam needs Admin rights in Guest OS(Windows and Linux). In Windows a Domain Administrator account, and in Linux root access to perform this type of Backups and also Restore.
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now