Hi
thanks for your follow-up !
First I had a problem with the Settings>Paths.
Were missing all the paths to the different binaries.
I added them in php.ini and specified them in the text-boxes and this is now fine.
Concerning Apache running in a chroot, I guess no.
Poller runs (but maybe not perfectly, see below) and has created the files when they did not exist
The Cacti graph page seems to auto-refresh.
I have data in rra/
Code: Select all
-rw-r--r-- 1 root root 141528 Oct 31 20:23 localhost_load_1min_8.rrd
-rw-r--r-- 1 root root 47880 Oct 31 20:24 localhost_users_6.rrd
-rw-r--r-- 1 root root 47880 Oct 31 20:24 localhost_proc_7.rrd
-rw-r--r-- 1 root root 47880 Oct 31 20:24 localhost_mem_swap_4.rrd
-rw-r--r-- 1 root root 47880 Oct 31 20:24 localhost_mem_buffers_3.rrd
I have enabled graph debug and get this (for Localhost - Memory Usage graph) :
Code: Select all
RRDTool Command:
/opt/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" \
DEF:a="/volume1/web/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/volume1/web/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"
RRDTool Says:
when I lauch the poller in the command line I sometimes get this type of messages:
Code: Select all
sh: perl: not found
sh: perl: not found
sh: perl: not found
sh: perl: not found
sh: perl: not found
OK u:0.01 s:0.01 r:2.05
OK u:0.01 s:0.01 r:2.05
OK u:0.01 s:0.01 r:2.06
OK u:0.01 s:0.01 r:2.06
ERROR: Not enough arguments
10/31/2007 09:02:08 PM - SYSTEM STATS: Time:2.2904 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
The graphs I am talking about are not some that I created but some that seem to be there by default at install:
Localhost - Load Average Unix - Load Average
Localhost - Logged in Users Unix - Logged in Users
Localhost - Memory Usage Linux - Memory Usage
Localhost - Processes Unix - Processes