Skip to content

system.cpu.load[percpu,*] does not exists anymore in Zabbix 6.4 #19

@X4V1

Description

@X4V1

First, thank you for you work it's really appreciated :)

I just woud like to inform that the readme says

Replace all system.cpu.load[percpu,] items to ct.cpu.load[percpu,].

but system.cpu.load[percpu does not exist in the template anymore.

I checked in zabbix 6.4 in both active and passive template and it's missing.

Example from template "Linux by Zabbix agent active":

grep system.cpu.load ./zbx_export_template.yaml
          key: 'system.cpu.load[all,avg1]'
          key: 'system.cpu.load[all,avg5]'
          key: 'system.cpu.load[all,avg15]'
                    min(/Linux Container/system.cpu.load[all,avg1],5m)/last(/Linux Container/system.cpu.num)>{$LOAD_AVG_PER_CPU.MAX.WARN}
                    and last(/Linux Container/system.cpu.load[all,avg5])>0
                    and last(/Linux Container/system.cpu.load[all,avg15])>0
        min(/Linux Container/system.cpu.load[all,avg1],5m)/last(/Linux Container/system.cpu.num)>{$LOAD_AVG_PER_CPU.MAX.WARN}
        and last(/Linux Container/system.cpu.load[all,avg5])>0
        and last(/Linux Container/system.cpu.load[all,avg15])>0
            key: 'system.cpu.load[all,avg1]'
            key: 'system.cpu.load[all,avg5]'
            key: 'system.cpu.load[all,avg15]'

I think the command is not working anymore

I'm not sure if replacing all system.cpu.load by ct.cpu.load is correct as the ct.cpu.load is dividing by cpu count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions