【产品名称】obagent
【产品版本】obagent-1.0.0
【问题描述】obagent部署完成curl取值异常
1.obagent安装完成后,采用单机3个obagent方式部署,查看服务正常:
[admin@ob3 ~]$ obd cluster display obagent Get local repositories and plugins ok Open ssh connection ok Cluster status check ok ±----------------------------------------------+ | obagent | ±----------±------------±-----------±-------+ | ip | server_port | pprof_port | status | ±----------±------------±-----------±-------+ | 127.0.0.1 | 8088 | 8089 | active | | 127.0.0.1 | 9088 | 9089 | active | | 127.0.0.1 | 10088 | 10089 | active | ±----------±------------±-----------±-------+
2.执行curl异常:
[admin@ob3 ~]$ curl --user admin:rundba http://127.0.0.1:8088/metrics/ob/basic 404 page not found[admin@ob3 ~]$ [admin@ob3 ~]$ curl --user admin:rundba http://127.0.0.1:8088/metrics/ob/basic | grep ob_cache_size_bytes % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 18 100 18 0 0 18595 0 --:–:-- --:–:-- --:–:-- 18000