[rrd-users] filter rrd data

David Sambo david.sambo at fixnetix.com
Wed May 28 17:42:57 CEST 2008


Hi Guys;

 

I have been trying to tackle Cacti, front end the Debug view is shown
below:

 

RRDTool Command:

 

C:\wamp\www\rrdtool\rrdtool.exe graph - \

--imgformat=PNG \

--start=-86400 \

--end=-300 \

--title="My Windows localhost - Processes" \

--base=1000 \

--height=500 \

--width=500 \

--alt-autoscale-max \

--lower-limit=0 \

--vertical-label="processes" \

--slope-mode \

--font TITLE:12: \

--font AXIS:8: \

--font LEGEND:10: \

--font UNIT:8: \

DEF:a="C\:/wamp/www/Cacti/rra/c\:\wamp\www\rrdtool\my_windows_localhost_
users_9.rrd":users:AVERAGE \

AREA:a#F51D30FF:"Running Processes"  \

GPRINT:a:LAST:"Current\:%8.0lf"  \

GPRINT:a:AVERAGE:"Average\:%8.0lf"  \

GPRINT:a:MAX:"Maximum\:%8.0lf" 

RRDTool Says:

 

ERROR: opening
'C:/wamp/www/Cacti/rra/c:\wamp\www\rrdtool\my_windows_localhost_users_9.
rrd': Invalid argument

 

 

Can anyone help me to tackle this issue as I cannot change the
path/directory :

'C:/wamp/www/Cacti/rra/c:\wamp\www\rrdtool\my_windows_localhost_users_9.
rrd' 

 

Where on Cacti I enter the path:

 

c:\wamp\www\rrdtool\my_windows_localhost_users_9.rrd

 

is the location of my RRD file as defined by Cacti Data Source Debug
below:

 

c:\wamp\www\rrdtool\my_windows_localhost_users_9.rrd \

--step 300  \

DS:users:GAUGE:600:0:5000 \

RRA:AVERAGE:0.5:1:600 \

RRA:AVERAGE:0.5:6:700 \

RRA:AVERAGE:0.5:24:775 \

RRA:AVERAGE:0.5:288:797 \

RRA:MAX:0.5:1:600 \

RRA:MAX:0.5:6:700 \

RRA:MAX:0.5:24:775 \

RRA:MAX:0.5:288:797 \

 

 

But when I manually enter the command using Command line :

 

C:\wamp\www\rrdtool>rrdtool graph my_windows_localhost_users_9.png
--start 920804700 --end 920806700 --title "My Win

dows localhost - Processes" --height 500 --width 500 --alt-autoscale-max
--lower-limit 0 --vertical-label "processes

" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font
UNIT:8: DEF:a=my_windows_localhost_users_9.r

rd:users:AVERAGE AREA:a#F51D30FF:"Running Processes"
GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0

lf" GPRINT:a:MAX:"Maximum\:%8.0lf"

603x612

 

Although the Graph is not shown immediately I can see that is has been
created and the my_windows_localhost_users_9.png has been created.

 

Please help, as I not sure where to tweak variables or data's from
within the Cacti window.

 

Cheers

 

David

 

 

-----Original Message-----
From: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Marc Powell
Sent: 28 May 2008 15:23
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] filter rrd data

 

 

On May 28, 2008, at 8:00 AM, Maxim Kuleshov wrote:

> I could manually dump .rrd, edit xml and then restore it, but may be

> there is a tool (third-party?) performing filtering raw values

> (already stored in file) for specified boundary, substituting "bad"

> values for "unknown"?

> 

 

I believe that killspike.pl is in the main distribution under contrib.  

If not, Goggle probably knows where it lives. It dumps, tunes and  

restores based on your specified maximum value.

 

--

Marc

 

 

 

_______________________________________________

rrd-users mailing list

rrd-users at lists.oetiker.ch

https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080528/af8f9005/attachment.html 


More information about the rrd-users mailing list