Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: ngmonitoring配置文件问题

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] v6.1.6
[Reproduction Path]
[Encountered Problem: Problem Phenomenon and Impact]
During monitoring expansion, it was found that PD reported Necessary component NgMonitoring not started in the cluster
.
Manually executing the startup script on the machine resulted in an error:
Failed to initialize config, err: Near line 16 (last key parsed ‘pd.endpoints’): expected a comma or array terminator ‘]’, but got ‘"’ instead.
Checking the configuration file ngmonitoring.toml revealed:
endpoints = [“xx.xx.xx.xx:2379” “xx.xx.xx.xx:2379” “xx.xx.xx.xx:2379”]
It should normally be endpoints = [“xx.xx.xx.xx:2379”,“xx.xx.xx.xx:2379”,“xx.xx.xx.xx:2379”]
After manually correcting it, the startup was successful. Not sure if this is a bug.