Optional Collector: should work also when application not reachable
If you use the collector to monitor a couple of clusters of application servers, there are problems when some or all application servers of a cluster is not reachable. The collector just displays " Data unavailable for the application xxx". It would be very useful, though, if it was possible to view the historical data, anyway.
E.g. if there was a crash, javamelody is sometimes very useful tool to find out what happened. But as it is, you can't view its data until the crashed monitored server is running again.
Another usecase is that you could make a backup of the data directory and start a collector server later on another machine to view this historical data. This doesn't work now, since the collector wants to connect to the monitored servers (which would actually be harmful in this usecase).
Another usecase is that you could make a backup of the data directory and start a collector server later on another machine to view this historical data.
It is possible for graphs and statistics using the javamelody offline viewer. See https://github.com/javamelody/javamelody/wiki/UserGuideAdvanced#offline-viewer