problems displaying graphs Fedora Core 8, F5 LTM template

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

Moderators: Developers, Moderators

Post Reply
mantisgb
Posts: 3
Joined: Tue Apr 01, 2008 3:09 am

problems displaying graphs Fedora Core 8, F5 LTM template

Post by mantisgb »

All appears to be fine with the installation except i can't see any graphs. When I go to graph management and turn on graph debugging mode, then pick a graph e.g. "ltm1.pslab.net - TMM CPU usage" I get the error below. I have searched the entire filesystem and cannot find any rrd files - I'm wondering if they are meant to be generated by the DEF: statement in the RRDTool below but I just don't know enough about how everything hangs together to know.

Any help gratefully received!

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ltm1.pslab.net - TMM CPU Usage" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/rra/ltm1_pslab_net_tmmcpu_39.rrd":tmmcpu:AVERAGE \
AREA:a#FF0000FF:"TMM CPU Usage"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" 

RRDTool Says:

ERROR: opening '/usr/share/cacti/rra/ltm1_pslab_net_tmmcpu_39.rrd': No such file or directory
Spook_Aus
Posts: 5
Joined: Mon Mar 31, 2008 9:55 pm

Post by Spook_Aus »

Funny I am using Fedora 8 and having same/similar issue - the rrd files arent being created.....

http://forums.cacti.net/viewtopic.php?t=26608
mantisgb
Posts: 3
Joined: Tue Apr 01, 2008 3:09 am

Post by mantisgb »

lol, yeah, I saw your post just after I had posted mine, and thought,hmmm, people are going to think I can't help myself by searching the forum for clues first.

One thing I have noticed is that I didn't create a cactiuser under Fedora before I started the installation and wonder in fact if I was using my own username for parts of the install or whether I had su'd to root. I'm wondering now whether to start again but pay more attention to permissions and users. I'm looking at the cacti installation guide which is for Ubuntu but can't see where they tell you to create the cactiuser which they then talk about using later.

Grrrr, I use Linux too infrequently and learn stuff then forget it again!
sigey
Posts: 25
Joined: Mon Feb 14, 2005 9:17 am
Location: MV
Contact:

Post by sigey »

i think ur issues is because the proper rrd files are not created. check in the rra dir to see if the files are there.

Is cacti running the polling instance correctly? have u checked ur paths etc.
Run the poller manually and see wat errors it sends out.

thanks
ben_c
Cacti User
Posts: 203
Joined: Mon May 14, 2007 8:12 pm
Location: Melbourne, Australia.

Post by ben_c »

I think there are issues with the TMM CPU perl script or something similar, I cant get it to graph data correctly.
buck
Posts: 17
Joined: Tue Sep 04, 2007 10:09 am

Post by buck »

Did you remember this step?

Set the appropriate permissions on cacti's directories for graph/log generation. You should execute these commands from inside cacti's directory to change the permissions.

shell> chown -R cactiuser rra/ log/
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests