Blank graph (oh yeah again)

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

Moderators: Developers, Moderators

Post Reply
dlaperle
Posts: 21
Joined: Thu Jan 06, 2005 7:45 am
Location: Longueuil, Québec
Contact:

Blank graph (oh yeah again)

Post by dlaperle »

3885287 drwxr-x--- 11 gradmin psaserv 4096 May 3 08:26 .
3885286 drwxr-x--- 5 gradmin psaserv 4096 May 3 08:24 ..
3885290 -rw-r--r-- 1 root root 5892 May 3 08:26 about.php
3885292 -rw-r--r-- 1 root root 4773 May 3 08:26 auth_changepassword.php
3885293 -rw-r--r-- 1 root root 6171 May 3 08:26 auth_login.php
3885294 -rw------- 1 root root 171381 May 3 08:26 cacti.sql
3885295 -rw-r--r-- 1 root root 11832 May 3 08:26 cdef.php
3885296 -rw-r--r-- 1 root root 15743 May 3 08:26 cmd.php
3885297 -rw-r--r-- 1 root root 5569 May 3 08:26 color.php
3885298 -rw-r--r-- 1 root root 16107 May 3 08:26 data_input.php
3885299 -rw-r--r-- 1 root root 25693 May 3 08:26 data_queries.php
3885300 -rw-r--r-- 1 root root 39237 May 3 08:26 data_sources.php
3885301 -rw-r--r-- 1 root root 24717 May 3 08:26 data_templates.php
3885302 drwxr-xr-x 5 root root 4096 May 3 08:26 docs
3885361 -rw-r--r-- 1 root root 5762 May 3 08:26 gprint_presets.php
3885362 -rw-r--r-- 1 root root 2942 May 3 08:26 graph_image.php
3885363 -rw-r--r-- 1 root root 9687 May 3 08:26 graph.php
3885364 -rw-r--r-- 1 root root 6318 May 3 08:26 graph_settings.php
3885365 -rw-r--r-- 1 root root 10057 May 3 08:26 graphs_items.php
3885366 -rw-r--r-- 1 root root 29957 May 3 08:26 graphs_new.php
3885367 -rw-r--r-- 1 root root 41889 May 3 08:26 graphs.php
3885368 -rw-r--r-- 1 root root 9428 May 3 08:26 graph_templates_inputs.php
3885369 -rw-r--r-- 1 root root 16125 May 3 08:26 graph_templates_items.php
3885370 -rw-r--r-- 1 root root 18376 May 3 08:26 graph_templates.php
3885371 -rw-r--r-- 1 root root 12581 May 3 08:26 graph_view.php
3885372 -rw-r--r-- 1 root root 26483 May 3 08:26 host.php
3885373 -rw-r--r-- 1 root root 13225 May 3 08:26 host_templates.php
3885374 drwxr-xr-x 2 root root 4096 May 3 08:26 images
3885421 drwxr-xr-x 5 root root 4096 May 3 08:26 include
3885291 -rw-r--r-- 1 root root 620 May 3 08:24 index.html
3885490 -rw-r--r-- 1 root root 2271 May 3 08:26 index.php
3885491 drwxr-xr-x 2 root root 4096 May 3 08:26 install
3885504 drwxr-xr-x 3 root root 4096 May 3 08:26 lib
3885556 -rw-r--r-- 1 root root 15141 May 3 08:26 LICENSE
3899466 drwxr-xr-x 2 cactiuser cactiuser 4096 May 3 08:26 log
3885557 -rw-r--r-- 1 root root 1796 May 3 08:26 logout.php
3885558 -rw-r--r-- 1 root root 8770 May 3 08:26 poller.php
3885559 -rw-r--r-- 1 root root 72 May 3 08:26 README
3899468 drwxr-xr-x 5 root root 4096 May 3 08:26 resource
3899483 drwxrwxrwx 2 cactiuser cactiuser 4096 May 3 15:19 rra
3885560 -rw-r--r-- 1 root root 6068 May 3 08:26 rra.php
3899485 drwxr-xr-x 2 root root 4096 May 3 08:26 scripts
3885561 -rw-r--r-- 1 root root 6603 May 3 08:26 script_server.php
3885562 -rw-r--r-- 1 root root 353 May 3 08:26 script_server.pl
3885563 -rw-r--r-- 1 root root 4832 May 3 08:26 settings.php
3885564 -rw-r--r-- 1 root root 6813 May 3 08:26 templates_export.php
3885565 -rw-r--r-- 1 root root 5843 May 3 08:26 templates_import.php
3885566 -rw-r--r-- 1 root root 16167 May 3 08:26 tree.php
3885567 -rw-r--r-- 1 root root 26373 May 3 08:26 user_admin.php
3885568 -rw-r--r-- 1 root root 9841 May 3 08:26 utilities.php


Here my permission on directory...why all my graphs are blank?

They were shown as broken image, but i manually run the poller.php and after the graph arent updating...

the user cactiuser is the one written in the crontab!

thanks for your help...
Oh look!...
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please verify that you have the full path to PHP in your crontab.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
KiaN
Posts: 12
Joined: Wed May 04, 2005 6:25 am
Location: Paris, France
Contact:

Post by KiaN »

I've got the same problem : empty graphs, broken link for the picture while the permissions are set to the maximum to be sure there's no permission problem (../cacti/ is 777 right now)

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1115119696 \
--end=1115206096 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2005/05/03 13:28:16 To 2005/05/04 13:28:16\c" \
COMMENT:"  \n" \
--vertical-label="kilobytes" \
DEF:a="/var/www/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
STACK:b#FFC73B:"Swap"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" 
I'll try the full path for php right now, in the crontab but I dont think it'll change anything
http://www.kianouch.com
My pictures ^^
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests