Hello.
I am using a Zabbix server with a bunch of agents monitoring different servers (running latest version 5.2 for server and agents).
I have run into a problem of one of my servers getting over 100% CPU utilization on 1 core but the rest are at about 15-20%, so my average would should up at about 40% which doesn't inform me when that spike happens.
I am aware that there is a discovery rule "system.cpu.discovery" which would provide the 2 macros {#CPU.NUMBER} and {#CPU.STATUS}.
Whenever I try to use the {#CPU.NUMBER} I am getting an error saying "Cannot evaluate expression: "Cannot evaluate function "<node-name>:system.cpu.util[{#CPU.NUMBER},system,avg1].last()": item is not supported.".
I didn't find the system.cpu.discover item in any of the built-in templates for "Template OS Linux by Zabbix agent active" and "Template Module Linux CPU by Zabbix agent active". I tried adding it myself as a discovery rule but that didn't seem to do it.
I may have misconfigured something in there. I tried adding the discovery rule to both templates and that did not get it working either.
How I added it:
Navigate to the Discovery link of the "Configuration > Templates" tab then fill out as follows.
That still didn't resolve my issue (the node attempting the check uses the "Template OS Linux by Zabbix agent active" template which is linked to the "Template Module Linux CPU by Zabbix agent active" template.
Any clues on how I can get this resolved? This would be of great assistance to me and would be greatly appreciated.
Please let me know if you require any additional information.
Thank you!
I am using a Zabbix server with a bunch of agents monitoring different servers (running latest version 5.2 for server and agents).
I have run into a problem of one of my servers getting over 100% CPU utilization on 1 core but the rest are at about 15-20%, so my average would should up at about 40% which doesn't inform me when that spike happens.
I am aware that there is a discovery rule "system.cpu.discovery" which would provide the 2 macros {#CPU.NUMBER} and {#CPU.STATUS}.
Whenever I try to use the {#CPU.NUMBER} I am getting an error saying "Cannot evaluate expression: "Cannot evaluate function "<node-name>:system.cpu.util[{#CPU.NUMBER},system,avg1].last()": item is not supported.".
I didn't find the system.cpu.discover item in any of the built-in templates for "Template OS Linux by Zabbix agent active" and "Template Module Linux CPU by Zabbix agent active". I tried adding it myself as a discovery rule but that didn't seem to do it.
I may have misconfigured something in there. I tried adding the discovery rule to both templates and that did not get it working either.
How I added it:
Navigate to the Discovery link of the "Configuration > Templates" tab then fill out as follows.
That still didn't resolve my issue (the node attempting the check uses the "Template OS Linux by Zabbix agent active" template which is linked to the "Template Module Linux CPU by Zabbix agent active" template.
Any clues on how I can get this resolved? This would be of great assistance to me and would be greatly appreciated.
Please let me know if you require any additional information.
Thank you!
Comment