想知道你们如何监控部署在 Fuse 容器上的 osgi 包。理想情况下,寻找能够通过电子邮件通知某些捆绑包已关闭并需要解决的东西。据我所知,HawtIO 我想可以做一份工作,但没有“通知”功能。谢谢
问问题
912 次
1 回答
0
Fuse has a number of entry points that exposes the data you are looking for.
- You can use JMX to connect to the container and ask for the bundles and their status.
- You can use Jolokia whic exposes all the JMX data over http.
- You write some bash script and use Fuse CLI to access bundle information. (for example: ./client list | grep -i failure)
So which of the above methods you are going to use, depends on your monitoring tool. But usually monitoring tools will let you write some bash/python scripts and using these scripts you can access the data you need.
I've used Nagios/OPSView/JON as monitoring/alerting tool, and it works great.
Here is blog post from a colleague of mine demonstrating how to monitor Fuse using Nagios:
http://giallone.blogspot.co.uk/2014/01/monitoring-jboss-fuse-esb-with-nagios.html
Enjoy!
于 2014-08-21T16:20:13.163 回答