2021-03-22 20:09:06 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs= "http://www.w3.org/2001/XMLSchema" elementFormDefault= "qualified"
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
<xs:element name= "MONITORING_DATA" >
<xs:complexType >
<xs:sequence >
<xs:element name= "MONITORING" minOccurs= "0" maxOccurs= "unbounded" >
<xs:complexType >
2021-07-02 10:50:30 +03:00
<xs:sequence >
<!-- Percentage of 1 CPU consumed (two fully consumed cpu is 2.0) -->
2021-03-22 20:09:06 +03:00
<xs:element name= "CPU" type= "xs:decimal" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Amount of bytes read from disk -->
2021-03-22 20:09:06 +03:00
<xs:element name= "DISKRDBYTES" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Number of IO read operations -->
2021-03-22 20:09:06 +03:00
<xs:element name= "DISKRDIOPS" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Amount of bytes written to disk -->
2021-03-22 20:09:06 +03:00
<xs:element name= "DISKWRBYTES" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Number of IO write operations -->
2021-03-22 20:09:06 +03:00
<xs:element name= "DISKWRIOPS" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Disk size details -->
<xs:element name= "DISK_SIZE" minOccurs= "0" maxOccurs= "unbounded" >
<xs:complexType >
<xs:sequence >
<xs:element name= "ID" type= "xs:integer" />
<xs:element name= "SIZE" type= "xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ID of the VM -->
2021-03-22 20:09:06 +03:00
<xs:element name= "ID" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Consumption in kilobytes -->
2021-03-22 20:09:06 +03:00
<xs:element name= "MEMORY" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Received bytes from the network -->
2021-03-22 20:09:06 +03:00
<xs:element name= "NETRX" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- Sent bytes to the network -->
<xs:element name= "NETTX" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
<!-- Exact time when monitoring info were retieved -->
2021-03-22 20:09:06 +03:00
<xs:element name= "TIMESTAMP" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
<!-- vCetner information -->
2021-03-22 20:09:06 +03:00
<xs:element name= "VCENTER_ESX_HOST" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "VCENTER_GUEST_STATE" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "VCENTER_RP_NAME" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "VCENTER_VMWARETOOLS_RUNNING_STATUS" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "VCENTER_VMWARETOOLS_VERSION" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "VCENTER_VMWARETOOLS_VERSION_STATUS" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "VCENTER_VM_NAME" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
2021-07-02 10:50:30 +03:00
</xs:sequence>
2021-03-22 20:09:06 +03:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>