NewRelic is an exceptionally useful tool for monitoring java applications, or at least those that deal with web or other transational workloads. I tried hooking it up to MineCraft and it doesn’t report anything. The free version doesn’t let me look at the JVM stats (threads and such) so it appears to be a waste. However, they also provide a general unix server agent that does provide some nifty dashboards. The procedure to install it is:
1 2 3 4
The RPM is EL5-era so doesn’t understand SystemD, so I created a unit file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
and installed it as /etc/systemd/system/newrelic.service, then:
1 2 3
NewRelic generates a pretty picture such as:
However, NewRelic is not the only server/stats monitor in town so I’ll check out some others another time.