「Zabbix」- Number of CPUs [no data](未解决)

  CREATE BY JENKINSBOT
原文链接:「Zabbix」- Number of CPUs [no data](未解决)
文章分类:「Monitoring_and_Altering:Zabbix_-_Network_Monitoring_Solution:z.Error_List_(Zabbix):Number_of_CPUs_(no_data)」
文章标识:「b4c06145」

问题描述

在 Zabbix 4.4.3 中,监控项 Number of CPUs [no data] 即没有数据,使用 zabbix_get -k system.cpu.num 可以获取数据。

CentOS Linux release 7.4.1708 (Core)

07/13/2020

今天首次发现这个问题。当我们需要观察 System load 指标时,发现 Number of CPUs 没有数据。

问题原因:我们没有找到原因。我们将 DebugLevel 调整到最高(5),也没有什么错误信息,像是一切正常(也可能是我们忽略某些东西)。

解决办法:我们尝试禁用 Number of CPUs 监控项,居然显示出来了,然后我们又继续启用 Number of CPUs 监控项。

07/15/2020

今天再次遇到这个问题,我们没有找到原因。我们也观察日志,各方面都正常。

我们尝试创建自己 system.cpu.num 指标,发现完全可以正常工作。

Zabbix Server / Debug Level = 5 | Zabbix Agent / Debug Level = 5

Zabbix Agent:

grep -F 'system.cpu.num[online]' zabbix_agentd.log | grep 'JSON befor' | less -S

Zabbix Server:

grep -F 'system.cpu.num[online]' zabbix_server.log | grep 'trapper got' | grep cmdb | less -S

DFWS ORIG

2020-07-15 18:41:04 2020-07-15 18:41:04
2020-07-15 18:42:04
2020-07-15 18:43:04
2020-07-15 18:44:04
2020-07-15 18:45:04
2020-07-15 18:46:04

  6141:20200715:184109.866 query [txnlev:1] [insert into history_uint (itemid,clock,ns,value) values (31809,1594809664,152717168,1),(31811,1594809664,153627571,382168),(31812,1594809664,154
024418,32768),(31821,1594809664,168139393,1),(31822,1594809664,168631715,1593600656),(31827,1594809664,171107707,2),(49454,1594809664,295501292,2),(32845,1594809664,440310229,1),(49016,1594
809664,735230538,1063256064),(33613,1594809665,398438532,1),(33663,1594809665,398862390,8203100160),(33637,1594809665,398867961,1073737728),(33642,1594809665,403647618,0),(36995,1594809665,
403848259,1),(31692,1594809665,447922277,91),(32869,1594809665,451459499,8321495040),(32874,1594809665,454903004,0),(36655,1594809665,454980564,1),(31845,1594809665,582075914,1717035008),(3
1849,1594809665,583532734,1209009),(31850,1594809665,588583533,1),(36407,1594809665,589510788,1),(31869,1594809665,607113101,2629431296),(32588,1594809666,310517580,108),(32589,1594809666,3
15224220,1),(33383,1594809666,364524945,1073737728),(33386,1594809666,369144725,0),(36927,1594809666,369267378,1),(48940,1594809667,243505001,436860),(32613,1594809667,315840388,3208830976)
,(32193,1594809667,339446514,1),(49451,1594809667,339487244,4),(33407,1594809667,372739037,8203100160),(32893,1594809667,468645754,7577018368),(35468,1594809667,490594577,138),(35469,159480
9667,496671498,1),(47466,1594809667,498687346,13922283520),(35493,1594809667,498820622,1009938432),(34301,1594809667,518961956,3017064448),(37503,1594809667,519054823,1),(37504,1594809667,5
19139853,5),(37508,1594809667,519187790,1),(37602,1594809667,521894610,149389312),(35303,1594809667,558874574,0),(32618,1594809668,321291489,0),(36615,1594809668,321415237,1),(31722,1594809
668,454162226,0),(36567,1594809668,454217075,1),(32490,1594809669,129903450,0),(35689,1594809737,836858841,17631812),(35661,1594809739,839198046,1),(35685,1594809739,839311549,6836023296),(
35690,1594809739,840985571,0),(38283,1594809739,841008231,1),(49450,1594810040,676005208,8);
]




Backlinks: 00.INDEX