当前位置:网站首页>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 !
边栏推荐
- easyui 日期控件清空值
- Measure the height of the building
- How to meet the dual needs of security and confidentiality of medical devices?
- EasyUI date control emptying value
- Implementation of mahout Pearson correlation
- Usage of MySQL subquery keywords (exists)
- I have to use my ID card to open an account. Is the bank card safe? I don't understand it
- [matrix multiplication] [noi 2012] [cogs963] random number generator
- Demon daddy B3 read extensively in a small amount, and completed 20000 vocabulary+
- 私募基金在中國合法嗎?安全嗎?
猜你喜欢
Tensorflow2. How to run under x 1 Code of X
CodeSonar如何帮助无人机查找软件缺陷?
SQL注入报错注入函数图文详解
Tensorflow2.x下如何运行1.x的代码
Ubuntu安装mysql8遇到的问题以及详细安装过程
解决使用uni-app MediaError MediaError ErrorCode -5
C语言多角度帮助你深入理解指针(1. 字符指针2. 数组指针和 指针数组 、数组传参和指针传参3. 函数指针4. 函数指针数组5. 指向函数指针数组的指针6. 回调函数)
Is embedded system really safe? [how does onespin comprehensively solve the IC integrity problem for the development team]
How does codesonar help UAVs find software defects?
Apifox interface integrated management new artifact
随机推荐
Make this crmeb single merchant wechat mall system popular, so easy to use!
DataTable数据转换为实体
Le capital - investissement est - il légal en Chine? C'est sûr?
object-c编程tips-timer「建议收藏」
恶魔奶爸 A0 英文零基础的自我提升路
使用高斯Redis实现二级索引
Problems encountered in installing mysql8 for Ubuntu and the detailed installation process
Unity3d 4.3.4f1执行项目
How to meet the dual needs of security and confidentiality of medical devices?
Differences and connections between MinGW, mingw-w64, tdm-gcc and other tool chains "suggestions collection"
开户还得用身份证银行卡安全吗,我是小白不懂
Onespin | solve the problems of hardware Trojan horse and security trust in IC Design
Demon daddy B3 read extensively in a small amount, and completed 20000 vocabulary+
数值法求解最优控制问题(〇)——定义
Small guide for rapid formation of manipulator (11): standard nomenclature of coordinate system
Write a jump table
95年专注安全这一件事 沃尔沃未来聚焦智能驾驶与电气化领域安全
死锁的产生条件和预防处理[通俗易懂]
Helix QAC 2020.2 new static test tool maximizes the coverage of standard compliance
Demon daddy B2 breaks through grammar and completes orthodox oral practice