[solved] Some RRD files are unsuccessful updating

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
oneDot
Posts: 18
Joined: Fri Sep 21, 2012 2:24 am

[solved] Some RRD files are unsuccessful updating

Post by oneDot »

Hi all!

Some of the rrd files in C:\inetpub\wwwroot\cacti\rra are not updating

Any suggestion to help solve this problem will be more than appreciated.

Log File

Code: Select all

11/08/2012 03:32:30 PM - CMDPHP: Poller[0] Host[25] DS[1831] SNMP: v2: 10.210.10.214, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1049, output: 3698210726  
11/08/2012 03:32:30 PM - CMDPHP: Poller[0] Host[25] DS[1831] SNMP: v2: 10.210.10.214, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1049, output: 242880215  

Poller Cache
2012-11-08-cacti-01.jpg
2012-11-08-cacti-01.jpg (86.14 KiB) Viewed 2112 times
Graph Debug mode
2012-11-08-cacti-04.jpg
2012-11-08-cacti-04.jpg (196.71 KiB) Viewed 2112 times
rrdtool info
have NaN ouputs in it

Code: Select all

filename = "C:\inetpub\wwwroot\cacti\rra\*****_traffic_in_1831.rrd"
rrd_version = "0003"
step = 300
last_update = 1352283739
header_size = 3352
ds[traffic_in].index = 0
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0,0000000000e+000
ds[traffic_in].max = 1,0000000000e+009
ds[traffic_in].last_ds = "U"
ds[traffic_in].value = 0,0000000000e+000
ds[traffic_in].unknown_sec = 139
ds[traffic_out].index = 1
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0,0000000000e+000
ds[traffic_out].max = 1,0000000000e+009
ds[traffic_out].last_ds = "U"
ds[traffic_out].value = 0,0000000000e+000
ds[traffic_out].unknown_sec = 139
rra[0].cf = "AVERAGE"
rra[0].rows = 500
rra[0].cur_row = 414
rra[0].pdp_per_row = 1
rra[0].xff = 5,0000000000e-001
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].cur_row = 596
rra[1].pdp_per_row = 1
rra[1].xff = 5,0000000000e-001
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].cur_row = 252
rra[2].pdp_per_row = 6
rra[2].xff = 5,0000000000e-001
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 4
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 4
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].cur_row = 751
rra[3].pdp_per_row = 24
rra[3].xff = 5,0000000000e-001
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 4
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 4
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].cur_row = 477
rra[4].pdp_per_row = 288
rra[4].xff = 5,0000000000e-001
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 124
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 124
rra[5].cf = "MAX"
rra[5].rows = 500
rra[5].cur_row = 182
rra[5].pdp_per_row = 1
rra[5].xff = 5,0000000000e-001
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].cur_row = 349
rra[6].pdp_per_row = 1
rra[6].xff = 5,0000000000e-001
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].cur_row = 116
rra[7].pdp_per_row = 6
rra[7].xff = 5,0000000000e-001
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 4
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 4
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].cur_row = 316
rra[8].pdp_per_row = 24
rra[8].xff = 5,0000000000e-001
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 4
rra[8].cdp_prep[1].value = NaN
rra[8].cdp_prep[1].unknown_datapoints = 4
rra[9].cf = "MAX"
rra[9].rows = 797
rra[9].cur_row = 211
rra[9].pdp_per_row = 288
rra[9].xff = 5,0000000000e-001
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 124
rra[9].cdp_prep[1].value = NaN
rra[9].cdp_prep[1].unknown_datapoints = 124
Technical information

Code: Select all

General Information
Date	Thu, 08 Nov 2012 10:38:50 +0100
Cacti Version	0.8.8a
Cacti OS	win32
SNMP Version	NET-SNMP version: 5.5 
RRDTool Version	RRDTool 1.4.x 
Hosts	23
Graphs	1136
Data Sources	Script/Command: 6
SNMP: 179
SNMP Query: 1243
Script - Script Server (PHP): 8
Total: 1436

Poller Information
Interval	300
Type	cmd.php
Items	Action[0]: 3104
Action[1]: 1
Action[2]: 7
Total: 3112
Concurrent Processes	2
Max Threads	1
PHP Servers	1
Script Timeout	25
Max OID	10
Last Run Statistics	Time:41.0893 Method:cmd.php Processes:2 Threads:N/A Hosts:22 HostsPerProcess:11 DataSources:3112 RRDsProcessed:1048

PHP Information
PHP Version	5.3.8
PHP OS	WINNT
PHP uname	Windows NT PSNMP1 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
PHP SNMP	Installed
max_execution_time	300
memory_limit	256M
oneDot
Posts: 18
Joined: Fri Sep 21, 2012 2:24 am

Re: Some RRD files are unsuccessful updating

Post by oneDot »

I realized that rrd updating failed after data and graph template change (Devices - Data Source List - Choose an Action:Change Data Template).

So what i have done?

Data Template
- duplicate default Data Template Interface - Traffic
- rename duplicated template to Interafce - Traffic TMP
- uncheck Use Per-Data Source Value (Ignore this Value) under Data Source Name in template Interafce - Traffic TMP
- change Data Template for selected Data Sources from Interface - Traffic to Interafce - Traffic TMP
- reload Data Query for selected device (Associated Data Querie SNMP - Interface Statistics)
- Reaply Suggested Names for selected Data Sources
- change Data Template for selected Data Sources back from Interface - Traffic TMP to Interafce - Traffic

Graph Template- duplicate default Graph Template Interface - Traffic (bits/sec)
- rename duplicated template to Interface - Traffic (bits/sec) TMP
- uncheck Use Per-Graph Value (Ignore this Value) under Graph Template Title in template Interface - Traffic (bits/sec) TMP
- change Graph Template for selected Graphs from Interface - Traffic (bits/sec) to Interface - Traffic (bits/sec) TMP
- reload Data Query for selected device (Associated Data Querie SNMP - Interface Statistics)
- Reaply Suggested Names for selected Graphs
- change Graph Template for selected Graphs back from Interface - Traffic (bits/sec) TMP to Interface - Traffic (bits/sec)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Some RRD files are unsuccessful updating

Post by BSOD2600 »

Probably best to just get a fresh version of the templates from a separate cacti install.
oneDot
Posts: 18
Joined: Fri Sep 21, 2012 2:24 am

Re: Some RRD files are unsuccessful updating

Post by oneDot »

I find out that problem was in wrong data template definition. I fixed it and now works as expected.

tnx for a tip!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests