total 1168
drwxr-xr-x 13 root root 4096 Aug 29 10:47 .
drwxr-xr-x 14 root root 4096 Aug 29 10:39 ..
-rw-r--r-- 1 root root 6199 Aug 29 10:39 about.php
-rw-r--r-- 1 root root 4980 Aug 29 10:47 auth_changepassword.php
-rw-r--r-- 1 root root 12188 Aug 29 10:47 auth_login.php
-rw-r--r-- 1 root root 92973 Aug 29 10:46 cacti-plugin-0.8.7e-PA-v2.5.diff
-rw-r--r-- 1 root root 176144 Aug 29 10:39 cacti.sql
-rw-r--r-- 1 root root 21070 Aug 29 10:39 cdef.php
drwxr-xr-x 2 root root 4096 Aug 29 10:39 cli
-rw-r--r-- 1 root root 18329 Aug 29 10:39 cmd.php
-rw-r--r-- 1 root root 6809 Aug 29 10:39 color.php
-rw-r--r-- 1 root root 24595 Aug 29 10:39 data_input.php
-rw-r--r-- 1 root root 35028 Aug 29 10:39 data_queries.php
-rw-r--r-- 1 root root 56353 Aug 29 10:47 data_sources.php
-rw-r--r-- 1 root root 32287 Aug 29 10:39 data_templates.php
drwxr-xr-x 5 root root 4096 Aug 29 10:39 docs
-rw-r--r-- 1 root root 5962 Aug 29 10:39 gprint_presets.php
-rw-r--r-- 1 root root 3491 Aug 29 10:47 graph_image.php
-rw-r--r-- 1 root root 12148 Aug 29 10:47 graph.php
-rw-r--r-- 1 root root 7957 Aug 29 10:39 graph_settings.php
-rw-r--r-- 1 root root 17383 Aug 29 10:39 graphs_items.php
-rw-r--r-- 1 root root 37470 Aug 29 10:47 graphs_new.php
-rw-r--r-- 1 root root 57723 Aug 29 10:47 graphs.php
-rw-r--r-- 1 root root 9949 Aug 29 10:39 graph_templates_inputs.php
-rw-r--r-- 1 root root 18482 Aug 29 10:39 graph_templates_items.php
-rw-r--r-- 1 root root 26024 Aug 29 10:39 graph_templates.php
-rw-r--r-- 1 root root 41326 Aug 29 10:39 graph_view.php
-rw-r--r-- 1 root root 5839 Aug 29 10:39 graph_xport.php
-rw-r--r-- 1 root root 55907 Aug 29 10:47 host.php
-rw-r--r-- 1 root root 19364 Aug 29 10:39 host_templates.php
drwxr-xr-x 2 root root 4096 Aug 29 10:39 images
drwxr-xr-x 4 root root 4096 Aug 29 10:47 include
-rw-r--r-- 1 root root 2313 Aug 29 10:47 index.php
drwxr-xr-x 2 root root 4096 Aug 29 10:39 install
drwxr-xr-x 3 root root 4096 Aug 29 10:47 lib
-rw-r--r-- 1 root root 15141 Aug 29 10:39 LICENSE
drwxr-xr-x 2 cactiuser root 4096 Aug 29 10:39 log
-rw-r--r-- 1 root root 2451 Aug 29 10:39 logout.php
drwxr-xr-x 2 root root 4096 Aug 29 10:47 plugins
-rw-r--r-- 1 root root 16153 Aug 29 10:47 plugins.php
-rw-r--r-- 1 root root 4306 Aug 29 10:39 poller_commands.php
-rw-r--r-- 1 root root 2243 Aug 29 10:39 poller_export.php
-rw-r--r-- 1 root root 16543 Aug 29 10:47 poller.php
-rw-r--r-- 1 root root 48 Aug 29 10:39 README
drwxr-xr-x 5 root root 4096 Aug 29 10:39 resource
drwxr-xr-x 2 cactiuser root 4096 Aug 29 10:39 rra
-rw-r--r-- 1 root root 7088 Aug 29 10:39 rra.php
drwxr-xr-x 2 root root 4096 Aug 29 10:39 scripts
-rw-r--r-- 1 root root 7304 Aug 29 10:39 script_server.php
-rw-r--r-- 1 root root 353 Aug 29 10:39 script_server.pl
-rw-r--r-- 1 root root 4996 Aug 29 10:39 settings.php
-rw-r--r-- 1 root root 5862 Aug 29 10:39 templates_export.php
-rw-r--r-- 1 root root 6543 Aug 29 10:39 templates_import.php
-rw-r--r-- 1 root root 18792 Aug 29 10:39 tree.php
-rw-r--r-- 1 root root 43852 Aug 29 10:47 user_admin.php
-rw-r--r-- 1 root root 64407 Aug 29 10:47 utilities.php
cd /../usr/local/cacti
chown -R cactiuser rra/ log/
chgrp apache log/cacti.log
chmod g+w log/cacti.log
su cactiuser
crontab -e
*/5 * * * * cactiuser /usr/bin/php /usr/local/cacti/poller.php > /dev/null 2>&1
using:
rrdtool-1.3.8
net-snmp-5.2.4
cacti-0.8.7e
patch cacti-plugin-0.8.7e-PA-v2.5.diff
Data Source Debug
/usr/local/bin/rrdtool create \
/usr/local/cacti/rra/zyxell_-_2024_pwr_traffic_in_8.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRDTool Command:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Zyxell - 2024 PWR - Traffic - swp00" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/cacti/rra/zyxell_-_2024_pwr_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/cacti/rra/zyxell_-_2024_pwr_traffic_in_8.rrd":traffic_out:AVERAGE \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:b#002A97FF:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening '/usr/local/cacti/rra/zyxell_-_2024_pwr_traffic_in_8.rrd': No such file or directory
on the cacti official forum i ve read something about changing the user as root, or even changing the user root to acces, that means that i have to chown root rra and log and to make the crond line from root with user root instead of cactiuser ..... at least that s what i understood from that topic

if it s not correct please guide me
Recent comments
2 days 20 hours ago
3 days 5 hours ago
3 days 8 hours ago
3 days 9 hours ago
3 days 11 hours ago
3 days 12 hours ago
3 days 14 hours ago
3 days 15 hours ago
4 days 7 hours ago
4 days 8 hours ago