mmaping trouble.

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

Moderators: Developers, Moderators

Post Reply
ordnit
Posts: 1
Joined: Sun Feb 21, 2016 10:23 am

mmaping trouble.

Post by ordnit »

Hi all,
I just finished setting up cacti on my cubieboard running debian 8.3 jessie. Everything works fine, I'm able to monitor many parameters on localhost :memory, user logged in etc. I was also able to setup a QNAP nas monitoring.

The problem arises when I try to monitor interfaces. I was unable to monitor traffic on both localhost and nas due to missed creation of rrd files in rra directory. Once i create a file by hands (let's say /var/www/html/cacti/rra/localhost_traffic_in_19.rrd, the system won't update it's contente thus leading to no graph creation.

Any help is welcomed and appreciated.

Cacti.log:
02/21/2016 04:25:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_traffic_in_19.rrd --template traffic_out:traffic_in 1456068302:43194190:26012105
02/21/2016 04:26:15 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start='1455981975' --end='1456068375' --title='Localhost - Traffic - eth0' --rigid --base='1000' --height='120' --width='500' --alt-autoscale-max --lower-limit='0' COMMENT:"From 2016/02/20 16\:26\:15 To 2016/02/21 16\:26\:15\c" COMMENT:" \n" --vertical-label='bits per second' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a='/var/www/html/cacti/rra/localhost_traffic_in_19.rrd':'traffic_in':AVERAGE DEF:b='/var/www/html/cacti/rra/localhost_traffic_in_19.rrd':'traffic_out':AVERAGE CDEF:cdefa='a,8,*' CDEF:cdefe='b,8,*' AREA:cdefa#00CF00B2:'Inbound' GPRINT:cdefa:LAST:' Current\:%8.2lf %s' GPRINT:cdefa:AVERAGE:'Average\:%8.2lf %s' GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' LINE1:cdefe#002A97FF:'Outbound' GPRINT:cdefe:LAST:'Current\:%8.2lf %s' GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n'

Apache error.log
ERROR: mmaping file '/var/www/html/cacti/rra/localhost_traffic_in_19.rrd': Invalid argument


thank you in advance.
Regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests