Chef infra 我可以使用curl查询jmx端口以检查jmx是否正常工作吗?
是否可以使用curl从jmx端口查询一些/任何数据?我正在编写inspec(chef)测试,以检查jmx是否工作正常Chef infra 我可以使用curl查询jmx端口以检查jmx是否正常工作吗?,chef-infra,jmx,inspec,Chef Infra,Jmx,Inspec,是否可以使用curl从jmx端口查询一些/任何数据?我正在编写inspec(chef)测试,以检查jmx是否工作正常 # curl https://localhost:9114 curl: (35) Encountered end of file # curl -s -w "%{http_code}\n" https://localhost:9114 -o /dev/null 000 简单地执行curl不会返回任何有用的结果 感谢阅读。据我所知,您想检查jmx是否正常工作;这和厨师一点关系都
# curl https://localhost:9114
curl: (35) Encountered end of file
# curl -s -w "%{http_code}\n" https://localhost:9114 -o /dev/null
000
简单地执行curl不会返回任何有用的结果
感谢阅读。据我所知,您想检查jmx是否正常工作;这和厨师一点关系都没有。在撰写本文时,inspec没有测试jmx的工具 考虑以下测试jmx的方法:
我的docker容器中没有jmxterm,但是curl是可用的。