The xen checks the availibility of a Xen domain and the state of its. You define a name and an allowed state for your Xen host.
XEN is the enclosing tag for all DOMAIN entries.
0 or 1. If you don't define XEN, no xen check will run.
<XEN>
<DOMAIN>
<NAME>demo1</NAME>
<ALLOWED_STATE>r----</ALLOWED_STATE>
<ERRORLEVEL>ERROR</ERRORLEVEL>
</DOMAIN>
<DOMAIN>
<NAME>xenwin01</NAME>
<ALLOWED_STATE>r----</ALLOWED_STATE>
<ERRORLEVEL>ERROR</ERRORLEVEL>
</DOMAIN>
</XEN>
define a domain pair for each domain you want to check
The common XML tags as described in Section 9.8, “Tags Common to All Checks and/or Checkpoints”
As many as you like.
Look at XEN
Use the COMMAND-tag to do another system call to get the xm list output. Maybe a sudo command will be used
string
0 or 1
If you specify no COMMAND, the default will be used.
<XEN>
<COMMAND>sudo -u root xm list</COMMAND>
<DOMAIN>
<NAME>demo1</NAME>
<ALLOWED_STATE>r----</ALLOWED_STATE>
<ERRORLEVEL>ERROR</ERRORLEVEL>
</DOMAIN>
<DOMAIN>
<NAME>xenwin01</NAME>
<ALLOWED_STATE>r----</ALLOWED_STATE>
<ERRORLEVEL>ERROR</ERRORLEVEL>
</DOMAIN>
</XEN>