用公制和Jolokia在一台Linux服务器上监视多个Tomcat实例

发布于 2025-02-10 13:12:50 字数 372 浏览 2 评论 0原文

如何使用下面的多个代理端口配置以下,并使用MetricBeat和Jolokia在一台Linux服务器上监视多个Tomcat Metric ...是否可以在Tomcat MetricBeat Events下方配置途径。麋鹿?

cat /etc/metricbeat/modules.d/tomcat.yml

- 模块:tomcat
指标集:['螺纹','缓存','内存','请求']
周期:10s
主机:['localhost:8778','localhost:7777']
路径:“/jolokia/?ignoreErrors = true& canonicalnaming = false”

How to configure below using the multiple agent port below, with metricbeat and jolokia to monitor multiple tomcat metric on One Linux Server...Would it be fine to configure the way below tomcat metricbeat events.module, can I get accurate separate tomcat metric in ELK?

cat /etc/metricbeat/modules.d/tomcat.yml

-module: tomcat
metricsets: ['threading', 'cache', 'memory', 'requests']
period: 10s
hosts: ['localhost:8778','localhost:7777']
path: "/jolokia/?ignoreErrors=true&canonicalNaming=false"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文