No RRD Files are created

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
kribbas
Posts: 27
Joined: Wed Oct 20, 2021 3:58 am

No RRD Files are created

Post by kribbas »

In my test environment, when I add a new nodes there are no RRD files created.

I add the host on the GUI, add graphs, the polling is working. When I run the spine in debug I can see that its fetching values from the OIDs for the graphs.

However in cacti the graphs show as broken images. When I check the debug it states that the rrd files do exist but in reality they are not there when I check from command line:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1657176193' \
--end='1657262593' \
--title='- Traffic - 1/1/1 - LB1_GRT' \
--base='1000' \
--height='180' \
--width='650' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2022/07/07 08\:43\:13 To 2022/07/08 08\:43\:13\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:8: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti-0.8.8h/rra/39047.rrd':'traffic_in':AVERAGE \
DEF:b='/usr/share/cacti-0.8.8h/rra/39047.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00BD27FF:'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'

RRDTool Says:
ERROR: opening '/usr/share/cacti-0.8.8h/rra/cpubusy1sec_39048.rrd': No such file or directory

Tech info:
Cacti Version 0.8.8h
Cacti OS unix
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.3.x
Hosts 388
Graphs 19820
Data Sources Script/Command: 191
SNMP: 1686
SNMP Query: 18560
Script Query: 276
Script Query - Script Server: 273
Total: 20986
Poller Information
Interval 300
Type SPINE 0.8.8h Copyright 2002-2016 by The Cacti Group
Items Action[0]: 86
Action[1]: 7
Action[2]: 153
Total: 246
Concurrent Processes 1
Max Threads 4
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:7.6967 Method:spine Processes:1 Threads:4 Hosts:9 HostsPerProcess:9 DataSources:241 RRDsProcessed:188
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No RRD Files are created

Post by TheWitness »

Likely a permission problem. If you are not on 1.2.21, get there. If the system is new and you are not at 1.2.21, just to a full re-install on that version.
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
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: No RRD Files are created

Post by TheWitness »

We don't support 0.8.x any longer as well.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests