小编sat*_*tya的帖子

错误 - “INVALID”不是有效的启动令牌

我可以看到目标状态为关闭,并且错误“INVALID”不是普罗米修斯控制台中的有效启动令牌。

我按照以下步骤操作:

  1. 在 linux1 机器上安装 Prometheus。
  2. 在 linux2 机器上安装 weblogic。
  3. 在weblogic服务器上部署jar文件
  4. 验证仪表
  5. 在 prometheus.yml 中添加 weblogic 服务器条目
  6. 重新启动普罗米修斯服务。

以下是详细信息——

普罗米修斯日志:

level=warn ts=2019-09-06T11:42:42.187Z caller=scrape.go:937 组件=“抓取管理器” scrape_pool=weblogic1 target=http://************。*.****.* :7001/wls-exporter msg="追加失败" err="\"INVALID\" 不是有效的启动令牌"

curl output1 :-
-bash-4.2$ curl http://**********.***.****.***:7001/wls-exporter | promtool check metrics
-bash: promtool: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1783  100  1783    0     0   323k      0 --:--:-- --:--:-- --:--:--  348k
(23) Failed writing body …
Run Code Online (Sandbox Code Playgroud)

weblogic prometheus

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

prometheus ×1

weblogic ×1