Re: [rrd-users] Extracting single values using rrdtool

2009-04-16 Thread Erik de Mare
for that there is the PRINT function in rrdtool graph, instead of the GPRINT. PRINT prints it to the stdout. Bredi wrote: The problem is that I get a list of values over the last hour as opposed to a single value representing the average over the hour. You can get one value if you

Re: [rrd-users] Automatic Timestamp in RRD graphs

2008-11-26 Thread Erik de Mare
add something like COMMENT:`date` On Wed, 26 Nov 2008 05:16:45 -0800 (PST), Martin Knoblauch [EMAIL PROTECTED] wrote: Hi, is there an rrdtool option to add a time stamp to the RRD graphs? That would be good for docimantation purposes. One can of course add them manually, but I am lazy :-)

Re: [rrd-users] I need help with my rrd file

2008-09-29 Thread Erik de Mare
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset=UTF-8

Re: [rrd-users] I need help with my rrd file

2008-09-26 Thread Erik de Mare
or use snmpwalk -Oqv -c public localhost no parsing needed rrdtool update file.rrd N:`snmpwalk -Oqv -c public localhost 1.3.6.1.2.1.2.2.1.16.4`:`snmpwalk -Oqv -c public localhost 1.3.6.1.2.1.2.2.1.16.4` and you only need to graph it On Fri, 26 Sep 2008 13:58:20 +0200, Andreas Maus [EMAIL

Re: [rrd-users] Aggregate/combine several RRDs

2008-06-20 Thread Erik de Mare
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Fri, 20 Jun 2008 09:41:18 +0200, Raimund Berger [EMAIL PROTECTED] wrote:

Re: [rrd-users] filter rrd data

2008-05-28 Thread Erik de Mare
add a CDEF with LIMIT. CDEF:new=old,100,LIMIT for example Mvg, Erik Maxim Kuleshov schreef: Hi! 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

Re: [rrd-users] Combine average data to one CDEF

2008-05-21 Thread Erik de Mare
On Wed, 21 May 2008 09:25:18 +0200, Hans van Kilsdonk [EMAIL PROTECTED] wrote: Hello, rrdtool graph test.png -s -1d -e now -t 'test graph' \ -l 0 -r -c GRID#66 -c MGRID#88 -w 495 -h 200 -a PNG \ -v 'bits per second' \ 'DEF:kbin1:/home/data/1.rrd:ds0:AVERAGE' \

Re: [rrd-users] Color effect

2008-04-17 Thread Erik de Mare
http://www.mail-archive.com/rrd-users@lists.oetiker.ch/msg09709.html Mvg, Erik On Thu, 17 Apr 2008 09:51:41 -0400, R Dicaire [EMAIL PROTECTED] wrote: On Thu, Apr 17, 2008 at 9:39 AM, Caio Brentano [EMAIL PROTECTED] wrote: I have a threshold value and when my data is about 85% of it, I need

Re: [rrd-users] simple [?] question

2008-02-06 Thread Erik de Mare
it to the stdout and with GPRINT it is printed inside the graph. Mvg, Erik de Mare On Wed, 6 Feb 2008 19:00:18 -0800, John Bramlett [EMAIL PROTECTED] wrote: I need some help formulating a command to extract some data from rrd files created by cacti. All I want returned is a single number representing

Re: [rrd-users] A few Newbie questions

2008-02-05 Thread Erik de Mare
,GPRINT:totalin:AVERAGE:Total traffic\\: %.2lf %s\\n); push(@data,GPRINT:totalout:AVERAGE:Total traffic\\: %.2lf %s); Mvg, Erik de Mare On Tue, 5 Feb 2008 23:17:47 +, Simon Hobson [EMAIL PROTECTED] wrote: apoch632 wrote: I have a set of .rrd databases which give the Internet usage of an IP address over

Re: [rrd-users] Area in different colors

