Another of those empty Graphs

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

Moderators: Developers, Moderators

Post Reply
surgeon
Posts: 1
Joined: Wed Dec 08, 2010 4:54 pm

Another of those empty Graphs

Post by surgeon »

Hi all!

I am using Cacti 0.8.7g on gentoo with rrdtool 1.4.3 an having problems with empty graphs. I have about three graphs which work perfectly, but all which I added during the last days don't work. It's just running on my desktop computer and I want to graph the return data of some shell scripts.

The script returns for example:

ram:0.7 swap:1.0

And I have added a Data Input Method with the script path "bash <path_cacti>/scripts/usedmemory.sh" and two Outputfields named ram and swap. I've created a Data Source and a Graph. But the Graph is empty.

The last log line is:
12/08/2010 11:00:02 PM - SYSTEM STATS: Time:0.2830 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:11 RRDsProcessed:11
The rra folder lists:
localhost cacti # ls -la rra
insgesamt 1158
drwxr-xr-x 2 apache apache 608 6. Dez 00:10 .
drwxr-xr-x 12 root root 1688 5. Dez 15:11 ..
-rwxr-xr-x 1 apache apache 166384 8. Dez 23:05 localhost_1min_20.rrd
-rwxr-xr-x 1 apache apache 111400 5. Dez 19:20 localhost_gpu1_19.rrd
-rwxr-xr-x 1 apache apache 111400 5. Dez 18:40 localhost_gpu1_19.rrd.bak
-rwxr-xr-x 1 apache apache 111400 8. Dez 23:05 localhost_gpu1_23.rrd
-rwxr-xr-x 1 apache apache 111400 8. Dez 23:05 localhost_gputemps_18.rrd
-rwxr-xr-x 1 apache apache 48000 8. Dez 23:05 localhost_mem_buffers_16.rrd
-rwxr-xr-x 1 apache apache 48000 8. Dez 23:05 localhost_mem_swap_17.rrd
-rwxr-xr-x 1 apache apache 56416 8. Dez 23:05 localhost_online_21.rrd
-rwxr-xr-x 1 apache apache 111400 8. Dez 23:05 localhost_ram_24.rrd
-rwxr-xr-x 1 apache apache 56416 8. Dez 23:05 localhost_ramme_27.rrd
-rwxr-xr-x 1 apache apache 56416 8. Dez 23:05 localhost_swap_25.rrd
-rwxr-xr-x 1 apache apache 111400 8. Dez 23:05 localhost_swap_28.rrd
-rwxr-xr-x 1 apache apache 56416 8. Dez 23:05 localhost_testvalue_22.rrd
Could you give me some advice where to look for the empty graph reason?

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

Re: Another of those empty Graphs

Post by gandalf »

Please see 2nd link of my sig as a start
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests