Graphs version 0.6.8

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
atm0s
Posts: 1
Joined: Sat Aug 03, 2002 2:09 pm

Graphs version 0.6.8

Post by atm0s »

Hi,

I'm not showing any graphs, they display as broken links. I've read through the past newsgroup articles to no avail. I replaced rrd_functions.php with the rrd_functions.php.txt ver and get the following output :-

Warning: Missing argument 4 for rrdtool_function_graph() in /var/www/html/cacti/include/rrd_functions.php on line 184
select i.id as iid, i.cdefid, i.textformat, i.value, i.hardreturn, i.consolidationfunction, c.hex, d.dsname, d.name as dname, d.id, cf.name as cname, t.name as tname from rrd_graph_item i left join rrd_ds d on i.dsid=d.id left join def_colors c on i.colorid=c.id left join def_graph_type t on i.graphtypeid=t.id left join def_cf cf on i.consolidationfunction=cf.id where i.graphid=57 and !(cf.id != 1 and (t.name="LINE1" or t.name="AREA" or t.name="STACK" or t.name="LINE2" or t.name="LINE3")) order by i.sequence

Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/cacti/include/rrd_functions.php on line 53

please advise
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

I tried e-mailing you, but your reply address doesn't seem to work, so I'll post my reply here:

What version of cacti are you using? The function
rrdtool_function_graph() has only 3 arguments in both 0.6.7 and 0.6.8. I
would double check 'rrd_functions.php' and see where it is getting that
"fourth argument" from.

Another thing you could try, is to re-do a cacti 0.6.8 install (without
touching the db).

Tell me what you find.

-Ian
Vijay

Unable to see graphs - broken links

Post by Vijay »

Everything is working fine except that the graphs are not being displayed. Please help.
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

I guess you are the same person that started this thread?

Did you try any of the things I suggested such as reinstalling 0.6.8 without touching cacti's database?

As always it could be a permissions problem. Make sure the Apache's user can read the rrd files in the 'rra/' subdirectory.

Lastly, I recommend going into the console and selecting "Graphs". Then select "Edit Graph Items" next to any of the broken graphs. Finally, select "Turn Graph Output Preview On" to see the exact error that rrdtool is generating.

-Ian
Post Reply

Who is online

Users browsing this forum: Mohammedejaz and 0 guests