I'm able to generate a usage statistics graph in my browser for a particular PC using Munin. The problem is that I want to use the graphs in a Swing application where the graphs will be displayed. Is there any way to do so? What are the other options available to generate the same graphs on Swing? Do I have to manually generate the readings and plot the graph accordingly?
Asked
Active
Viewed 141 times
1 Answers
2
As Munin is written in perl
, it should possible to use ProcessBuilder
to evoke the desired graph. A related example is seen here.
Alternatively, it may be possible to install Munin locally and fetch the image as suggested in this example.
-
Implementation details of the first approach would depend on a thorough understanding of Munin which I do not posses. – trashgod Oct 15 '11 at 19:52
-
@trashgod- Thanks for your time. As you said, I looked into munin and looks like the graphs are generated by displaying a png image in the browser which has to be refreshed continuously. I would like to display a continuous graph. Anyway, I'll also look into the links you've suggested. – P R Oct 15 '11 at 20:47