Export Issues

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

Moderators: Developers, Moderators

Post Reply
xefil
Cacti User
Posts: 233
Joined: Tue Jun 20, 2006 2:48 am
Location: Italy
Contact:

Export Issues

Post by xefil »

Hi to all!

I would like to export my tree view into static pages, but there is something wrong.

First of all my "Graph Export" settings:

Export Method: Local Path
Presentation Method: Tree
Effective Username: admin
Expand Tree Host: ON
Thumb Settings: 100-200-2
Path: /opt/cacti/web
Local Scratch Dir: <none>
Export Timing: Classic
Export every times, Hourly at specific minutes, Daily at specific Time: <none>
FTP Options: <none>


Issues:

1. Executing the cron command manually I obtain this error for many lines: "PHP Notice: Undefined offset: 3 in /opt/cacti/lib/graph_export.php on line 1290"
2. At the end of the export, opening the web page I see the Tree view, BUT:
Only where a Host is specified all graphs ar shown correctly. Where I've created a group and into this group, specified only some graphs, clicking on this group I obtain a list of ALL graphs created on the server and most of them are not shown.

In my case I've created more or less 20 graphs. Only 10 are linked into a Tree view. When I export the Tree view:
Default Tree -> HOST: Localhost -> All 4 graphs are shown correctly
Hosting Tree -> Server1 Tree -> here should I see only 2 graphs, BUT I see the list of all 20 graphs and only the 10 graphs linked into Tree View are shown, the other are broken. For the broken graphs I see only the names of the graphs and clicking on the name the link is Broken.

I hope I've descrived well the problem :) Sorry for my poor english :)

Someone can help me?

Thank's

Simon


My BOX:
CentOS release 4.4 (Final)
RRDtool 1.2.19
cacti-0.8.6j

ADD:
My graph_export.php is taken from here:
http://forums.cacti.net/viewtopic.php?t=19982
I've seen I'm not the only with this issue
xefil
Cacti User
Posts: 233
Joined: Tue Jun 20, 2006 2:48 am
Location: Italy
Contact:

Post by xefil »

Is this bug fixed?
Noone need this feature working? :)

Simon
matthes
Posts: 3
Joined: Tue May 15, 2007 2:17 pm

Post by matthes »

I have the same problem with the export of the graphics.
If i export the graphics the html will show no graphics.

My problem is my boss need it and if this not work, i wouldn't get holiday

I hope anybody can help me.

I know my english is a catastrophe.
matthes
Posts: 3
Joined: Tue May 15, 2007 2:17 pm

Post by matthes »

We have found a solution for this problem.
If you change the sqlquerry in the graph_export.php.
Here is the file with the solution.
Attachments
graph_export.php.txt
replace this file and kill the file extention
(62.73 KiB) Downloaded 916 times
xefil
Cacti User
Posts: 233
Joined: Tue Jun 20, 2006 2:48 am
Location: Italy
Contact:

Post by xefil »

Same problem (with the boss) too.... same boss? :)
Hope someone can resolve this asap. GREAT would be the possibility to choose which graph export, wich not. In my case it's important at some hours to have only some graphs exported, to make possible a fast load of the page.

Thx, Byebye

Simon
xefil
Cacti User
Posts: 233
Joined: Tue Jun 20, 2006 2:48 am
Location: Italy
Contact:

Post by xefil »

matthes.... it.... it..... it.... works :')
paulroberts
Posts: 17
Joined: Mon Jul 16, 2007 10:11 am

Post by paulroberts »

Works a treat, thanks for posting it up.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests