Using graphs on diffrent website.
-
Hi, i would like to place the graphs made by rrd in pfsense on my internal blog. How would i do this? I would like to keep the style of the graph. If i try point an image to the graphs location it asks for a username and password.
Thanks
-
That'll require some scripting to upload them to your web server. How you would do that depends on your hosting setup, scp or FTP are likely options. It could be run from pfSense itself, or an internal machine using curl or similar.
-
Sorry to bump this topic, but I would also like to get the RDD graphs somewhere else.
Would it be possible to modify the actual code to output the graphics/graphs to two directories instead of the one for the webgui?
In other words if I could somehow get the graphs copied to another directory on the firewall, for example in the etc/bandwitdth/htdocs I can access that directory/webpage without any user credentials.
Maybe a cron job or a script that copies the info directly from the webgui folder/directory to anothre directory instead of changing the actual code? Would that be easy to do?
-
The graphs are only generated when viewing the webpage.
Alternatively you can use curl and download the images directly onto your webserver by linking to the status_rrd_graph_img.php