rename graph-png-files

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

Moderators: Developers, Moderators

Post Reply
aw_ils
Posts: 1
Joined: Sun Aug 29, 2010 5:05 am

rename graph-png-files

Post by aw_ils »

Hi,
i'm running cacti on my windows system and everything is working fine so far.
I got some nice graphs created and want to use them on a webserver i'm working with.
i tried to give the png-files a name of my choise, for example for the traffic graph of my router i want to have the file named ROUTER_NAME.png instead of graph_2_5.png
But i haven't found out how to do it.
Can somebody help me?

Thanks for your effort!
kind regards
Alexander
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is not supported.
R.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I'd assume that these numbers correlate to a hostid and graphid ?

You could then write a PHP/Perl script that connects to your DB, fetches the relevant info and renames the PNG files ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests