zabbix 4.4 版本
1.Zabbix Server的最新数据只能获取代理主机"被动模式"的数据和直连主机的数据
2.Zabbix Proxy主机上使用zabbix_get可以成功获取到主机的数据
3.Zabbix Proxy日志无异常
4.Zabbix Server日志报错如下
17567:20230602:093306.964 [Z3005] query failed: [1526] Table has no partition for value 1685669586 [insert into history_uint (itemid,clock,ns,value) values (501072,1685669586,918686412,94928),(288546,1685669586,920618515,108120),(288906,1685669586,920726785,4294963200),(334086,1685669586,921613511,159873251860480),(430806,1685669586,922067758,193948058251776),(106116,1685669586,924076607,60894857),(179766,1685669586,924908475,652),(430446,1685669586,926345656,202417621744640),(114906,1685669586,926533783,2);
]
17658:20230602:093306.966 [Z3005] query failed: [1526] Table has no partition for value 1685669586 [insert into history_uint (itemid,clock,ns,value) values (247566,1685669586,962846198,14781);
]
17574:20230602:093306.966 [Z3005] query failed: [1526] Table has no partition for value 1685669586 [insert into history_uint (itemid,clock,ns,value) values (212546,1685669586,927149157,1),(110166,1685669586,927331681,0),(431226,1685669586,927511550,0),(106926,1685669586,927619444,2),(105816,1685669586,927656250,1),(115026,1685669586,927828728,0),(404706,1685669586,927935343,882176),(105846,1685669586,927944432,8589930496),(431166,1685669586,928359225,89952982786048),(338946,1685669586,928363396,30594781985792),(339066,1685669586,928364658,431169358848),(313326,1685669586,932483783,2),(221226,1685669586,933356627,0),(512046,1685669586,935412954,202417621744640),(105486,1685669586,939588701,1);
]
17563:20230602:093306.968 [Z3005] query failed: [1526] Table has no partition for value 1685669580 [insert into history_uint (itemid,clock,ns,value) values (451154,1685669580,622219941,0),(450542,1685669580,646243838,33549668352),(156651,1685669583,152775182,33661693952),(423612,1685669583,882246433,204288),(423613,1685669583,882311450,356624);
]
17563:20230602:093306.969 [Z3005] query failed: [1526] Table has no partition for value 1685669585 [insert into history_uint (itemid,clock,ns,value) values (423612,1685669585,898634108,120616),(423613,1685669585,898701624,126256);
]
17744:20230602:093307.198 [Z3005] query failed: [1526] Table has no partition for value 1685669527 [insert into history_uint (itemid,clock,ns,value) values (281686,1685669527,119494100,8581136384),(338346,1685669586,983226561,3520016322560);
]
17554:20230602:093307.220 [Z3005] query failed: [1526] Table has no partition for value 1685669587 [insert into history_uint (itemid,clock,ns,value) values (292227,1685669587,214074680,2421296);
跟表分区有关,每个月都会存进一个物理分区,其中有一张分区表,记录整数值的,差了6月的分区,所以就写不进去
这些错误来自于数据库查询失败,具体原因是表中没有指定值的分区。这可能意味着您需要在表中添加一个新分区或者重新评估您的分区策略。