Using graphs generated my Munin in a Swing application

151 Views Asked by At

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?

1

There are 1 best solutions below

2
On BEST ANSWER

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.