rra.php behaviour change (0.8.7b=>0.8.7e)

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

Moderators: Developers, Moderators

Post Reply
grazog
Posts: 13
Joined: Fri May 02, 2008 3:11 am

rra.php behaviour change (0.8.7b=>0.8.7e)

Post by grazog »

Hello,
I'm currently testing an upgrade from 0.8.7b to 0.8.7e.
After doing the upgrade i sometimes have the following error log appearing :
10/09/2009 04:36:14 PM - CMDPHP: Poller[0] ERROR: Detected RRDtool Crash attempting to perform write
10/09/2009 04:36:14 PM - CMDPHP: Poller[0] ERROR: Detected RRDtool Crash attempting to perform write
10/09/2009 04:36:14 PM - CMDPHP: Poller[0] ERROR: Detected RRDtool Crash attempting to perform write

The graph are working and all my rra are updated.

I checked the diff on rra.php and saw the following

4c4
< | Copyright (C) 2004-2009 The Cacti Group |
---
> | Copyright (C) 2004-2008 The Cacti Group |
65c65
< $save["x_files_factor"] = form_input_validate($_POST["x_files_factor"], "x_files_factor", "^[01]?(\.[0-9]+)?$", false, 3);
---
> $save["x_files_factor"] = form_input_validate($_POST["x_files_factor"], "x_files_factor", "^[0-9]+(\.[0-9])?$", false, 3);
110c110
< if ((read_config_option("deletion_verification") == "on") && (!isset($_GET["confirm"]))) {
---
> if ((read_config_option("remove_verification") == "on") && (!isset($_GET["confirm"]))) {
116c116
< if ((read_config_option("deletion_verification") == "") || (isset($_GET["confirm"]))) {
---
> if ((read_config_option("remove_verification") == "") || (isset($_GET["confirm"]))) {

When i replace the new rra.php with the old one the error logs dissapear.

Does anyone encountered the problem ?
Does anyone knew what was changed in the rra.php and why ?

Regards,
Brice

RRDtool 1.2.27 Copyright 1997-2008 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Apr 6 2008 00:00:15

Date Mon, 12 Oct 2009 10:37:31 +0200
Cacti Version 0.8.7e
Cacti OS unix
SNMP Version NET-SNMP version: 5.3.1
RRDTool Version RRDTool 1.2.x
Hosts 84
Graphs 797
Data Sources Script/Command: 21
SNMP: 528
SNMP Query: 539
Script - Script Server (PHP): 3
Total: 1091
Poller Information
Interval 60
Type spine
Items Action[0]: 1515
Action[1]: 21
Action[2]: 3
Total: 1539
Concurrent Processes 4
Max Threads 8
PHP Servers 2
Script Timeout 15
Max OID 10
Last Run Statistics Time:5.0212 Method:spine Processes:4 Threads:8 Hosts:85 HostsPerProcess:22 DataSources:1330 RRDsProcessed:909
PHP Information
PHP Version 5.1.6
PHP OS Linux
PHP uname Linux sqymonl1 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686
PHP SNMP Installed
max_execution_time 30
memory_limit 256M
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The differing lines should not do any harm.
Are you able to find the rrdtool command that crashes rrd in the cacti log?
R.
grazog
Posts: 13
Joined: Fri May 02, 2008 3:11 am

Post by grazog »

Hello,
Last week i changed the rra.php from my 0.8.7b to the rra.php from the 0.8.7e and didn"t encountered this issue anymore.
So I didn't get the rrdtool command that crashed rrd.

Regards,
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests