Export graphs to separate directory for each host

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
ahumado
Posts: 4
Joined: Thu Mar 17, 2005 12:57 am
Contact:

Export graphs to separate directory for each host

Post by ahumado »

It would be nice to be able to export via FTP and separate the hosts by directory. That way the owner of each host has a URL for all graphs.
andrew2
Cacti User
Posts: 64
Joined: Mon Jul 26, 2004 2:50 pm
Location: Cincinnati, OH
Contact:

Post by andrew2 »

I'll second that motion. :)

Andrew
ahumado
Posts: 4
Joined: Thu Mar 17, 2005 12:57 am
Contact:

Post by ahumado »

I got this to work by adding a loop in graph_export.php

made an array containing host ids and export directories.

It's not pretty, and you have to add hosts by hand, but if you want it I'll post it.
User avatar
bleearg
Cacti User
Posts: 55
Joined: Wed Apr 27, 2005 9:37 am

Post by bleearg »

I'm not a programmer and would love to see a copy of this script, could you post it as well as where to put it in the export_graphs file?

thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests