[SOLVED]Some graphs without values

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

Moderators: Developers, Moderators

Post Reply
firores
Posts: 2
Joined: Fri Nov 13, 2009 7:41 pm

[SOLVED]Some graphs without values

Post by firores »

Hello, i have a problem with two graphs. The graphs are displaying but values are always at 0 :-?

But in the log files, we can see that cacti manage to retrieve data :

11/14/2009 01:46:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_traffic_in_34.rrd --template traffic_in:traffic_out 1258159561:589954978:2936321286

11/14/2009 01:46:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_cpu_nice_31.rrd --template cpu_nice 1258159561:1639744
11/14/2009 01:46:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_cpu_system_32.rrd --template cpu_system 1258159561:17112198
11/14/2009 01:46:02 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_cpu_user_33.rrd --template cpu_user 1258159561:8922940


It suddently appened, and i don't know why.

Thank you for you help.


edit : It's only those 2 graphs. All the other are displaying correctly.
Attachments
Cpu usage
Cpu usage
cpu usage.jpg (284.38 KiB) Viewed 3534 times
Traffic
Traffic
traffic.jpg (256.04 KiB) Viewed 3534 times
Last edited by firores on Sun Nov 15, 2009 8:15 am, edited 1 time in total.
khaosgott
Posts: 2
Joined: Sat Nov 14, 2009 3:09 pm

Post by khaosgott »

hi folks,
im new on this board, and it appears I have the same problem as the original poster of this topic.

im running cacti 0.8.7 on CEntos 5.4
have 3 hosts in total, but only one shows the graphs normally (windows7)

the other two show empty graphs (1 ubuntu 9.10 and one centos 5.4).

debug on one of the graphs on the problematic hosts:

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Centos - Disk Space - /dev/hda1" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/centos_hdd_free_91.rrd":hdd_used:AVERAGE \
DEF:b="/var/www/html/cacti/rra/centos_hdd_free_91.rrd":hdd_free:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=TIME,1258224399,GT,a,a,UN,0,a,IF,IF,TIME,1258224399,GT,b,b,UN,0,b,IF,IF,+,1024,* \
AREA:cdefa#F51D30FF:"Used"  \
GPRINT:cdefa:LAST:"     Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:cdefe#002A97FF:"Available":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefi#000000FF:"Total"  \
GPRINT:cdefi:LAST:"    Current\:%8.2lf %s"  \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n" 

RRDTool Says:

OK
from the shell on the cacti server:

Code: Select all

11/14/2009 08:53:14 PM - CMDPHP: Poller[0] Host[8] DS[97] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 103
11/14/2009 08:53:14 PM - CMDPHP: Poller[0] Host[8] DS[96] CMD: perl /var/www/html/cacti/scripts/unix_users.pl , output: 1
from what I understand, the data has been gathered succefully, yet the graphs are empty.

please help!!

thanks,
K.
khaosgott
Posts: 2
Joined: Sat Nov 14, 2009 3:09 pm

Post by khaosgott »

ok, i think I got it fixed.

what I did was to install the libtool package.
firores
Posts: 2
Joined: Fri Nov 13, 2009 7:41 pm

Post by firores »

tried to install libtool, but the problem is still here.

edit : problem solved. I just restarted the server.
samwsm
Posts: 4
Joined: Thu Nov 12, 2009 10:16 pm

Post by samwsm »

i had empty graphs too, my problem was the data in my rrd was with timestamp of a few days ago, while the graph is trying to plot data of the last 24 hours
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest