No graph generated

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

Moderators: Developers, Moderators

Post Reply
Shellbot
Posts: 2
Joined: Thu Aug 21, 2008 2:47 am

No graph generated

Post by Shellbot »

Hello there,
First sorry for my bad english language in the following lines, it's not my native.

After a reinstallation, I have a probleme with the graph : i have no graph at all even in the localhost. Before on the same machine and same configuration (without patches) i had graph for localhost.

I read some topics here but i don"t found something which help me.
Operating System: centos 5.2
Webserver: httpd apache 2.2.3-11
Cacti: 0.8.7b-2
Spine: none
MySQL: 5.0.45-7
PHP: 5.1.6-20
RRDTool (Cygwin or Win32 version): 1.2.23-1
Net-SNMP: 1:5.3.1-24
cacti.log

Code: Select all

08/20/2008 11:31:07 AM - AUTH LOGIN: User 'admin' Authenticated
etc/cron.d/cacti

Code: Select all

*/2 * * * *	cacti	php /var/www/html/cacti/poller.php &>/dev/null 2>&1
cacti.conf

Code: Select all

Alias /cacti/ /var/www/html/cacti/
<Directory /var/www/html/cacti/>
    DirectoryIndex index.php
    Options -Indexes
    AllowOverride all
    order deny,allow
    deny from all
    allow from 127.0.0.1 194.167.33.20 194.167.33.100
    AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc on
    php_flag track_vars on
</Directory>

here are what i have when i clic on the "key tool" on a graph

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/html/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105FF:"Free"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:b#FFC73BFF:"Swap":STACK \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" 
Add :
devices have an up status
and graph "is been graphed" but no graph really appear

Code: Select all

1) Linux - Memory Usage  	 Is Being Graphed (Edit)  	 Delete Graph Template Association
2) Unix - Load Average 	Is Being Graphed (Edit) 	Delete Graph Template Association
3) Unix - Logged in Users 	Is Being Graphed (Edit) 	Delete Graph Template Association
4) Unix - Processes 	Is Being Graphed (Edit) 

any ideas or tips?
Thanks
Shellbot
Posts: 2
Joined: Thu Aug 21, 2008 2:47 am

Post by Shellbot »

Still the same problems :-?
May anyone could help me?
ty
Attachments
Capture.png
Capture.png (118.35 KiB) Viewed 1061 times
savagehobo
Posts: 14
Joined: Mon Aug 11, 2008 2:18 pm

Post by savagehobo »

I had a similar problem... the version of RRD tool that is installed with cacti doesn't work with it. You must separately install and older version. I installed 1.2.25 locally and corrected the path in cacti and I get graphs now.... .I still can't see any data though
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests