Hi All, We got the docker working with Agent2 and we noticed that the cpu metric information being reported was in milliseconds. So we found a link to a template which provided the metric in percentage. https://support.zabbix.com/browse/ZBXNEXT-6677 . So we replaced the docker template with the one shown on the web page and we started getting percent. The new problem is now, the percent is being reported in a 100th of a percent. As an example the chart shows the percent utilization as .010 %, when in actuality the command line display shows the cpu at 10%. In the information presented in the link above they mention the formula as being: "CPU usage % = (cpu_delta / system_cpu_delta) * number_cpus * 100.0 ". However, when I examine the the .xml file of the template it shows the formula of : (last(docker.container_stats.cpu_usage.delta.syste m.rate["{#NAME}"])/last(docker.container_stats.cpu_usage.delta.total. rate["{#NAME}"]))*last(docker.container_stats.online_cpus["{#NAME}"])*100</params>
Should that last number in the xml's formula of *100 be *100.0 or does it make a difference?
ββ
Should that last number in the xml's formula of *100 be *100.0 or does it make a difference?
ββ
Comment