Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9537

cloudstack can only get network data of eth0 in the xenserver host

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.9.0
    • None
    • Hypervisor Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • cloudstack xenserver6.5
    • Important

    Description

      in com.cloud.hypervisor.xenserver.resource.CitrixResourceBase

      the getHostStats function
      .....
      if (type.equalsIgnoreCase("host")) {

      if (param.matches("pif_eth0_rx"))

      { hostStats.setNetworkReadKBs(getDataAverage(dataNode, col, numRows)/1000); }

      else if (param.matches("pif_eth0_tx")) {
      hostStats.setNetworkWriteKBs(getDataAverage(dataNode, col, numRows)/1000);
      .....

      this code is fix to get network data from eth0 from xenserver host

      Attachments

        Activity

          People

            Unassigned Unassigned
            wenwenxiong wenwenxiong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: