Ad Widget

Collapse

Collecting data by tags of virtual server groups

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ForumBcm
    Junior Member
    • Sep 2023
    • 2

    #1

    Collecting data by tags of virtual server groups

    Good afternoon. The task is to collect data on the utilization of HDD, CPU, RAM of virtual servers. Servers are divided into groups, common servers such as mail servers, domain controllers are combined by tags.
    Collect usage space virtual HDD
    type Calculated
    Formula ​- sum(last_foreach(/*/vm.avg.space.total?[tag="Role:Exchange"])) - data is come

    But collect usage CPU and Memory virtual servers
    type Calculated
    Formula - sum(last_foreach(/*/system.cpu.util?[tag="Role: DC"])) - data is come

    but with others tags
    type Calculated
    sum(last_foreach(/*/system.cpu.util?[tag="Role:Exchange"])) - get error Cannot evaluate expression: no input data for function at "sum(last_foreach(/*/system.cpu.util?[tag="Role:Exchange"]))"

    With memory same errors. Somewhere data collect, somewhere get errors

    type Calculated
    ​sum(last_foreach(/*/vm.memory.size[total]?[tag="Role:VideoSurveillance"])) - data is come

    sum(last_foreach(/*/vm.memory.size[total]?[tag="Role:SAP"])) - get error Cannot evaluate expression: no input data for function at "sum(last_foreach(/*/vm.memory.size[total]?[tag="Role:SAP"]))"​

Working...