Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
X4V1 opened this issue Mar 13, 2024 · 0 comments
Open

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

X4V1 opened this issue Mar 13, 2024 · 0 comments

Comments

@X4V1
Copy link

X4V1 commented Mar 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant