It would be great if anyone can share a working configuration for the tomcat_ plugin of munin. I need to monitor several tomcat instances on one machine.
So far I can't figure out:
- which are the available metrics for the tomcat_ plugin? (documentation is quite poor – at least what I've managed to find)
- how to configure it correctly?
Best Answer
share my experiences,hope it helps
step1: enable tomcat plugins
step2: config tomcat manager status page where the plugin read info from
edit tomcat-users.xml and add
access http://munin:munin@localhost:8080/manager/status?XML=true to see if it works. check official document for details:Manager App HOW-TO
step3: config tomcat plugins
edit /etc/munin/plugin-conf.d/munin-node and add
step4: local check
run and check messages.
normally you need install simple xml support,
step5: update munin node
sudo /etc/init.d/munin-node restart
check you graphics, it should works.