Open bingooyong opened 3 years ago
原由:服务器时间快了N个小时,导致写入influxdb的数据查不出来。。。。按说应该是influxdb的bug,不明白这个查询语句跟时间有啥关系,留待以后查证!!!
select mean(v1) as v1 from "metrics"."autogen"."HB_vsmServer" where "key" = 'vsmServer.hb' group by "hostname",time(1m) fill(0)
yum install ntp ntpdate -y
systemctl enable ntpd.service
systemctl start ntpd
验证服务
ntpq -p
linux服务器规范