[SOLVED] Graphs not showing in Tree but works on "Viewi

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

Moderators: Developers, Moderators

Post Reply
frost
Posts: 4
Joined: Fri Jan 04, 2008 7:20 am

[SOLVED] Graphs not showing in Tree but works on "Viewi

Post by frost »

Hi,

i appologize if this question has been asked earlier, but I'm kinda new to Cacti and didn't find this particular question in the FAQ.

I got a problem with graphs not showing. However this is only in the main Graph Tree. I have a broken link there, but if I click on that one I get the graphs up just fine. (I'm monitoring traffic so I got Daily, Weekly, Monthly and Yearly graphs).

Also "Zoom Graph" doesn't work.

How can I fix this?

I run Cacti 0.8.7a on Solaris 10.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The first one may be related to a font issue. Did you select any specific font? What is shown, when you visit that very graph from Graph Management and switch to debug mode?
The second issue may be a browser issue
Reinhard
frost
Posts: 4
Joined: Fri Jan 04, 2008 7:20 am

Post by frost »

I have selected a font:
/opt/csw/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf

However I have not restarted Cacti or anything after I did that.

Do I need to do anything else to activate it?

When I go to that graph in Graph Management it's working now.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That file is existing and shown in the DEBUG rrdtool graph statement at Graph Management, correct?
Still issues with trees?
Same issues in preview mode?
Reinhard
frost
Posts: 4
Joined: Fri Jan 04, 2008 7:20 am

Post by frost »

Correct.

RRDTool Command:

/opt/csw/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NIX 1 - Traffic - ge-1/3/0.10" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/export/home/cacti/cacti-0.8.7a/rra/nix_1_traffic_in_14.rrd":traffic_in:AVERAGE \
DEF:b="/export/home/cacti/cacti-0.8.7a/rra/nix_1_traffic_in_14.rrd":traffic_in:MAX \
DEF:c="/export/home/cacti/cacti-0.8.7a/rra/nix_1_traffic_in_14.rrd":traffic_out:AVERAGE \
DEF:d="/export/home/cacti/cacti-0.8.7a/rra/nix_1_traffic_in_14.rrd":traffic_out:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefd=b,8,* \
CDEF:cdefe=c,8,* \
CDEF:cdefh=d,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:

OK

It is showing in Graph Management

Still issue with trees and in preview mode
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

frost
Posts: 4
Joined: Fri Jan 04, 2008 7:20 am

Post by frost »

It was the RRDTool Utility Version that was wrong.

I just didn't see that it was set to 1.0 instead of 1.2.

Thanks!
Francois
Posts: 1
Joined: Wed Dec 19, 2007 8:53 am

Post by Francois »

Hello,

I got a same problem with graphs not showing.
My Cacti's version is 0.8.7a and RRDTOOL's version 1.2.5

Could you help me to find a solution !!!

Fr.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

See "Settings -> RRDTool Utility Version". BTB: 1.2.5 is way old and buggy. You really should upgrade, at least to 1.2.23
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests