当前位置:网站首页>Prometheus remote_ write InfluxDB,unable to parse authentication credentials,authorization failed
Prometheus remote_ write InfluxDB,unable to parse authentication credentials,authorization failed
2022-07-07 21:19:00 【leboop-L】
here Prometheus It is started in the following way :
systemctl start prometheus.service
Execute the following command , see Prometheus journal :
journalctl -u prometheus -f
error :unable to parse authentication credentials,authorization failed
see Prometheus The configuration file prometheus.yml, as follows :
remote_write:
- url: "http://bigdata111:8086/api/v1/prom/write?db=combeye&u=combeye&p=#Wtt2&Me"
If you don't study it carefully , Unable to see the problem , It turned out , Because the password contains url Special characters for , For example, here # and &, You need to use code instead of ,# Corresponding code %23,$ Corresponding code %26, It is amended as follows :
remote_write:
- url: "http://bigdata111:8086/api/v1/prom/write?db=combeye&u=combeye&p=%23Wtt2%26Me"
success !
边栏推荐
- 死锁的产生条件和预防处理[通俗易懂]
- Measure the height of the building
- AADL inspector fault tree safety analysis module
- 201215-03-19 - cocos2dx memory management - specific explanation "recommended collection"
- 恶魔奶爸 A1 语音听力初挑战
- 恶魔奶爸 C
- Codeforces Round #275 (Div. 2) C – Diverse Permutation (构造)[通俗易懂]
- Écrivez une liste de sauts
- Validutil, "Rethinking the setting of semi supervised learning on graphs"
- 万字总结数据存储,三大知识点
猜你喜欢
神兵利器——敏感文件发现工具
目标:不排斥 yaml 语法。争取快速上手
Cantata9.0 | new features
H3C s7000/s7500e/10500 series post stack BFD detection configuration method
程序猿赚的那点钱算个P啊!
Klocwork code static analysis tool
Solve the problem of using uni app mediaerror mediaerror errorcode -5
SQL注入报错注入函数图文详解
Details of C language integer and floating-point data storage in memory (including details of original code, inverse code, complement, size end storage, etc.)
恶魔奶爸 B3 少量泛读,完成两万词汇量+
随机推荐
Unity3d 4.3.4f1 execution project
UVA 12230 – crossing rivers (probability) "suggested collection"
Codesonar enhances software reliability through innovative static analysis
Le capital - investissement est - il légal en Chine? C'est sûr?
Do you have to make money in the account to open an account? Is the fund safe?
Demon daddy B2 breaks through grammar and completes orthodox oral practice
The latest version of codesonar has improved functional security and supports Misra, c++ parsing and visualization
UVA 11080 – place the guards
Postgresql数据库character varying和character的区别说明
POJ 3140 contents division "suggestions collection"
Hoj 2245 planktonic triangle cell (Mathematics)
[function recursion] do you know all five classic examples of simple recursion?
死锁的产生条件和预防处理[通俗易懂]
Demon daddy guide post - simple version
Magic weapon - sensitive file discovery tool
What stocks can a new account holder buy? Is the stock trading account safe
Static analysis of software defects codesonar 5.2 release
刚开户的能买什么股票呢?炒股账户安全吗
Focusing on safety in 1995, Volvo will focus on safety in the field of intelligent driving and electrification in the future
[UVALive 6663 Count the Regions] (dfs + 离散化)[通俗易懂]