VMware Cloud Community
prakee
Contributor
Contributor

Custom Dashboard XML files Creation


Hello All,

I am using  VCOPS version 5.7, Can some one help me in creating the Iteration XML files for the following Predefined VM metric

CPU usage %

Memory Usage %

Disk Usage (Any Metric related to vm Disk)

Network Packets Rx and Tx (Received & Transmit)

Thanks in Advance

Regards,

Prakee

3 Replies
TBKing
Enthusiast
Enthusiast

My Resource Interaction File XML displays for a VM:

CPU Usage | Usage (%)

Memory | Usage (%)

Disk | Usage Rate (KBps)

Network | Usage (KBps)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<AdapterKinds>

    <AdapterKind adapterKindId="4" adapterKindKey="VMWARE">

        <ResourceKind resourceKindId="15" resourceKindKey="VirtualMachine">

      <Metric attrkeyId="269" attrkey="cpu|usage_average"/>

            <Metric attrkeyId="398" attrkey="mem|usage_average"/>

      <Metric attrkeyId="189" />

      <Metric attrkeyId="194" />

         </ResourceKind>

    </AdapterKind>

</AdapterKinds>

I also set one up to display the same graphs for a selected host:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<AdapterKinds>

<AdapterKind adapterKindKey="VMWARE">

<ResourceKind resourceKindKey="HostSystem">

<Metric attrkey="cpu|usage_average" />

<Metric attrkey="mem|host_usage" />

<Metric attrkey="disk|workload" />

<Metric attrkey="net|workload" />

</ResourceKind>

</AdapterKind>

</AdapterKinds>

Reply
0 Kudos
mark_j
Virtuoso
Virtuoso

If you're sharing these XML, don't include the attrkeyId. This is a unique attribute ID and can differ between vC Ops deployment. The attrkey (string type) will be sufficient in defining the attributes.

If you find this or any other answer useful please mark the answer as correct or helpful.
prakee
Contributor
Contributor

Thanks Mark... I will try it out and let you know...

Reply
0 Kudos