Loading graphs outside Cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
bigandy
Posts: 2
Joined: Tue Jan 13, 2009 6:41 am

Loading graphs outside Cacti

Post by bigandy »

I've just set up a Cacti server on Ubuntu on http://cacti.ourcompany.tv/.

Of course it appears by default (I used apt-get) at /cacti on said server.

Because it's only accessible within the organisation or via VPN, I'd like to make it possible to have a flat webpage (such as /view) displaying some graphs of my choosing open to all without a login to Cacti first.

Is this possible at all? Of course, the page works and displays embedded images (links copied from the normal graph view), when you're also logged in to Cacti...

All I need is to be able to (preferably) display the image generated, or have some idea of the coding required.

Ta muchly!
soloslinger
Posts: 32
Joined: Fri Jan 19, 2007 2:11 pm

Post by soloslinger »

This may be more work then you are looking for, but the first suggestion that came to mind would be to render and display the graphs outside of cacti.

The graphs can be rendered via command line; no gui needed and you'll have a raw image file. So if you could build a simple website on the server that renders and displays a couple graphs you want, you can bypass all the cacti stuff.



soloslinger
plugin: 2.1
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Is there a reason why the graph export functionality in Cacti won't do what you're after?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests