[drraw-users] No data source for "AVERAGE" rra found in file?
Steve Barnes
barness at paynet.co.ke
Wed Mar 7 01:59:43 PST 2007
Hello
I'm trying to get started with drraw (2.2a2) and am having a bit of a
problem. At this time I'm not sure if I'm just being very short-sighted
or whether I have an incompatibility problem of sorts.
I have a plethora of rrd's created using NagiosGraph v0.8.2_1 and
rrdtool v1.2.19. In drraw.conf I believe I have set the %datadirs var
correctly since I see the list of the rrd files created by NagiosGraph.
The problem arises when I try and select a DS (having selected one rrd
file from the list, typing "fiveminavg" as the DS filter RegEx,
selecting "AVERAGE" and then clicking "Add DB(s) to data sources")
"No data source for "AVERAGE" RRA found in file
"/usr/local/etc/nagios/rrd//mailsrv_cpuload_cpu.rrd"!"
Below is the "RRD Info for selected DB" output:
filename = /usr/local/etc/nagios/rrd//mailsrv_cpuload_cpu.rrd
last_update = 1172751903
rrd_version = 0003
step = 300
DS last_ds max min minimal_heartbeat type
unknown_sec value
fiveminavg 1 600 GAUGE 2 1
rra cf pdp_per_row rows xff
0 AVERAGE 1 600 0.5
1 AVERAGE 6 700 0.5
2 AVERAGE 24 775 0.5
3 AVERAGE 288 797 0.5
rra ds unknown_datapoints value
0 0 0
1 0 5
2 0 5
3 0 149
I notice in the above error message, there is 2 '//' characters - is
this the source of the problem (or just a typo in the error message
output?)
In a vain attempt to resolve the above problem I modified drraw.conf
rranames to read:
@rranames = ( 'MIN', 'AVERAGE', 'MAX', 'LAST', '0', '1', '2', '3' );
%rranames = ( 'MIN' => 'Min',
'AVERAGE' => 'Avg',
'MAX' => 'Max',
'LAST' => 'Last',
'0' => '0',
'1' => '1',
'2' => '2',
'3' => '3'
);
Which made no difference (clicking 0 or 1 etc and then "Add DB(s) to
data sources")...
"No data source for "0" RRA found in file
"/usr/local/etc/nagios/rrd//mailsrv_cpuload_cpu.rrd"!""
I do not appear to have any Event Files...
Version information from the help page of drraw is:
drraw.cgi 2.2a2 <1.214>
Perl 5.008008
CGI.pm 3.25
RRDs.pm 1.2019
Would someone be kind enough to shed some light on what I might be doing
wrong here?
Thank you
Steve.
More information about the drraw-users
mailing list