2007-12-04 Thread Erik de Mare
I once made a little perl script for that. @color = ('00FF00','11FF00','22FF00','33FF00','44FF00','55FF00','66FF00','77FF00','88FF00','99FF00','AAFF00','BBFF00', 'CCFF00','DDFF00','EEFF00','00','FFEE00','FFDD00','FFCC00','FFBB00','FFAA00','FF9900','FF8800',

Re: [rrd-users] Graphing average temperatures

2007-11-21 Thread Erik de Mare
I think you are looking vor something like this: http://haas.oezie.org/rrd/temp/temp-year-vergelijk.png the thick lines are TREND lines with a window of 1 week. the thinner lines are the average values for that day, and the most thin lines are min and max values during that day. Petteri

Re: [rrd-users] Graphing average temperatures

2007-11-21 Thread Erik de Mare
, I think the sliding window average (TREND) could work for me. So I need to define a 24 hr sliding window to plot 24 hr averages? Is the TREND curve same as if I graphed this: GPRINT:Inside:AVERAGE:\t%6.2lf °C (on the picture on my last post)? Erik De Mare: how do you graph the averages

Re: [rrd-users] Need help with a CDEF/AREA setup

2007-10-27 Thread Erik de Mare
Hi, INF only graphs from 0 to infinity, so negative values will never be covered. you can add an other CDEF for the negative part with NEGINF. http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html INF, NEGINF Pushes a positive or negative infinite value on the stack. When such a value is

Re: [rrd-users] Need a way to show 2(or more) lines on a graph thathave nearly identical values

2007-09-25 Thread Erik de Mare
Other than putting them in individual graphs, am I missing a simple solution? Hmmm ... In this case (CPU utilization of 4 severs I assume) I would use individual graphs. or use transperency with the lines. LINE[width]:value[#color][:[legend][:STACK]] color can be RRGGBBAA where AA is the

Re: [rrd-users] rrdtool dump

2007-07-04 Thread Erik de Mare
rrdtool graph - DEF: CDEF: PRINT:.. On Wed, 4 Jul 2007 09:52:50 +0100, Geoff Garside [EMAIL PROTECTED] wrote: what kind of reports are that? with CDEF's and VDEF's you can do a lot, and let rrdtool print it to the commandline with PRINT and use it in your reports. example:

Re: [rrd-users] change background for special timeperiods

2007-07-03 Thread Erik de Mare
to color the night. What do we have to change? Thanks, Markus Erik de Mare schrieb: would be a little CDEF DEF:buiten=/root/rrd/temp/sensor0.rrd:C:AVERAGE CDEF:werk=LTIME,86400,%,28800,GT,LTIME,86400,%,64800,LT,INF,UNKN,buiten,*,IF,UNKN,buiten,*,IF where 28800(8:00) is the seconds

Re: [rrd-users] rrdtool dump

2007-07-03 Thread Erik de Mare
what kind of reports are that? with CDEF's and VDEF's you can do a lot, and let rrdtool print it to the commandline with PRINT and use it in your reports. example: VDEF:total_in=in,TOTAL PRINT:total_in:%.2lf Mvg, Erik Roberto Dud schreef: Hi All, I�m new on list, but I have a problem. Im

Re: [rrd-users] change background for special timeperiods

2007-07-02 Thread Erik de Mare
would be a little CDEF DEF:buiten=/root/rrd/temp/sensor0.rrd:C:AVERAGE CDEF:werk=LTIME,86400,%,28800,GT,LTIME,86400,%,64800,LT,INF,UNKN,buiten,*,IF,UNKN,buiten,*,IF where 28800(8:00) is the seconds since 0:00 when to start, and 64800(18:00) is the seconds since 0:00 when to stop. example graph:

Re: [rrd-users] can't sanity-check rrdtool with sample data ...please help

2007-06-27 Thread Erik de Mare
Hi, RRDtool uses when updating a timestamp, I think calculated the following way: timestamp - timastamp % stepsize when you update you are inserting data at each day at 8:00. try updateing it at 0:00 (what rrdtool fetch prints, 1141257600 = Thu, 02 Mar 2006 00:00:00 GMT) rrdtool update

Re: [rrd-users] Correct CDEF to get the spam count right?

2007-01-31 Thread Erik de Mare
hi Vincent, VDEF's aren't meant to make graphs, the are for aditional info in the legenda. VDEF's only return 1 value, like maximum value of the period graphed, of the total of that period. so for the graph you still need the CDEF's. mvg, Erik de Mare rrd-users@lists.oetiker.ch wrote

[rrd-users] Re: color tones

2005-05-06 Thread Erik de Mare
as a start. mvg Erik de Mare Alexander Krogloth wrote: hello, i want to know how to make rrdgraphs with these good-looking color tones -- http://people.ee.ethz.ch/~oetiker/webtools/rrdtool-1.0.x/gallery/beaumont-01.html i don't know how to set up the graph that there isn't a line where

[rrd-users] Re: Bandwidth per week

2005-04-14 Thread Erik de Mare
://haas.oezie.org/cgi-bin/traffic.pl?jaar=2005. the source of the scripts is at the bottom of the page. if there are any question, just ask. mvg Erik de Mare Anders Nielsen wrote: I am monitoring the bandwidth usage on the different network interfaces with rrd and it's great :) However, I would also

[rrd-users] Re: Calculate total over a give period of time

2005-02-24 Thread Erik de Mare
Georges Toth wrote: Hi, I got an rrd db, which i use for counting the traffic on an ethernet interface. Is it possible to print the total of in- and out-bytes over a give period of time ? If so, how ? some old scripting what I did. http://haas.oezie.org/overzicht.html

[rrd-users] Re: Data granularity

2005-01-20 Thread Erik de Mare
, and counts the new lines. strips them and count the apache errorcodes 200,404,502 etc. I will write som documentation about it like in http://haas.oezie.org/rrd/cpu.htm (sorry dutch only, maybe later in englisch). maybe you could take it also as an example and adjust i to your needs. mvg Erik de

[rrd-users] Re: 'graph' command printing to stdout

2004-12-09 Thread Erik de Mare
[EMAIL PROTECTED] wrote: Hello, I'm making my first steps with RRD (used MRTG several years ago), and I'm noticing that 'rrdtool graph...' command prints out something to stdout. In my case it prints: 800x205 that is the size of the picture, 800x205 pixels nothing to worry about. Thanks,

[rrd-users] Re: where to find help

2004-10-22 Thread Erik de Mare
Serge Maandag wrote: I don't recall seeing a question coming from your email-address. Serge. he asked 2 questions. 1: vieuwing values send 10-10-2004 5:42(awnsered by Serge Maandag om 10-10-2004 10:46), and 2: Correct Database Sizes send 11-10-2004 18:36.(not awnsered) -- Unsubscribe

[rrd-users] Re: Announcing yet another dynamic RRD cgi graph viewer

2004-09-30 Thread Erik de Mare
Haroon Rafique wrote: Hi list, The script is written in perl and is based off of Jan Yenya Kasprzak's script mrtg-rrd.cgi If it already uses perl why not make the data-collect script with a nice perl-NET::SNMP module? http://haas.oezie.org/rrd/ here are some script that I made with

[rrd-users] Re: Funny problem with RRD....

2004-05-04 Thread Erik de Mare
notice the capitale U DS:E-used:GAUGE:1500:0:U \ ERROR: No DS called 'E-Used' in 'pc.rrd' -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi

[rrd-users] Re: expected 2 data source got 8

2004-04-28 Thread Erik de Mare
instead of snmpwalk -v 1 -c public addr 1.3.6.1.2.1.2.2.1.10.1 use snmpwalk -O vq -v 1 -c public addr 1.3.6.1.2.1.2.2.1.10.1 look at snmpwalk -h -O OUTOPTSToggle various defaults controlling output display: v: print values only (not OID = value)

[rrd-users] Re: win2k and rrd

2004-04-07 Thread Erik de Mare
hope you can do something with it. David Puckett wrote: Hello All, Can anyone send some examples of monitoring CPU and HDD on Win2k with RRD? THanks, david -- Attached file removed by Ecartis and put at URL below -- -- Type: image/png -- Size: 2k (2278 bytes) -- URL :

[rrd-users] Re: network total traffic with rrd

2004-03-23 Thread Erik de Mare
are almoste the same as gbgraph(http://gbgraph.menthenberg.nl/) it is still in development. see attachments. maybe you can adjust the scripts so they can be useful for your situation. mvg Erik de Mare Guido Gavilanes Castillo wrote: I am using calc.pl to get total network traffic with mrtg

[rrd-users] Re: cuting peaks ?

2004-01-08 Thread Erik de Mare
Hugo van der Kooij wrote: On Thu, 8 Jan 2004, Alex van den Bogaerdt wrote: On Thu, Jan 08, 2004 at 11:24:24AM +0200, raptor wrote: Is there a method/way to cut high peaks so that other values do not flatten on the graphic... I have no MAX value set during creation of the RRD i.e.

[rrd-users] Re: Simple solution to a problem?

2003-04-09 Thread Erik de Mare
to be monitored, the script wil make an .rrd file and start monitoring. It still needs a lot of work. for example wrong data is not checked. The same you can do with HardDisk(OID .1.3.6.1.2.1.25.2.3.1), Uptime(OID .1.3.6.1.2.1.25.1.1.0) or Load(OID .1.3.6.1.4.1.2021.10.1.3) monitoring. Erik de Mare

[rrd-users] Re: Disk Usage per SNMP?

2003-04-06 Thread Erik de Mare
Hugo van der Kooij wrote: Hi, I am trying to graph diskusage with RRDtools. (Finally changing from MRTG) but it seems it does not work to well. I initialized the database with: rrdtool create /etc/stats/aragorn.disk.usr.rrd \ DS:units:GAUGE:600:U:U \ DS:size:ABSOLUTE:600:U:U