Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

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

Moderators: Developers, Moderators

Post Reply
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by TFC »

I upgraded my Cacti latest version and debug RRD files. Seems shher all RRD files have ıssu about " RRDfile does not match Data Source"
Issue is :For attribute 'minimal_heartbeat', issue found 'Heartbeat for Data Source 'traffic_ast_out' should be '600''
Comand is: /usr/bin/rrdtool tune /opt/cacti/rra/ays_cesme_sol_traffic_ast_in_311.rrd --heartbeat traffic_ast_out:600
I run command in terminal then click "Run Check" but nothing changed about issue
For another data templae suche as CPU or Polling Time inconsistent acgievment occurs
2024-01-23_16-16.png
2024-01-23_16-16.png (30.66 KiB) Viewed 558 times
How can I fix this?
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by TheWitness »

Edit the Data Source and there should be an way to fix this automatically. I think in 1.2.26 you can repair it from Data Debug directly 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?
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Re: Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by TFC »

I use 1.2.26 but my cacti can't repair it.
Is there any CLI command or something?
regards,
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by macan »

/usr/bin/rrdtool tune /opt/cacti/rra/ays_cesme_sol_traffic_ast_in_311.rrd --heartbeat traffic_ast_out:600
will it show any errors?
Let the Cacti grow!
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Re: Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by TFC »

Unfortunately nothing changes:
[root@cacti rra]# /usr/bin/rrdtool tune /opt/cacti/rra/ays_cesme_sol_traffic_ast_in_311.rrd --heartbeat traffic_ast_out:600
[root@cacti rra]#
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by TheWitness »

Is there an entry in the poller cache? Can you run spine in debug mode for the host and see if it's even being collected? Is the Data Source orphaned?
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
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Re: Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by TFC »

Hi,
Data source is not orphaned
2024-03-28_10-03.png
2024-03-28_10-03.png (70.66 KiB) Viewed 212 times
AND log
[root@cacti bin]# ./spine -R -V 5 -f 312 -l 312
SPINE: Using spine config file [/etc/spine.conf]
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The path_php_server variable is /opt/cacti/script_server.php
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The path_cactilog variable is /opt/cacti/log/cacti.log
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The version variable is 10.5.23-MariaDB
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The log_destination variable is 1 (FILE)
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The path_php variable is /usr/bin/php
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The availability_method variable is 2
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The ping_recovery_count variable is 3
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The ping_failure_count variable is 2
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The ping_method variable is 2
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The ping_retries variable is 1
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The ping_timeout variable is 400
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The snmp_retries variable is 3
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The log_perror variable is 1
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The log_pwarn variable is 0
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The boost_redirect variable is 0
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The boost_rrd_update_enable variable is 1
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The log_pstats variable is 0
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The threads variable is 4
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The polling interval is 60 seconds
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The number of concurrent processes is 3
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The script timeout is 25
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The selective_device_debug variable is
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The spine_log_level variable is 0
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The number of php script servers to run is 2
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The number of active data source profiles is 2
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The number of snmp ports on the system is 1
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: StartDevice='312', EndDevice='312', TotalPHPScripts='0'
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The PHP Script Server is Not Required
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: The Maximum SNMP OID Get Size is 10
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Total Connections made 1
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Creating Local Connection Pool of 4 threads.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Creating Local Connection 0.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Total Connections made 2
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Creating Local Connection 1.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Total Connections made 3
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Creating Local Connection 2.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Total Connections made 4
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Creating Local Connection 3.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Total Connections made 5
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Version 1.2.26 starting
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] No Device 0 Poller Items found.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: MySQL is Thread Safe!
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Spine running as 0 UID, 0 EUID
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Spine is running as root.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Spine has got ICMP
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Initializing Net-SNMP API
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Initializing PHP Script Server(s)
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Initial Value of Available Threads is 4 (0 outstanding)
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] The final count of Threads is 0
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Closing Local Connection Pool ID 0
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Closing Local Connection Pool ID 1
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Closing Local Connection Pool ID 2
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Closing Local Connection Pool ID 3
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Thread Cleanup Complete
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: PHP Script Server Pipes Closed
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Allocated Variable Memory Freed
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: MYSQL Free & Close Completed
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] DEBUG: Net-SNMP Close Completed
2024-03-28 10:00:18 - SPINE: Poller[1] PID[10641] PT[139909453117504] Time: 0.0269 s, Threads: 4, Devices: 0
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti debug multiple issues all of them is " RRDfile does not match Data Source"

Post by TheWitness »

Always start with -V 3. Starting with -V 5 just makes things hard to read. Do it again at -V 3
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 1 guest