From rrd-users at gulu.net Fri Jun 1 07:11:11 2001 From: rrd-users at gulu.net (rrd-users at gulu.net) Date: Fri, 1 Jun 2001 07:11:11 +0200 Subject: [rrd-users] my solution: distributed rrd files In-Reply-To: <20010530151013.A1770@easy.roka.net>; from rrd-users@gulu.net on Wed, May 30, 2001 at 03:10:13PM +0200 References: <20010530151013.A1770@easy.roka.net> Message-ID: <20010601071111.A6956@easy.roka.net> On Wed, May 30, 2001 at 03:10:13PM +0200, rrd-users at gulu.net wrote: > I have several machines collecting different rrd data. > > [...] Thanks to everyone who answered my question. As always, shortly after posting to the list my solution became obvious. I already did create cgi files for my index pages who called rrdcgi, so I just had to put some more code there: $ cat old #!/usr/bin/rrdcgi [...] $ cat new #!/bin/bash mkdir -p /data2/router1 scp -p -q -B user at host1:/data/router1/{P10-1.rrd,G9-0.rrd,A4-2.rrd} \ /data2/router1/ /usr/bin/rrdcgi - < [...] EOF $ So this works fine, fast and smooth, please take my question as never asked. Tobi: Please forget my feature request. ;) Thanks again to all people who answered! krd. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dl at tyfon.net Fri Jun 1 11:16:30 2001 From: dl at tyfon.net (Dan Larsson) Date: Fri, 1 Jun 2001 11:16:30 +0200 (CEST) Subject: [rrd-users] [OffTopic] Problems graphing CPU/MEM usage on HP8000 and HP2500 switches Message-ID: <20010601111205.A17817-100000@hq1.tyfon.net> The manuals say it's possible to find the percentages of the amount cpu time and memory used on the switches with snmp. However I'm at loss on what OIDs to use. Any ideas? Regards +------ Dan Larsson | Tel: +46 8 550 120 21 Tyfon Svenska AB | Fax: +46 8 550 120 02 GPG and PGP keys | finger dl at hq1.tyfon.net -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ambles at inktomi.com Wed Jun 6 00:01:59 2001 From: ambles at inktomi.com (Ambles Kock) Date: Tue, 5 Jun 2001 15:01:59 -0700 Subject: [rrd-users] Limit on DS values? 32 bits? 64 bits? References: <20010601111205.A17817-100000@hq1.tyfon.net> Message-ID: <003201c0ee0b$249b43a0$c83483d1@inktomi.com> Hi all, I read through the RRD webpages and news, and still can't find the answer. I probably overlooked, but anyways, here is my questions? What is the largest values to update a DS? In the RRD webpage, it briefly covered about doing something special for SNMP 64 bits values. What about if I am no using SNMP, can I still update the RRD with 64 bits values? Your help is greatly appreicated. Ambles -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Wed Jun 6 01:04:09 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Wed, 6 Jun 2001 01:04:09 +0200 (CEST) Subject: [rrd-users] Re: Limit on DS values? 32 bits? 64 bits? In-Reply-To: <003201c0ee0b$249b43a0$c83483d1@inktomi.com> from "Ambles Kock" at Jun 05, 2001 03:01:59 PM Message-ID: <200106052304.BAA29245@slot.hollandcasino.nl> Ambles Kock wrote: > What is the largest values to update a DS? In the RRD webpage, it briefly > covered about doing something special for SNMP 64 bits values. What about if > I am no using SNMP, can I still update the RRD with 64 bits values? RRDtool works with "double" type of numbers. This means that the maximum value is probably never reached. I'm not sure if this is dependent on architecture and/or OS, but here's what I found as maximum: 1.79769313486231470e+308 It probably is dependent on the architecture, however it will be a very large number in any case. My C-referency guide tells me double ranges from 1.7E-308 to 1.7E+308 (I think this is wrong, they probably should say -(1.7E+308) to 1.7E+308). More important here is the resolution. The IEEE standard dictates at least 15 significant digits. Thus, there will be no difference between 1.79769313486231470e+308 and 1.79769313486231470e+308 +1 64-bit counters reach from -9223372036854775808 to 9223372036854775807 and may therefore suffer from a loss in resolution when ***very*** high numbers are input. In practice however you will not encounter this limit. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From krd-rrd-users at roka.net Wed Jun 6 12:41:54 2001 From: krd-rrd-users at roka.net (krd-rrd-users at roka.net) Date: Wed, 6 Jun 2001 12:41:54 +0200 Subject: [rrd-users] Re: my solution: distributed rrd files Message-ID: <20010606124154.A4134@roka.net> On Fri, Jun 01, 2001 at 08:44:45AM +0200, Patrick Ammann wrote: > as i'm also interested in doing the same as you want to do i would ask if > it is possible that you post the whole cgi script. > i'm pretty sure that also other rrd users would use it Here we go, even if I don't think this is useful. (Perhaps some details might be an idea to anyone.) Please note that this is not build by hand but by a perl script (which is highly customized for our network environment and is useless for you.) #!/bin/bash mkdir -p /data2/router1 scp -p -q -B user at linux1:/data/router1/P4-1.rrd /data2/router1/ mkdir -p /data2/router2 scp -p -q -B user at linux2:/data/router2/P4-0.rrd /data2/router2/ /usr/bin/rrdcgi - < Traffic Monitor Overview

Traffic Monitor Overview

' DEF:inoctets=/data2/router1/P4-1.rrd:input:AVERAGE DEF:outoctets=/data2/router1/P4-1.rrd:output:AVERAGE CDEF:inbits=inoctets,8,* CDEF:outbits=outoctets,8,* CDEF:inpct=inbits,1550000,/ CDEF:outpct=outbits,1550000,/ CDEF:innorm=inpct,UN,inbits,inpct,60,GT,93000000,inbits,IF,IF CDEF:inwarn=inpct,UN,inbits,inpct,60,GT,inpct,80,GT,124000000,93000000,-,inbits,93000000,-,IF,0,IF,IF CDEF:inaler=inpct,UN,inbits,inpct,60,GT,inpct,80,GT,inbits,124000000,-,0,IF,0,IF,IF HRULE:155000000#FF0000: CDEF:outnorm=outpct,UN,outbits,outbits,IF CDEF:outwarn=outpct,UN,outbits,outpct,60,GT,outbits,UNKN,IF,IF CDEF:outaler=outpct,UN,outbits,outpct,80,GT,outbits,UNKN,IF,IF AREA:innorm#00FF00:"," STACK:inwarn#FFFF00:"," STACK:inaler#FF0000:"In traffic ;" LINE2:outnorm#0000FF:"," LINE2:outwarn#FF00FF:"," LINE2:outaler#000000:"Out traffic\l" COMMENT:"\r" GPRINT:inbits:LAST:"Current In\: %6.2lf %s" GPRINT:inpct:LAST:" %4.1lf %%" GPRINT:outbits:LAST:"Current Out\: %6.2lf %s" GPRINT:outpct:LAST:" %4.1lf %%\r" GPRINT:inbits:AVERAGE:"Average In\: %6.2lf %s" GPRINT:inpct:AVERAGE:" %4.1lf %%" GPRINT:outbits:AVERAGE:"Average Out\: %6.2lf %s" GPRINT:outpct:AVERAGE:" %4.1lf %%\r" GPRINT:inbits:MAX:" Peak In\: %6.2lf %s" GPRINT:inpct:MAX:" %4.1lf %%" GPRINT:outbits:MAX:" Peak Out\: %6.2lf %s" GPRINT:outpct:MAX:" %4.1lf %%\r">

' DEF:inoctets=/data2/router2/P4-0.rrd:input:AVERAGE DEF:outoctets=/data2/router2/P4-0.rrd:output:AVERAGE CDEF:inbits=inoctets,8,* CDEF:outbits=outoctets,8,* CDEF:inpct=inbits,1550000,/ CDEF:outpct=outbits,1550000,/ CDEF:innorm=inpct,UN,inbits,inpct,60,GT,93000000,inbits,IF,IF CDEF:inwarn=inpct,UN,inbits,inpct,60,GT,inpct,80,GT,124000000,93000000,-,inbits,93000000,-,IF,0,IF,IF CDEF:inaler=inpct,UN,inbits,inpct,60,GT,inpct,80,GT,inbits,124000000,-,0,IF,0,IF,IF HRULE:155000000#FF0000: CDEF:outnorm=outpct,UN,outbits,outbits,IF CDEF:outwarn=outpct,UN,outbits,outpct,60,GT,outbits,UNKN,IF,IF CDEF:outaler=outpct,UN,outbits,outpct,80,GT,outbits,UNKN,IF,IF AREA:innorm#00FF00:"," STACK:inwarn#FFFF00:"," STACK:inaler#FF0000:"In traffic ;" LINE2:outnorm#0000FF:"," LINE2:outwarn#FF00FF:"," LINE2:outaler#000000:"Out traffic\l" COMMENT:"\r" GPRINT:inbits:LAST:"Current In\: %6.2lf %s" GPRINT:inpct:LAST:" %4.1lf %%" GPRINT:outbits:LAST:"Current Out\: %6.2lf %s" GPRINT:outpct:LAST:" %4.1lf %%\r" GPRINT:inbits:AVERAGE:"Average In\: %6.2lf %s" GPRINT:inpct:AVERAGE:" %4.1lf %%" GPRINT:outbits:AVERAGE:"Average Out\: %6.2lf %s" GPRINT:outpct:AVERAGE:" %4.1lf %%\r" GPRINT:inbits:MAX:" Peak In\: %6.2lf %s" GPRINT:inpct:MAX:" %4.1lf %%" GPRINT:outbits:MAX:" Peak Out\: %6.2lf %s" GPRINT:outpct:MAX:" %4.1lf %%\r">



' DEF:inpadda=/data2/router1/P4-1.rrd:input:AVERAGE DEF:outpadda=/data2/router1/P4-1.rrd:output:AVERAGE CDEF:inpadda2=inpadda,UN,0,inpadda,IF CDEF:outpadda2=outpadda,UN,0,outpadda,IF DEF:inpaddb=/data2/router2/P4-0.rrd:input:AVERAGE DEF:outpaddb=/data2/router2/P4-0.rrd:output:AVERAGE CDEF:inpaddb2=inpaddb,UN,0,inpaddb,IF CDEF:outpaddb2=outpaddb,UN,0,outpaddb,IF CDEF:inoctets=inpadda2,inpaddb2,+ CDEF:outoctets=outpadda2,outpaddb2,+ CDEF:inbits=inoctets,8,* CDEF:outbits=outoctets,8,* AREA:inbits#00FF00:" In traffic" LINE2:outbits#0000FF:"Out traffic\l" COMMENT:"\r" GPRINT:inbits:LAST:"Current In\: %6.2lf %s" GPRINT:outbits:LAST:"Current Out\: %6.2lf %s\r" GPRINT:inbits:AVERAGE:"Average In\: %6.2lf %s" GPRINT:outbits:AVERAGE:"Average Out\: %6.2lf %s\r" GPRINT:inbits:MAX:" Peak In\: %6.2lf %s" GPRINT:outbits:MAX:" Peak Out\: %6.2lf %s\r"> EOF > >On Wed, May 30, 2001 at 03:10:13PM +0200, rrd-users at gulu.net wrote: > > > I have several machines collecting different rrd data. > > > > > > [...] > > > >Thanks to everyone who answered my question. > > > >As always, shortly after posting to the list my solution became obvious. > >I already did create cgi files for my index pages who called rrdcgi, > >so I just had to put some more code there: > > > >$ cat old > >#!/usr/bin/rrdcgi > >[...] > >$ cat new > >#!/bin/bash > >mkdir -p /data2/router1 > >scp -p -q -B user at host1:/data/router1/{P10-1.rrd,G9-0.rrd,A4-2.rrd} \ > > /data2/router1/ > >/usr/bin/rrdcgi - < >[...] > >EOF > >$ > > > >So this works fine, fast and smooth, please take my question as never asked. > > > >Tobi: Please forget my feature request. ;) > > > >Thanks again to all people who answered! krd. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From krd-rrd-users at roka.net Wed Jun 6 12:50:23 2001 From: krd-rrd-users at roka.net (krd-rrd-users at roka.net) Date: Wed, 6 Jun 2001 12:50:23 +0200 Subject: [rrd-users] VRULE with dynamic time Message-ID: <20010606125023.A4352@roka.net> Hallo. I would like to get an rrd graph over 60 hours, with a VRULE at one day ago. I tried the following, but this doesn't seem to be supported. ([ERROR: can't parse 't2#FF0000:']) What can I do? CDEF:t=NOW CDEF:t2=t,86400,- VRULE:t2#FF0000: krd. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Wed Jun 6 14:32:56 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Wed, 6 Jun 2001 14:32:56 +0200 (CEST) Subject: [rrd-users] Re: VRULE with dynamic time In-Reply-To: <20010606125023.A4352@roka.net> from "krd-rrd-users@roka.net" at Jun 06, 2001 12:50:23 PM Message-ID: <200106061232.OAA05177@slot.hollandcasino.nl> krd-rrd-users at roka.net wrote: > > I would like to get an rrd graph over 60 hours, with a VRULE at one day ago. > > I tried the following, but this doesn't seem to be supported. > ([ERROR: can't parse 't2#FF0000:']) > > What can I do? > > CDEF:t=NOW > CDEF:t2=t,86400,- > VRULE:t2#FF0000: This won't work. You have to calculate "now" and "now-1d" in the front end. The results can be given to RRDtool. CDEF:t=NOW doesn't work (AFAIK) CDEF:t2=t,86400 won't work because of the previous error VRULE:t2#FF0000 won't work because t2 should be a number, not a var (this last thing is expected to change in the future). For now: in your script calculate t and t2. Then give "CDEF:${t2}#FF0000:" to RRDtool (where "${t2}" is parsed by your OS, not by RRDtool) HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From f741r at unb.ca Wed Jun 6 15:12:46 2001 From: f741r at unb.ca (f741r) Date: Wed, 6 Jun 2001 10:12:46 -0300 Subject: [rrd-users] routers.cgi Message-ID: <3B1D4805@webmail1> Hello I have a few queries regarding Routers.cgi script used with the RRDTool. 1) How do you configure the graphs so the scales are in different units? 2) Also, I have to monitor over 150 routers, and I don't want 150 instances of perl running in the background. I can use mrtg to create config files for as many routers as I want, but the routers.cgi script won't display all of them, only a few. Does anyone know of an efficient way to do this? 3) Finally, I want to make an index page so that if a user types in the name of the router in a form, the graphs for that router will be displayed (using routers.cgi) If anyone can help me out, that would be greatly appreciated. Thanks Raman Verma -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From krd-rrd-users at roka.net Wed Jun 6 15:30:52 2001 From: krd-rrd-users at roka.net (Patrick Rother) Date: Wed, 6 Jun 2001 15:30:52 +0200 Subject: [rrd-users] Re: VRULE with dynamic time In-Reply-To: <200106061232.OAA05177@slot.hollandcasino.nl>; from alex@slot.hollandcasino.nl on Wed, Jun 06, 2001 at 02:32:56PM +0200 References: <20010606125023.A4352@roka.net> <200106061232.OAA05177@slot.hollandcasino.nl> Message-ID: <20010606153052.A8762@roka.net> On Wed, Jun 06, 2001 at 02:32:56PM +0200, Alex van den Bogaerdt wrote: > krd-rrd-users at roka.net wrote: > > I would like to get an rrd graph over 60 hours, with a VRULE at one day ago. > > > > I tried the following, but this doesn't seem to be supported. > > ([ERROR: can't parse 't2#FF0000:']) > > > > What can I do? > > > > CDEF:t=NOW > > CDEF:t2=t,86400,- > > VRULE:t2#FF0000: > > This won't work. You have to calculate "now" and "now-1d" in the > front end. The results can be given to RRDtool. > > CDEF:t=NOW doesn't work (AFAIK) > CDEF:t2=t,86400 won't work because of the previous error > VRULE:t2#FF0000 won't work because t2 should be a number, not a var > > (this last thing is expected to change in the future). > > For now: in your script calculate t and t2. Then give "CDEF:${t2}#FF0000:" > to RRDtool (where "${t2}" is parsed by your OS, not by RRDtool) Thank you for this, it seems to work well. t=`date -d "one day ago" +%s` VRULE:${t}#FF0000: Thank you! krd. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Wed Jun 6 15:58:03 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Wed, 06 Jun 2001 09:58:03 EDT Subject: [rrd-users] GNU Make error Message-ID: Hey all, I am running HP UX with PHP, mySQL, Apache, MRTG, GD and all the good stuff installed. I am trying to play around with rrdtool but i am having some difficulties compiling it. I dont use GCC just the regular CC compiler that comes with HP which hasnt given me any problems yet. I compiled GNU Make cause i was told i needed atleast that, and that went well. But now i have an issue running "make" this is what I get: sh: pod2man: not found. *** Error exit code 127 Stop. *** Error exit code 1 Stop. Anyone know what this is and how I can rectify this? Thanks.. Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Thu Jun 7 10:57:27 2001 From: julius at softwell.se (Anders Ringaby) Date: Thu, 7 Jun 2001 10:57:27 +0200 (CEST) Subject: [rrd-users] Re: GNU Make error In-Reply-To: Message-ID: Hello. pod2man is a perl script, and obviously you do not have it installed, or its not in your PATH. I beleive pod2man will be installed if you install perl. Correct the problem and run make again. Anders Ringaby On Wed, 6 Jun 2001 HurricaneIndy at aol.com wrote: > > Hey all, > I am running HP UX with PHP, mySQL, Apache, MRTG, GD and all the good stuff > installed. I am trying to play around with rrdtool but i am having some > difficulties compiling it. I dont use GCC just the regular CC compiler that > comes with HP which hasnt given me any problems yet. I compiled GNU Make > cause i was told i needed atleast that, and that went well. But now i have an > issue running "make" this is what I get: > > sh: pod2man: not found. > *** Error exit code 127 > > Stop. > *** Error exit code 1 > > Stop. > > Anyone know what this is and how I can rectify this? > Thanks.. > > > Indy > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mohacsi at ik.bme.hu Fri Jun 8 14:17:32 2001 From: mohacsi at ik.bme.hu (Mohacsi Janos) Date: Fri, 8 Jun 2001 14:17:32 +0200 (MET DST) Subject: [rrd-users] Question about concurent access of RRD database? Message-ID: Hi, What happens if 2 process is updating in the same time the same RRD database (of course different variable)? Thanks, Janos Mohacsi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mohacsi at ik.bme.hu Fri Jun 8 14:18:02 2001 From: mohacsi at ik.bme.hu (Mohacsi Janos) Date: Fri, 8 Jun 2001 14:18:02 +0200 (MET DST) Subject: [rrd-users] Question about the frequency graphing. Message-ID: Hi, Is there a way to make frequency function and then plot of the collected RRD datas? Thanks, Janos Mohacsi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Fri Jun 8 14:41:24 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Fri, 8 Jun 2001 14:41:24 +0200 (CEST) Subject: [rrd-users] Re: Question about concurent access of RRD database? In-Reply-To: from "Mohacsi Janos" at Jun 08, 2001 02:17:32 PM Message-ID: <200106081241.OAA04546@slot.hollandcasino.nl> Mohacsi Janos wrote: > > Hi, > What happens if 2 process is updating in the same time the same > RRD database (of course different variable)? You need to read more about RRDtool. "Of course different variable" tells that you don't understand how RRDtool works. An RRD is updated for all DSes (variables) at the same time. No exceptions. If you don't specify a value for a certain DS, the unknown value is used. To answer your question: It is not possible. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mohacsi at ik.bme.hu Fri Jun 8 15:33:54 2001 From: mohacsi at ik.bme.hu (Mohacsi Janos) Date: Fri, 8 Jun 2001 15:33:54 +0200 (MET DST) Subject: [rrd-users] Re: Question about concurent access of RRD database? In-Reply-To: <200106081241.OAA04546@slot.hollandcasino.nl> Message-ID: On Fri, 8 Jun 2001, Alex van den Bogaerdt wrote: > Date: Fri, 8 Jun 2001 14:41:24 +0200 (CEST) > From: Alex van den Bogaerdt > To: Mohacsi Janos > Cc: RRD users > Subject: Re: [rrd-users] Question about concurent access of RRD database? > > Mohacsi Janos wrote: > > > > Hi, > > What happens if 2 process is updating in the same time the same > > RRD database (of course different variable)? > > You need to read more about RRDtool. "Of course different variable" > tells that you don't understand how RRDtool works. I think I understand how the RRDtool works. Let suppose the following scenario: You are collecting data that are related to each other with different methods (for the simplicity 2 different measuring methods for 2 different metric). You start to collect them in the same time, but both takes a long time, let suppose between 30-90 seconds. You want to store the measured data as soon as possible, and you can do it with specifying the template for the DS respectively. You are collecting the data for every 10 minutes, but you are only interested in the hourly average. > > An RRD is updated for all DSes (variables) at the same time. No > exceptions. If you don't specify a value for a certain DS, the > unknown value is used. I use the template. > > To answer your question: It is not possible. Yes it is possible, I am doing it for more than half a month, but I want to know, whether it is dangerous for the consistency of the RRD database or not. Thanks, Janos Mohacsi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mark.smith at comdev.cc Fri Jun 8 18:21:47 2001 From: mark.smith at comdev.cc (Mark Smith) Date: Fri, 08 Jun 2001 09:21:47 -0700 Subject: [rrd-users] Re: Question about concurent access of RRD database? References: <200106081241.OAA04546@slot.hollandcasino.nl> Message-ID: <3B20FB9B.60109@comdev.cc> Let me ask a slightly different question: Does RRDTool perform file locking? If I have two processes trying to work on the same file, does it handle it gracefully? -Mark Alex van den Bogaerdt wrote: > Mohacsi Janos wrote: > >> Hi, >> What happens if 2 process is updating in the same time the same >> RRD database (of course different variable)? > > > You need to read more about RRDtool. "Of course different variable" > tells that you don't understand how RRDtool works. > > An RRD is updated for all DSes (variables) at the same time. No > exceptions. If you don't specify a value for a certain DS, the > unknown value is used. > > To answer your question: It is not possible. > > HTH -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sat Jun 9 00:44:31 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sat, 9 Jun 2001 00:44:31 +0200 (CEST) Subject: [rrd-users] Re: Question about concurent access of RRD database? In-Reply-To: <3B20FB9B.60109@comdev.cc> from "Mark Smith" at Jun 08, 2001 09:21:47 AM Message-ID: <200106082244.AAA11494@slot.hollandcasino.nl> Mark Smith wrote: > > Let me ask a slightly different question: > > Does RRDTool perform file locking? If I have two processes trying to > work on the same file, does it handle it gracefully? It does. The locking mechanism is inside rrd_update.c The process that looses the battle will exit with an error if I'm not mistaking. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Sat Jun 9 08:18:03 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Sat, 9 Jun 2001 02:18:03 EDT Subject: [rrd-users] Setting Up Time Message-ID: <123.1314ad.2853199b@aol.com> Ok guys, A bit confused on this time thing. When filling the database up do you have to use "epoch" time from 1970? I checked out the man page on rrdtool fetch and it talked about how to specify AT-STYLE formatting. I would rather use many of the other formats like 20010609 to specify date and time rather than "epoch". But according to the documentation it says this: The time when the graph should begin. Time in seconds since epoch (1970-01-01) is required. Then it goes on to say other ways to specify time. So what exactly is required? Any information would greatly be appreciated.... Thanks.... Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From paulw at oninit.com Fri Jun 8 20:40:43 2001 From: paulw at oninit.com (paulw at oninit.com) Date: Fri, 08 Jun 2001 19:40:43 +0100 Subject: [rrd-users] A beginners question References: <200106081241.OAA04546@slot.hollandcasino.nl> <3B20FB9B.60109@comdev.cc> Message-ID: <3B211C2B.72471A59@oninit.com> Is there a limit to number of RRAs that can be stored in a single rrd file? Are there performance fall offs once you get above a particuler number of RRAs in a single rrd? TIA -- Paul Watson # Oninit Ltd # You are only young once Tel: +44 1436 672201 # but you can be immature Fax: +44 1436 678693 # for ever www.oninit.com # -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sat Jun 9 11:28:48 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sat, 9 Jun 2001 11:28:48 +0200 (CEST) Subject: [rrd-users] Re: Setting Up Time In-Reply-To: <123.1314ad.2853199b@aol.com> from "HurricaneIndy@aol.com" at Jun 09, 2001 02:18:03 AM Message-ID: <200106090928.LAA18119@slot.hollandcasino.nl> HurricaneIndy at aol.com wrote: > A bit confused on this time thing. When filling the database up do you have > to use "epoch" time from 1970? I checked out the man page on rrdtool fetch > and it talked about how to specify AT-STYLE formatting. I would rather use > many of the other formats like 20010609 to specify date and time rather than > "epoch". Look at rrdtool as a set of programs. The update program, which is used to store values into the database, needs the timestamp in the epoch format. As this is (usually) done from a program, it doesn't really matter. Perl knows how to provide this time, the GNU date program knows how, if you're programming a front end in C, there are functions to get it etcetera etcetera. Two examples: bash $ date +%s perl -e 'use POSIX;print time();' > But according to the documentation it says this: > > The time when the graph should begin. Time in seconds since epoch > (1970-01-01) is required. For both fetch and graph, you can specify the time in a more human readable form. The time string can therefore be generated from almost any source, such as a web form. HTH, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sat Jun 9 11:40:41 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sat, 9 Jun 2001 11:40:41 +0200 (CEST) Subject: [rrd-users] Re: A beginners question In-Reply-To: <3B211C2B.72471A59@oninit.com> from "paulw@oninit.com" at Jun 08, 2001 07:40:43 PM Message-ID: <200106090940.LAA18253@slot.hollandcasino.nl> paulw at oninit.com wrote: > Is there a limit to number of RRAs that can be stored in a single > rrd file? Are there performance fall offs once you get above a > particuler number of RRAs in a single rrd? If there is a limit I wouldn't know of it. Of course, the file size will grow and you may hit an OS limitation ! RRAs are used to consolidate the data a collection time. This saves time and resources at graph time. If you create a lot of graphs and carefully design your RRAs, you may even use lesser resources in the end. OTOH, for setups that need virtually no graphing/fetching except once in a while and automated, it may be a waste to implement more than one RRA. For a RRA to be really effective, you need to create a graph that is querying for data in exactly the resolution this RRA contains. Example: if you create a graph with a size of 400 pixels, and the time span of this graph is 100 hours, each pixel represents exactly 15 minutes. In this case it is useful (but not necessary) to have a RRA that contains consolidated data in that resolution. If there is only a RRA with data in 300-second resolution, the data will be consolidated at graph time. The end result is the same, it is the moment when consolidating occurs. Of course, if you're never going to create this graph, it isn't useful at all to have this RRA and it is just a waste of resources. HTH, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Sat Jun 9 15:29:29 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Sat, 9 Jun 2001 09:29:29 EDT Subject: [rrd-users] Re: Setting Up Time Message-ID: <97.169ced96.28537eb9@aol.com> Hmm interesting, So let's see if I get this correct. For Creating, fetching and graphing you can use any AT-STYLE formatting. And for just Updating, I MUST use the timestamp style...?? I will most likely be using PHP as the interface so I beleive it has a Timestamp feature... Thanks guys.... Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jfesler at gigo.com Sat Jun 9 16:50:13 2001 From: jfesler at gigo.com (Jason Fesler) Date: Sat, 9 Jun 2001 07:50:13 -0700 (PDT) Subject: [rrd-users] Re: Setting Up Time In-Reply-To: <97.169ced96.28537eb9@aol.com> Message-ID: > So let's see if I get this correct. > For Creating, fetching and graphing you can use any AT-STYLE formatting. > And for just Updating, I MUST use the timestamp style...?? If your updates are relative to "now", just use "N" as the timestamp. rrd will do a time() internally and use it. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jfesler at gigo.com Sat Jun 9 17:12:23 2001 From: jfesler at gigo.com (Jason Fesler) Date: Sat, 9 Jun 2001 08:12:23 -0700 (PDT) Subject: [rrd-users] Re: A beginners question In-Reply-To: <3B211C2B.72471A59@oninit.com> Message-ID: > Is there a limit to number of RRAs that can be stored in a single > rrd file? Are there performance fall offs once you get above a > particuler number of RRAs in a single rrd? DS and RRA counts are stored as "unsigned long". Virtually unlimited. You're going to run into other limits before you run into the hard RRA limit of 4294967295. Your .rrd file size, depending on your OS, has a maximum file size of 2 gigs. As to the performance.. I can *definately* say that each RRA adds that much more IO requirements. I have 10 RRA's in most of my .rrd files. I had to throw a lot of money at the RRD box in terms of disk spindles to stay with the company's policy on operating system choices. I am currently tracking 65000 values (most of those, per-minute), for a total of 650000 RRA's. I've had to toss two hardware raids at this (16 spindles for RRD, non-raid spindles for the OS etc). According to iostat, on *average* this hardware is about 45 %b. CPU on average is 50% idle, 25% IO wait, and 25% busy. Note, I only draw graphs on-demand. Before, when we ran some of the graphs always, we required a second e450 with a similiar disk configuration. I suggestion (strongly) that unless you have a compelling reason to generate static images.. don't. It'll burn away at your capacity very quickly. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sat Jun 9 17:26:35 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sat, 9 Jun 2001 17:26:35 +0200 (CEST) Subject: [rrd-users] Re: A beginners question In-Reply-To: from "Jason Fesler" at Jun 09, 2001 08:12:23 AM Message-ID: <200106091526.RAA21979@slot.hollandcasino.nl> Jason Fesler wrote: > As to the performance.. I can *definately* say that each RRA adds that > much more IO requirements. I have 10 RRA's in most of my .rrd files. I Maybe you can trade in hard drive space for a performance gain. This of course depends highly on the details of your setup, however it is worth trying. If you don't create graphs often, most of the current disk IO is wasted. Also, if your graphs are not created with a resolution that is available in one of the RRAs, current disk IO is wasted. Maybe you can setup a test RRD with only one RRA. If you use this RRA to graph 400 days, rrdtool will need to consolidate 400 times 1440 CDPs into 400 pixels. However, you currently are doing the same spread out over time, even if you're not going to graph it. cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Sat Jun 9 17:33:52 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Sat, 9 Jun 2001 11:33:52 EDT Subject: [rrd-users] Value Confusion... Message-ID: <9a.15705e6f.28539be0@aol.com> Hey all, A bit confused about storing values in the RRA. According to the tutorial this is what you input.. rrdtool update test.rrd 920804700:12345 920805000:12357 920805300:12363 Then when you fetch the data you get: 920804700: NaN 920805000: 0.04 920805300: 0.02 920805600: 0.02 etc etc.... I dont understand how 12345, 12357 can get you 0.04 and so on..... Reason why I ask is I am getting a lot of NaN while inputting values so I beleive its my lack of understanding of how the values are input..... Thanks guys... Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jfesler at gigo.com Sat Jun 9 17:36:50 2001 From: jfesler at gigo.com (Jason Fesler) Date: Sat, 9 Jun 2001 08:36:50 -0700 (PDT) Subject: [rrd-users] Re: A beginners question In-Reply-To: <200106091526.RAA21979@slot.hollandcasino.nl> Message-ID: > Maybe you can trade in hard drive space for a performance gain. > This of course depends highly on the details of your setup, however > it is worth trying. I did try this to a certain extent ages ago; haven't tried it recently. > If you don't create graphs often, most of the current disk IO is wasted. > Also, if your graphs are not created with a resolution that is available > in one of the RRAs, current disk IO is wasted. Currently I have 5 days at per-minute resolution. After that, it degrades. I'm also using min/max/average storage, which, in hindsight, is stupid (nobody is viewing anything but average). If I had a *good* way to clean these out I would :-). The XML dump process is too painfull. I should get around to marking off on my todo list the ds/rra adding in rrdtool itself [and at the same time, allow for ds/rra removing]. Perl scripts just aren't portable enough for more than one platform without lots of "use this pack string if you're on this OS" magic. > Maybe you can setup a test RRD with only one RRA. If you use this > RRA to graph 400 days, rrdtool will need to consolidate 400 times > 1440 CDPs into 400 pixels. However, you currently are doing the same > spread out over time, even if you're not going to graph it. The big problem, is that the data *is* refered to often - just not every minute or 10 or 20. Having one year-long per-minute storage of the data is *very* slow to graph long periods of time for, which some of the people here use to look at trends for given customers, clusters, etc. Doing graphs on demand was a *big* win performance wise - but I can't go so far as to make it tedious and long for the other users to make use of. I'll certainly try playing around with this again. Thank you for suggesting it. Even if it doesn't work out for me, it might work out for others - and the suggestion itself is certainly valid. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Sat Jun 9 18:05:48 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Sat, 9 Jun 2001 12:05:48 EDT Subject: [rrd-users] Values Confusion Part 2 Message-ID: <110.c5a51f.2853a35c@aol.com> Ok I resolved my first question about "0.04" But I have ran this tutorial 3 times now and I am not getting the number the tutorial is giving me. Instead of simple numbers like 0.04, 0.02 I am getting VERY large numbers... 920804400: nan 920804700: nan 920805000: 4.0000000000e-02 920805300: 2.0000000000e-02 920805600: 0.0000000000e+00 920805900: 0.0000000000e+00 920806200: 3.3333333333e-02 920806500: 3.3333333333e-02 920806800: 3.3333333333e-02 920807100: 2.0000000000e-02 920807400: 2.0000000000e-02 920807700: 2.0000000000e-02 920808000: 1.3333333333e-02 920808300: 1.6666666667e-02 920808600: 6.6666666667e-03 920808900: 3.3333333333e-03 920809200: nan Whats going on I carefully typed and even tried copy and paste to make sure I input the correct numbers. I know the tutorial says you wont get exactly the same results but these are WAY off..... I am running this on HPUX9000 OS.11 Help anyone? Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sat Jun 9 21:44:59 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sat, 9 Jun 2001 21:44:59 +0200 (CEST) Subject: [rrd-users] Re: Values Confusion Part 2 In-Reply-To: <110.c5a51f.2853a35c@aol.com> from "HurricaneIndy@aol.com" at Jun 09, 2001 12:05:48 PM Message-ID: <200106091945.VAA24620@slot.hollandcasino.nl> HurricaneIndy at aol.com wrote: > > Ok I resolved my first question about "0.04" But I have ran this tutorial 3 > times now and I am not getting the number the tutorial is giving me. Instead > of simple numbers like 0.04, 0.02 I am getting VERY large numbers... > > 920804400: nan > 920804700: nan > 920805000: 4.0000000000e-02 > 920805300: 2.0000000000e-02 [snip] > Whats going on I carefully typed and even tried copy and paste to make sure I > input the correct numbers. I know the tutorial says you wont get exactly the > same results but these are WAY off..... > I am running this on HPUX9000 OS.11 Nope, the results are the same, it's just the notation that has changed over time. I did send in a patch but it didn't make it in the latest release. 4.0000000e-02 just means 4 times 10 to the power -2 which is 4 times 0.01 which is 0.04 For people not used to scientific notation: Just shift the decimal point when you see numbers like this. For negative numbers go left, for positive numbers go right. 4.0e-02 means 0.04 (decimal point is shifted left by two) 4.0e-01 means 0.4 (decimal point is shifted left by one) 4.0e+00 means 4 (decimal point is not shifted) 4.0e+01 means 40 (decimal point is shifted right by one) 4.0e+02 means 400 (decimal point is shifted right by two) etcetera. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From spirit89 at globetrotter.net Mon Jun 11 14:54:15 2001 From: spirit89 at globetrotter.net (Jim TheVoice) Date: Mon, 11 Jun 2001 08:54:15 -0400 Subject: [rrd-users] make problom with rddtool Message-ID: <00b601c0f275$9fcecec0$6d00050a@5pc109> I'm have these soft installed - gnu make 3.78 - gnu gcc 2.95 - tcl.8.3 - tk8.3 - perl 5.005_03 built for sun4-solaris I'm trying to make rddtool and look what happens: ============================= # make [...] cp ntmake.pl blib/lib/ntmake.pl cp RRDs.pm blib/lib/RRDs.pm /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 /usr/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/perl5/5.00503/ExtUtils/typemap RRDs.xs >xstmp.c && mv xstmp.c RRDs.c cc -c -I../src -I../gd1.3 -xO3 -xdepend -DVERSION=\"1.000331\" -DXS_VERS ION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DPERLPATCHLEV EL=5 RRDs.c /usr/ucb/cc: language optional software package not installed make[2]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/perl-shared' make[1]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33' ====================================== What should I do now? Jim -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From philip at datafoundry.net Mon Jun 11 16:09:49 2001 From: philip at datafoundry.net (Philip Molter) Date: Mon, 11 Jun 2001 09:09:49 -0500 Subject: [rrd-users] Re: make problom with rddtool In-Reply-To: <00b601c0f275$9fcecec0$6d00050a@5pc109>; from spirit89@globetrotter.net on Mon, Jun 11, 2001 at 08:54:15AM -0400 References: <00b601c0f275$9fcecec0$6d00050a@5pc109> Message-ID: <20010611090948.C11352@datafoundry.net> On Mon, Jun 11, 2001 at 08:54:15AM -0400, Jim TheVoice wrote: : : I'm have these soft installed : : - gnu make 3.78 : - gnu gcc 2.95 : - tcl.8.3 : - tk8.3 : - perl 5.005_03 built for sun4-solaris : : I'm trying to make rddtool and look what happens: : ============================= : # make : [...] : cp ntmake.pl blib/lib/ntmake.pl : cp RRDs.pm blib/lib/RRDs.pm : /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 : /usr/perl5/5.00503/ExtUtils/xsubpp -typemap : /usr/perl5/5.00503/ExtUtils/typemap RRDs.xs >xstmp.c && mv xstmp.c RRDs.c : cc -c -I../src -I../gd1.3 -xO3 -xdepend -DVERSION=\"1.000331\" -DXS_VERS : ION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DPERLPATCHLEV : EL=5 RRDs.c : /usr/ucb/cc: language optional software package not installed : make[2]: Leaving directory : `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/perl-shared' : make[1]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33' : ====================================== : : What should I do now? I'm assuming that the perl package that came with Solaris. This version was compiled using Sun's compiler (cc), and so when Perl tries to compile C-based modules, it uses the compiler that it was compiled with (usually with good reason). Try changing the CC line in the Makefile in perl-shared/ to gcc and see what happens. Otherwise, you'll need to buy the Sun C compiler (not cheap) or recompile perl with gcc. * Philip Molter * DataFoundry.net * http://www.datafoundry.net/ * philip at datafoundry.net -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From romain.bourgue at SecurityKeepers.com Mon Jun 11 16:59:13 2001 From: romain.bourgue at SecurityKeepers.com (Romain Bourgue) Date: Mon, 11 Jun 2001 16:59:13 +0200 Subject: [rrd-users] HRULE Conditional drawing Message-ID: <3B24DCC1.23F01260@SecurityKeepers.com> Hi, I'd like to know if there is a way to put a condition on the drawing of a HRULE... In fact, the point is to draw a HRULE only if the maximum of a DS is GT a specified value. TIA RB -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From spirit89 at globetrotter.net Mon Jun 11 17:36:41 2001 From: spirit89 at globetrotter.net (Jim TheVoice) Date: Mon, 11 Jun 2001 11:36:41 -0400 Subject: [rrd-users] make problem with rddtool [strike 2] Message-ID: <01ae01c0f28c$52d35a20$6d00050a@5pc109> I uninstall the "delivered with OS" Perl and install perl-5.6.1-sol8-sparc-local.gz from www.sunfreeware.com. Now, after "make clean", "./configure" and "make", I'm getting another errors. # make [...] Making all in tcl make[1]: Entering directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/tcl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/tcl' make[1]: Entering directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33' cd perl-piped && make make[2]: Entering directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/perl-piped' make[2]: *** No rule to make target `/usr/perl5/5.00503/sun4-solaris/Config.pm', needed by `Makefile'. Stop. make[2]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/perl-piped' make[1]: *** [perl_piped] Error 2 make[1]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33' make: *** [all-recursive] Error 1 What should I do now? Jim -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From owen at dixon.delong.sj.ca.us Mon Jun 11 19:25:22 2001 From: owen at dixon.delong.sj.ca.us (Owen DeLong) Date: Mon, 11 Jun 2001 10:25:22 -0700 Subject: [rrd-users] RRDs::Update return value question Message-ID: <200106111725.KAA25009@irkutsk.delong.sj.ca.us> I have a situation where I want to call RRDs::Update to store a value (time=now), and then check for the following conditions: SUCCESS -> Return Success FAILURE -> TOO SOON Return Success FAILURE -> OTHER Return Failure Is there any easy way from PERL to tell whether an UPDATE failed because it was less than step seconds from the last update vs. failure for another reason? Thanks, Owen -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Mon Jun 11 23:09:07 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Mon, 11 Jun 2001 17:09:07 EDT Subject: [rrd-users] OT: 3D Graphing.... Message-ID: Ok sorry for the OT but are there any ways to create 3D graphics? I know you can do some trickery with the bars and make them look somewhat 3D but how about pie graphs and other weird dimensional outputs. Only reason why I bring this up is I have seen some images from Seagate Crystal Reports and those graphics are very sharp and clean...I`m not expecting free sofware like GD to output anything like that, but how about close??? Maybe not GD but something else? Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From frank at pineaus.com Mon Jun 11 23:33:19 2001 From: frank at pineaus.com (Frank Pineau) Date: Mon, 11 Jun 2001 17:33:19 -0400 Subject: [rrd-users] Re: OT: 3D Graphing.... In-Reply-To: References: Message-ID: On Mon, 11 Jun 2001 17:09:07 EDT, you wrote: > >Ok sorry for the OT but are there any ways to create 3D graphics? I know you can do some trickery with the bars and make them look somewhat 3D but how about pie graphs and other weird dimensional outputs. >Only reason why I bring this up is I have seen some images from Seagate Crystal Reports and those graphics are very sharp and clean...I`m not expecting free sofware like GD to output anything like that, but how about close??? >Maybe not GD but something else? > >Indy Someone did a sweet temperature/windspeed graph in a pie-chart with RRD once, but I've never even been able to find it again, much less find out how he did it. I'd love to know, because it's perfect for my needs. FP -- <*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*> Frank Pineau ------------> frank at pineaus.IHATESPAM.com http://www.pineaus.com It is pitch black. You are likely to be eaten by a grue. <*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*> PGP Public Key: http://www.pineaus.com/frankpineau.asc No mail from web-based mail systems such as Hotmail or Yahoo will be accepted. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Tue Jun 12 15:56:42 2001 From: julius at softwell.se (Anders Ringaby) Date: Tue, 12 Jun 2001 15:56:42 +0200 (CEST) Subject: [rrd-users] Re: make problom with rddtool In-Reply-To: <00b601c0f275$9fcecec0$6d00050a@5pc109> Message-ID: Hello. Make the sure you have the following line in your Makefile: CC = gcc And be sure that gcc is in your PATH, ( before /usr/ucb, where cc is ). Anders Ringaby On Mon, 11 Jun 2001, Jim TheVoice wrote: > > I'm have these soft installed > > - gnu make 3.78 > - gnu gcc 2.95 > - tcl.8.3 > - tk8.3 > - perl 5.005_03 built for sun4-solaris > > I'm trying to make rddtool and look what happens: > ============================= > # make > [...] > cp ntmake.pl blib/lib/ntmake.pl > cp RRDs.pm blib/lib/RRDs.pm > /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 > /usr/perl5/5.00503/ExtUtils/xsubpp -typemap > /usr/perl5/5.00503/ExtUtils/typemap RRDs.xs >xstmp.c && mv xstmp.c RRDs.c > cc -c -I../src -I../gd1.3 -xO3 -xdepend -DVERSION=\"1.000331\" -DXS_VERS > ION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DPERLPATCHLEV > EL=5 RRDs.c > /usr/ucb/cc: language optional software package not installed > make[2]: Leaving directory > `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/perl-shared' > make[1]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33' > ====================================== > > What should I do now? > > Jim > > > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Tue Jun 12 16:38:19 2001 From: julius at softwell.se (Anders Ringaby) Date: Tue, 12 Jun 2001 16:38:19 +0200 (CEST) Subject: [rrd-users] Re: make problem with rddtool [strike 2] In-Reply-To: Message-ID: Hello again. Hmmm, start all over again, and set the CC variable to gcc in that Makefile. Anders Ringaby > On Mon, 11 Jun 2001, Jim TheVoice wrote: > > > > > I uninstall the "delivered with OS" Perl and install > > perl-5.6.1-sol8-sparc-local.gz from www.sunfreeware.com. > > > > Now, after "make clean", "./configure" and "make", I'm getting another > > errors. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Tue Jun 12 16:47:07 2001 From: julius at softwell.se (Anders Ringaby) Date: Tue, 12 Jun 2001 16:47:07 +0200 (CEST) Subject: [rrd-users] Re: make problom with rddtool In-Reply-To: Message-ID: Correction: I wrote ( among other things ) : "And be sure that gcc is in your PATH, ( before /usr/ucb, where cc is )." It is not necessary that gcc is in a directory that comes before /usr/ucb in the PATH. It is enough if its in the PATH. Anders Ringaby > On Mon, 11 Jun 2001, Jim TheVoice wrote: > > > > > I'm have these soft installed > > > > - gnu make 3.78 > > - gnu gcc 2.95 > > - tcl.8.3 > > - tk8.3 > > - perl 5.005_03 built for sun4-solaris > > > > I'm trying to make rddtool and look what happens: -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Tue Jun 12 18:10:15 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Tue, 12 Jun 2001 12:10:15 EDT Subject: [rrd-users] Re: make problom with rddtool Message-ID: The problem that I encountered was that I previously built Perl with my HP compiler and then tried to use GCC to build RRDTOOl. That was a no no, so i got rid of GCC, I also ran Make Clean or something like that to get rid of any cache files, made sure that CC=cc not CC=gcc then it ran and compiled fine... Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Tue Jun 12 18:25:33 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Tue, 12 Jun 2001 12:25:33 EDT Subject: [rrd-users] Running RRDTOOL with MRTG Message-ID: <69.169dc308.28579c7d@aol.com> Hey all I am having some difficulties getting this concept down. I would rather not use Cricket or other tools already in development only because I really want to understand this thoroughly first..... I am currently using MRTG 2.9.15 and rrdtool-1.0.33. I want to use MRTG to poll routers, dump the info into rrdtools database and then graph the results. I added the correct paths to the config file like so: "WorkDir: /usr/apache/htdocs/graph01/$DOMAIN \n" . "ThreshDir: /usr/apache/htdocs/graph01/$DOMAIN/threshold \n" . "Options[_]:growright,bits \n" . "RunAsDaemon:Yes \n" . "Interval:5 \n" . "Forks:4 \n" . "LibAdd: /usr/local/rrdtool1.0.33/lib/perl \n" . "PathAdd: /usr/local/rrdtool-1.0.33/bin/ \n" . "LogFormat: rrdtool \n"; Don't mind some of the extra gibberish in there, I am building all this in PHP and hopefully be able to give back to this open source community with a PHP script when all is down and presentable. But anyways my main question is, I seem to be a bit unclear even after reading the tutorials and what-not how to accomplish this. I seem to have everything working seperately but not as a whole.... I looked at the 14all.cgi script and I know that builds the HTML and Graphs but not sure how that exactly works with rrdtool and MRTG... So I know this is long and if I missed anything crucial to help troubleshoot this just ask away and I will fill in the gap... Thanks all... Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Tue Jun 12 18:50:07 2001 From: julius at softwell.se (Anders Ringaby) Date: Tue, 12 Jun 2001 18:50:07 +0200 (CEST) Subject: [rrd-users] Re: make problom with rddtool In-Reply-To: Message-ID: Hey again. This case is different than your HP case. The problem is that Jimmy cannot run cc at all. The error message is: "/usr/ucb/cc: language optional software package not installed". So the best thing is to use gcc after all ( that he already has installed ). Furthermore, it is ( as far as I understand ) a policy of Sun to deliver Solaris systems without any C-compiler, or without that "optional software package" mentioned above. Most other develop- ment directorys and librarys are there though, its just for the user/sysadmin/whoever to download the compiler. In most cases, that will be gcc. So I would strongly recommend that Jimmy tries again, sets the CC variable to gcc in every Makefile, and builds all his software packages with gcc, including Perl. Regards Anders On Tue, 12 Jun 2001 HurricaneIndy at aol.com wrote: > The problem that I encountered was that I previously built Perl > with my HP compiler and then tried to use GCC to build RRDTOOl. > That was a no no, so i got rid of GCC, I also ran Make Clean or > something like that to get rid of any cache files, made sure that > CC=cc not CC=gcc then it ran and compiled fine... > > > Indy > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From paul.dworniak at poczta.fm Tue Jun 12 18:59:49 2001 From: paul.dworniak at poczta.fm (Pawel Dworniak) Date: Tue, 12 Jun 2001 18:59:49 +0200 Subject: [rrd-users] Distributed RRD files Message-ID: <5.0.2.1.0.20010612185226.00b771d8@poczta.fm> Hi everyone I am trying to run MRTG + RRD under Windows 2000 (IIS5). When .rrd files, MRTG and IIS are on one computer everything is OK but now I want to collect .rrd files on one box create graphs using RRD_CGI on another Is it possible? When I map network drive (with data liles .rrd) on IE5 I have "permission denied" message. I found solution of similar problem but it is for Unix/Linux Thanks for help and sorry for my english Paul Dworniak Lodz, Poland =============================================== Czy Gulczas z Big Brother ma seksualnego garba? http://relacje.interia.pl/id/relacja?cid=9277 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From faulkner at eco.utexas.edu Tue Jun 12 21:24:25 2001 From: faulkner at eco.utexas.edu (Wendy Faulkner) Date: Tue, 12 Jun 2001 14:24:25 -0500 (CDT) Subject: [rrd-users] beginner question Message-ID: <200106121924.OAA10309@sade.eco.utexas.edu> Well, I read through the tutorial, thought I had it all under control, but my first try goes blammy. I created a database similar to one in the tutorial: rrdtool create mail.rrd DS:input:COUNTER:600:U:U 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 I started a script to update it regularly (it was planned to be every 5 mins, but I ran it every minute just to try and fill up the DB.) Its been updated via: /usr/local/rrdtool-1.0.33/bin/rrdtool update mail.rrd N:613 (many similar ones - the mailq has always been 600-650 mails during this time.) But when I do a rrdtool fetch mail.rrd AVERAGE to see what's in there, I get: ... 992371800: NaN 992372100: NaN 992372400: 4.5449389354e+07 992372700: 2.8633115300e+07 992373000: 4.2707019434e+07 992373300: 2.8875768826e+07 992373600: 2.8394506023e+07 992373900: NaN a. Those numbers don't look anything like 600 or so, and b. They always display in scientific notation. Is there any way I can get the numbers in a more readable format, and any idea why they're not like what's getting inputted? (Having the same problem with a load-average DB I created as well.) So I figure I'm missing something painfully obvious but aren't sure what it is. The examples in the tutorials all worked fine.... Thanks for any suggestions. W -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Wendy Faulkner Don't knock on Death's door. faulkner at eco.utexas.edu Ring the bell and run away. http://www.eco.utexas.edu/~faulkner He hates that. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Tue Jun 12 23:02:44 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Tue, 12 Jun 2001 17:02:44 EDT Subject: [rrd-users] Removing Label on Right Side Message-ID: <2d.cfeaa9a.2857dd75@aol.com> Just wondering where it is possible to remove RRDTOOL / Tobi on the top right hand corner for the graphs that are generated... If this is part of the GNU license then thats cool I will respect that...if there is a way to modify that can someone please fill me in? Thanks.. Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From cjs+lists at aol.net Tue Jun 12 23:32:24 2001 From: cjs+lists at aol.net (Chris Snell) Date: Tue, 12 Jun 2001 17:32:24 -0400 Subject: [rrd-users] Re: Removing Label on Right Side In-Reply-To: <2d.cfeaa9a.2857dd75@aol.com> Message-ID: <4.3.2.7.2.20010612173205.00b95448@imap.web.aol.com> At 05:02 PM 6/12/2001 -0400, HurricaneIndy at aol.com wrote: >Just wondering where it is possible to remove >RRDTOOL / Tobi on the top right hand corner for the graphs that are >generated... Have a look at the function 'gator' in rrd_graph.c, as well as the comment from Tobi inside it. :) Chris -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Wed Jun 13 01:36:15 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Wed, 13 Jun 2001 01:36:15 +0200 (CEST) Subject: [rrd-users] Re: beginner question In-Reply-To: <200106121924.OAA10309@sade.eco.utexas.edu> from "Wendy Faulkner" at Jun 12, 2001 02:24:25 PM Message-ID: <200106122336.BAA08438@slot.hollandcasino.nl> Wendy Faulkner wrote: > I created a database similar to one in the tutorial: > > rrdtool create mail.rrd DS:input:COUNTER:600:U:U RRA:AVERAGE:0.5:1:600 Note: COUNTER. This should get an increasing number, like the mileage meter in a car. > /usr/local/rrdtool-1.0.33/bin/rrdtool update mail.rrd N:613 > (many similar ones - the mailq has always been 600-650 mails during this time.) Seems to me you want to use GAUGE > b. They always display in scientific notation. Yup, that has changed since the tutorial was written. You should expect numbers looking as 6.12e+02 If necessary the numbers can be formatted by another tool such as perl. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Wed Jun 13 04:14:48 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Tue, 12 Jun 2001 22:14:48 EDT Subject: [rrd-users] Threshold Levels Message-ID: <51.cdd6d5c.28582698@aol.com> Is it possible to create a horizontal line across the graph showing the threshold levels? Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From paulw at oninit.com Wed Jun 13 10:27:49 2001 From: paulw at oninit.com (paulw at oninit.com) Date: Wed, 13 Jun 2001 09:27:49 +0100 Subject: [rrd-users] Re: Threshold Levels References: <51.cdd6d5c.28582698@aol.com> Message-ID: <3B272405.ACFA76A5@oninit.com> Check HRULE eg HRULE:85#ff0000:"Target Write" HurricaneIndy at aol.com wrote: > > Is it possible to create a horizontal line across the graph showing the > threshold levels? > > Indy > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Paul Watson # Oninit Ltd # You are only young once Tel: +44 1436 672201 # but you can be immature Fax: +44 1436 678693 # for ever www.oninit.com # -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Bjorn.Djupvik at globalone.net Wed Jun 13 10:25:08 2001 From: Bjorn.Djupvik at globalone.net (Bjorn Djupvik) Date: Wed, 13 Jun 2001 10:25:08 +0200 Subject: [rrd-users] Re: Threshold Levels References: <51.cdd6d5c.28582698@aol.com> Message-ID: <3B272364.C4347420@globalone.net> HurricaneIndy at aol.com wrote: > > Is it possible to create a horizontal line across the graph showing the > threshold levels? Yes. CDEF:G=D,12000000,0,IF \ LINE3:G#FF0000:Threshold level will do the trick. This is probably a dumb way to do it but it works :) Will create a thick red line at 100000. (D = your rrd+ds def., I couldnt think of any other way to do this) -bjorn -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From paul.dworniak at poczta.fm Wed Jun 13 11:21:56 2001 From: paul.dworniak at poczta.fm (Pawel Dworniak) Date: Wed, 13 Jun 2001 11:21:56 +0200 Subject: [rrd-users] How to draw color graphs Message-ID: <5.0.2.1.0.20010613111324.00b43b18@poczta.fm> I want to draw my graphs in different colors depending on transfer rate h --end now --width 900 --height 250 --base=1000 --imginfo '' --imgformat="PNG" --lower-limit=0 DEF:Incoming1=/Inetpub/wwwroot/mrtg/example.rrd:ds0:MAX DEF:Outgoing1=/Inetpub/wwwroot/mrtg/example.rrd:ds1:MAX CDEF:Incoming=Incoming1,-8,* CDEF:Outgoing=Outgoing1,8,* CDEF:OK=Incoming,6000,GT,0,Incoming,IF AREA:OK#000000:"OK" AREA:Incoming#00ff00 AREA:Outgoing#0000ff> On this example rrd file I want to draw in different color transfer over 6Kb (ie 6000) but it is not working Thanks for help Paul Dworniak Poland =============================================== Czy Gulczas z Big Brother ma seksualnego garba? http://relacje.interia.pl/id/relacja?cid=9277 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From romain.bourgue at SecurityKeepers.com Wed Jun 13 12:04:02 2001 From: romain.bourgue at SecurityKeepers.com (Romain Bourgue) Date: Wed, 13 Jun 2001 12:04:02 +0200 Subject: [rrd-users] Re: How to draw color graphs References: <5.0.2.1.0.20010613111324.00b43b18@poczta.fm> Message-ID: <3B273A92.A821F36B@SecurityKeepers.com> Hi, You have to limit your Incoming CDEF to 6000. You can do this setting the CDEF this way : CDEF:OK=Incoming,6000,GT,Incoming,0,IF # "OK" will represent the transfer over 6000 and if CDEF:Incoming=Incoming1,-8,*,6000,GT,6000,Incoming1,-8,*,IF #if Incoming1,-8,* > 6000 then Incoming=6000 CDEF:Outgoing=Outgoing1,8,* Don't forget to draw "OK" before Incoming Romain Bourgue Pawel Dworniak wrote: > I want to draw my graphs in different colors depending on transfer rate > > --start -h > --end now > --width 900 > --height 250 > --base=1000 > --imginfo '' > --imgformat="PNG" > --lower-limit=0 > DEF:Incoming1=/Inetpub/wwwroot/mrtg/example.rrd:ds0:MAX > DEF:Outgoing1=/Inetpub/wwwroot/mrtg/example.rrd:ds1:MAX > CDEF:Incoming=Incoming1,-8,* > CDEF:Outgoing=Outgoing1,8,* > CDEF:OK=Incoming,6000,GT,0,Incoming,IF > AREA:OK#000000:"OK" > AREA:Incoming#00ff00 > AREA:Outgoing#0000ff> > > On this example rrd file I want to draw in different color transfer over > 6Kb (ie 6000) > but it is not working > > Thanks for help > > Paul Dworniak > Poland > > =============================================== > Czy Gulczas z Big Brother ma seksualnego garba? > http://relacje.interia.pl/id/relacja?cid=9277 > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Wed Jun 13 14:26:46 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Wed, 13 Jun 2001 14:26:46 +0200 (CEST) Subject: [rrd-users] Re: How to draw color graphs In-Reply-To: <5.0.2.1.0.20010613111324.00b43b18@poczta.fm> from "Pawel Dworniak" at Jun 13, 2001 11:21:56 AM Message-ID: <200106131226.OAA16409@slot.hollandcasino.nl> Pawel Dworniak wrote: > I want to draw my graphs in different colors depending on transfer rate > [snip standard stuff] > DEF:Incoming1=/Inetpub/wwwroot/mrtg/example.rrd:ds0:MAX > DEF:Outgoing1=/Inetpub/wwwroot/mrtg/example.rrd:ds1:MAX > CDEF:Incoming=Incoming1,-8,* > CDEF:Outgoing=Outgoing1,8,* > CDEF:OK=Incoming,6000,GT,0,Incoming,IF You are multiplying the incoming counter by -1. Assuming the original counter has positive values, you end up with negative values. Then you test for this negative number to be > 6000. If it is not (which will always be the case) so OK is just a copy of Incoming. > AREA:OK#000000:"OK" > AREA:Incoming#00ff00 Here you graph OK, then you paint it over with Incoming. Nett result is Incoming. You want something like: DEF:Incoming1=/Inetpub/wwwroot/mrtg/example.rrd:ds0:MAX DEF:Outgoing1=/Inetpub/wwwroot/mrtg/example.rrd:ds1:MAX CDEF:Incoming=Incoming1,-8,* CDEF:Outgoing=Outgoing1,8,* CDEF:OK=Incoming,-6000,LT,Incoming,UNKN,IF Now OK is defined only if Incoming < -6000. AREA:Incoming#00ff00 AREA:OK#000000:"OK" This will paint Incoming and then paint it over with OK. However, if Incoming is not high enough, there's no OK to paint. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Wed Jun 13 15:13:51 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Wed, 13 Jun 2001 09:13:51 EDT Subject: [rrd-users] Re: Threshold Levels Message-ID: <11f.37f860.2858c10f@aol.com> Thanks guys looks like HRULE was what I was looking for... I saw it early but couldnt figure out where exactly to set the levels, but all is good now... Much appreciated.. Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jacksonm at ssh.com Wed Jun 13 15:38:43 2001 From: jacksonm at ssh.com (Mike Jackson) Date: Wed, 13 Jun 2001 16:38:43 +0300 Subject: [rrd-users] qmail logfile analysis Message-ID: <3B276CE3.23314123@ssh.com> Hi, I am currently using qmail-mrtg for qmail logfile analysis, but would like to switch over to rrd. Searches on google indicate that if anybody is working on this, they are keeping it secret. Does anybody on the list know if any work has yet been done that is available for reference? Thanks, Mike Jackson -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Wed Jun 13 15:34:23 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Wed, 13 Jun 2001 09:34:23 EDT Subject: [rrd-users] No Grids... Message-ID: I am using this to get rid of the X and Y AXIS.. --x-grid=\"none\" --y-grid=\"none\" It works great but it also gets rid of the vertical and horizontal labels like: 2K, 3K and so on.... Not a major issue just trying to understand this program better. Is it possible to keep those interval labels but still get rid of the grids at the same time??? Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From gowrishankar.setty at wipro.com Wed Jun 13 16:42:49 2001 From: gowrishankar.setty at wipro.com (Gowri Shankar Bhogisetty) Date: Wed, 13 Jun 2001 20:12:49 +0530 Subject: [rrd-users] make problem while installation Message-ID: <3B277BE9.94910933@wipro.com> Hi , I am getting the following error while excecuting make # make Making all in cgilib-0.4 Making all in config Making all in gd1.3 Making all in zlib-1.1.3 Making all in libpng-1.0.9 Making all in src Making all in doc pod2man --release=1.0.33 --center=rrdtool rrdtool.pod > rrdtool.1 sh: pod2man: not found *** Error code 1 make: Fatal error: Command failed for target `rrdtool.1' Current working directory /dump/wandump/rrdtool-1.0.33/doc *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Pls let me know any solution for this. Regards, Gowri Shankar -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From pmckenna at uswest.net Wed Jun 13 16:49:39 2001 From: pmckenna at uswest.net (Pete McKenna) Date: Wed, 13 Jun 2001 09:49:39 -0500 Subject: [rrd-users] Re: qmail logfile analysis] Message-ID: <20010613094939.E83439@otto.oss.qwest.net> An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://lists.oetiker.ch/pipermail/rrd-users/attachments/20010613/95794c9c/attachment.asc From HurricaneIndy at aol.com Wed Jun 13 17:35:17 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Wed, 13 Jun 2001 11:35:17 EDT Subject: [rrd-users] Re: make problem while installation Message-ID: <7b.161c96ce.2858e235@aol.com> Hey Gowri, I had that issue recently also. Its because your PERL is not in the PATH. Make sure you have Perl installed as I am sure you do and make sure you have it in your PATH and you should be all set to go... Also it may be a good idea to run Make Clean to get rid of old Cache and then compile it again... Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From gowrishankar.setty at wipro.com Wed Jun 13 17:54:01 2001 From: gowrishankar.setty at wipro.com (Gowri Shankar Bhogisetty) Date: Wed, 13 Jun 2001 21:24:01 +0530 Subject: [rrd-users] Re: make problem while installation References: <7b.161c96ce.2858e235@aol.com> Message-ID: <3B278C99.73417C01@wipro.com> Hi Indy, Thanks for the help now there is no errors with "make" after setting the PERL path. Iam getting the following error while doing make install Making install in tcl ./config/mkinstalldirs /usr/local/rrdtool-1.0.33/lib/perl/auto/RRDs config/install-sh -c -m 644 perl-piped/RRDp.pm /usr/local/rrdtool-1.0.33/lib/per l config/install-sh -c -m 644 perl-shared/RRDs.pm /usr/local/rrdtool-1.0.33/lib/pe rl config/install-sh -c -m 644 perl-shared/blib/arch/auto/RRDs/RRDs.bs /usr/local/r rdtool-1.0.33/lib/perl/auto/RRDs install: perl-shared/blib/arch/auto/RRDs/RRDs.bs does not exist *** Error code 1 make: Fatal error: Command failed for target `install-data-local' Current working directory /dump/wandump/rrdtool-1.0.33 *** Error code 1 make: Fatal error: Command failed for target `install-am' Current working directory /dump/wandump/rrdtool-1.0.33 *** Error code 1 make: Fatal error: Command failed for target `install-recursive' Pls help me on this. Regards Gowri Shankar HurricaneIndy at aol.com wrote: > Hey Gowri, > I had that issue recently also. Its because your PERL is not in the PATH. Make sure you have Perl installed as I am sure you do and make sure you have it in your PATH and you should be all set to go... > Also it may be a good idea to run Make Clean to get rid of old Cache and then compile it again... > > Indy > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From marco.flohrer at informatik.tu-chemnitz.de Thu Jun 14 00:19:25 2001 From: marco.flohrer at informatik.tu-chemnitz.de (Marco Flohrer) Date: Thu, 14 Jun 2001 00:19:25 +0200 (MET DST) Subject: [rrd-users] Fetch last stored counter In-Reply-To: <7b.161c96ce.2858e235@aol.com> Message-ID: Hi, i want to fetch the last counter (from an SNMP-Variable) that i have put into the database back instead of the calculated value/time. Is this possible whith "rrdtool fetch"? -- mailto: marco.flohrer at informatik.tu-chemnitz.de talk: mafl at diamond.csn.tu-chemnitz.de -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 14 01:19:31 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 14 Jun 2001 01:19:31 +0200 (CEST) Subject: [rrd-users] Re: Fetch last stored counter In-Reply-To: from "Marco Flohrer" at Jun 14, 2001 12:19:25 AM Message-ID: <200106132319.BAA23832@slot.hollandcasino.nl> Marco Flohrer wrote: > i want to fetch the last counter (from an SNMP-Variable) that i have > put into the database back instead of the calculated value/time. > Is this possible whith "rrdtool fetch"? It is not possible with rrdtool fetch. I don't know why you would like to use rrdtool fetch for this? If there is no problem with using rrdtool info, use that. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jroodnat at internoc.nl Thu Jun 14 10:41:53 2001 From: jroodnat at internoc.nl (Jeroen Roodnat) Date: Thu, 14 Jun 2001 10:41:53 +0200 Subject: [rrd-users] core dump on yearly graphs Message-ID: <5B67EAF93AD0D411B7590004AC4CF89A27D432@nln1m006.off.internoc.nl> I have created rrd's and a graphing script. Getting graphs on month, week, day, etc works great, but as soon as i try to use -1y as a start time, I get a core dump. I think it is because the start time is earlier than the first entry in the rrd database. How do I graph year graphs ? Greetings Jeroen Roodnat -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Thu Jun 14 10:53:19 2001 From: julius at softwell.se (Anders Ringaby) Date: Thu, 14 Jun 2001 10:53:19 +0200 (CEST) Subject: [rrd-users] Re: make problem while installation In-Reply-To: <3B278C99.73417C01@wipro.com> Message-ID: > Thanks for the help now there is no errors with "make" after setting the PERL path. Actually, it was the PATH to pod2man that needed to be set. If setting the Perl PATH corrected the problem in this case, it was probably because Perl and pod2man were located in the same directory. > Iam getting the following error while doing make install > .... > .... > config/install-sh -c -m 644 perl-shared/blib/arch/auto/RRDs/RRDs.bs /usr/local/r > rdtool-1.0.33/lib/perl/auto/RRDs > install: perl-shared/blib/arch/auto/RRDs/RRDs.bs does not exist > *** Error code 1 The error message says: "perl-shared/blib/arch/auto/RRDs/RRDs.bs does not exist" Check it out. Check "perl-shared/blib/arch/auto/RRDs/RRDs.bs". Anders Ringaby -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Thu Jun 14 21:29:38 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Thu, 14 Jun 2001 15:29:38 EDT Subject: [rrd-users] New Line in COMMENT. Message-ID: <33.167b7737.285a6aa2@aol.com> -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HurricaneIndy at aol.com Thu Jun 14 21:31:15 2001 From: HurricaneIndy at aol.com (HurricaneIndy at aol.com) Date: Thu, 14 Jun 2001 15:31:15 EDT Subject: [rrd-users] New Line COMMENT Part 2 Message-ID: <14.15a9430a.285a6b03@aol.com> Sorry about that my computer decided to send my mail without my permissions... Anyways, I have tried both
and "\n" and "\r" to properly format my comments. But it just keeps running across the graph until it wraps around.. How does one create a new line?? Indy -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Bjorn.Djupvik at globalone.net Thu Jun 14 23:57:47 2001 From: Bjorn.Djupvik at globalone.net (Bjorn Djupvik) Date: Thu, 14 Jun 2001 23:57:47 +0200 Subject: [rrd-users] Re: New Line COMMENT Part 2 References: <14.15a9430a.285a6b03@aol.com> Message-ID: <3B29335B.CAB2C628@globalone.net> HurricaneIndy at aol.com wrote: > > Sorry about that my computer decided to send my mail without my permissions... Yeah yeah blame the computer :P > Anyways, I have tried both
and "\n" and "\r" > to properly format my comments. But it just keeps running across the graph until it wraps around.. > How does one create a new line?? COMMENT:\\n Regards, Bjorn D. -- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lellu at france-cybermedia.fr Fri Jun 15 08:57:29 2001 From: lellu at france-cybermedia.fr (Laurent Lellu) Date: 15 Jun 2001 08:57:29 +0200 Subject: [rrd-users] Add a DS to an existing RRD Message-ID: <867kyefcx2.fsf@yoda.carpediem.fr> Hello, I would like to know how adding a DS in an existing RRD. I search through the man pages and in the archives of this list whithout success. The solution could be dump the RRD and re create one with the new DS but if someone has a better idea ... :) Laurent -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From paulw at oninit.com Fri Jun 15 16:00:03 2001 From: paulw at oninit.com (paulw at oninit.com) Date: Fri, 15 Jun 2001 15:00:03 +0100 Subject: [rrd-users] DS Name too small References: <867kyefcx2.fsf@yoda.carpediem.fr> Message-ID: <3B2A14E3.E08BF0DF@oninit.com> I need to the DS name to be longer, apart from DS_NAM_SIZE and DS_NAM_FMT is there anything else I need to alter?? TIA -- Paul Watson # Oninit Ltd # You are only young once Tel: +44 1436 672201 # but you can be immature Fax: +44 1436 678693 # for ever www.oninit.com # -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From spamfilter2 at mupp.net Fri Jun 15 21:35:54 2001 From: spamfilter2 at mupp.net (spamfilter) Date: Fri, 15 Jun 2001 21:35:54 +0200 Subject: [rrd-users] Newbie confusion. Message-ID: <008b01c0f5d2$6494bb20$7800a8c0@fozzie> Okay, i want to monitor 4 datasource, and i would like to always display the output as an integer in the plots, so i created rrdtool create usagestats.rrd --start 992553718 DS:totalt:GAUGE:600:0:U DS:oppar:GAUGE:600:0:U DS:doms:GAUGE:600:0:U DS:subs:GAUGE:600:0:U RRA:AVERAGE:0.5:1:288 RRA:AVERAGE:0.5:288:31 RRA:AVERAGE:0.5:2016:52 RRA:MAX:0.5:1:288 RRA:MAX:0.5:288:31 RRA:MAX:0.5:2016:52 started to fill the table, but if i try rrdtool graph all1.gif --start 992630000 --end `date +%s` DEF:linea=usagestats.rrd:oppar:MAX LINE2:linea#FF0000:"Oppar" DEF:lineb=usagestats.rrd:subs:MAX LINE2:lineb#00FF00:"Subs" DEF:linec=usagestats.rrd:doms:MAX LINE2:linec#000000:"Doms" ; mv -f *.gif /var/www/html/ But that still gives me some sort of averaged value.. (using average instead of MAX yields similar results). What am i missing here? -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sat Jun 16 12:15:32 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sat, 16 Jun 2001 12:15:32 +0200 (CEST) Subject: [rrd-users] Re: Newbie confusion. In-Reply-To: <008b01c0f5d2$6494bb20$7800a8c0@fozzie> from "spamfilter" at Jun 15, 2001 09:35:54 PM Message-ID: <200106161015.MAA29860@slot.hollandcasino.nl> spamfilter wrote: > But that still gives me some sort of averaged value.. (using average instead > of MAX yields similar results). > > What am i missing here? Read the tutorial again(!) and this time pay close attention to the paragraph called "Data Resampling" at the end. This also applies to your case and cannot be switched off as it is the way RRDtool works. Also have a look at Consolidation. If you want an ordinary database where numbers come out like they got in, use an ordinary database and not RRDtool. By the way: When reading the tutorial you'll find that something has changed in RRDtool and not yet in the tutorial. Numbers displayed by "rrdtool fetch" is now in scientific notation whereas they are written down as normal numbers in the tutorial. cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From spamfilter2 at mupp.net Sat Jun 16 15:06:57 2001 From: spamfilter2 at mupp.net (spamfilter) Date: Sat, 16 Jun 2001 15:06:57 +0200 Subject: [rrd-users] More confisuion. References: <200106161015.MAA29860@slot.hollandcasino.nl> Message-ID: <002e01c0f665$39291f60$7800a8c0@fozzie> If i have 3 RRA's in a RRD, how do i chose from which i extract the info, or is that automatic, or do i not have to care about that? Or is there a manpage for this? Regards, Jan. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sat Jun 16 15:17:27 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sat, 16 Jun 2001 15:17:27 +0200 (CEST) Subject: [rrd-users] Re: More confisuion. In-Reply-To: <002e01c0f665$39291f60$7800a8c0@fozzie> from "spamfilter" at Jun 16, 2001 03:06:57 PM Message-ID: <200106161317.PAA31749@slot.hollandcasino.nl> spamfilter wrote: > If i have 3 RRA's in a RRD, how do i chose from which i extract the info, or > is that automatic, or do i not have to care about that? Or is there a > manpage for this? It is in the man pages however it may be a bit confusing. The best RRA will be chosen automatically, now you only need to know what defines "best" :) In stead of trying to explain it, I'll be lazy and assume you know C. Please look at the source, file rrd_fetch.c, function rrd_fetch_fn Feel free to ask again if you don't know any C. I'll try and explain. Before you do so however, try playing with "rrdtool fetch" a bit, in particular try changing the end time to be on an exact multiple of stepsize times steps. cheers -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From spamfilter2 at mupp.net Sun Jun 17 00:32:37 2001 From: spamfilter2 at mupp.net (spamfilter) Date: Sun, 17 Jun 2001 00:32:37 +0200 Subject: [rrd-users] Fw: Re: More confisuion. Message-ID: <010b01c0f6b4$3ed3fbc0$7800a8c0@fozzie> > The best RRA will be chosen automatically, now you only need to know > what defines "best" :) > Feel free to ask again if you don't know any C. I'll try and explain. > Before you do so however, try playing with "rrdtool fetch" a bit, > in particular try changing the end time to be on an exact multiple of > stepsize times steps. Uhm, But, my rrd seems to "discard" evertyhtong older then 24 hours, why is that? Output of "info" below. if i then use a graph of all the date i have, it seems "cut" at "present time - 24 hours"? Oh, and also. Adding a datasource to a RRD, i gather that is not supported? [root at statler rrd]# rrdtool info usagestats.rrd filename = "usagestats.rrd" rrd_version = "0001" step = 300 last_update = 992730480 ds[totalt].type = "GAUGE" ds[totalt].minimal_heartbeat = 600 ds[totalt].min = 0.0000000000e+00 ds[totalt].max = NaN ds[totalt].last_ds = "UNKN" ds[totalt].value = 1.9800000000e+03 ds[totalt].unknown_sec = 0 ds[oppar].type = "GAUGE" ds[oppar].minimal_heartbeat = 600 ds[oppar].min = 0.0000000000e+00 ds[oppar].max = NaN ds[oppar].last_ds = "UNKN" ds[oppar].value = 1.8000000000e+02 ds[oppar].unknown_sec = 0 ds[doms].type = "GAUGE" ds[doms].minimal_heartbeat = 600 ds[doms].min = 0.0000000000e+00 ds[doms].max = NaN ds[doms].last_ds = "UNKN" ds[doms].value = 9.0000000000e+02 ds[doms].unknown_sec = 0 ds[subs].type = "GAUGE" ds[subs].minimal_heartbeat = 600 ds[subs].min = 0.0000000000e+00 ds[subs].max = NaN ds[subs].last_ds = "UNKN" ds[subs].value = 1.0800000000e+03 ds[subs].unknown_sec = 0 rra[0].cf = "AVERAGE" rra[0].rows = 288 rra[0].pdp_per_row = 1 rra[0].xff = 5.0000000000e-01 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[0].cdp_prep[2].value = NaN rra[0].cdp_prep[2].unknown_datapoints = 0 rra[0].cdp_prep[3].value = NaN rra[0].cdp_prep[3].unknown_datapoints = 0 rra[1].cf = "AVERAGE" rra[1].rows = 31 rra[1].pdp_per_row = 288 rra[1].xff = 5.0000000000e-01 rra[1].cdp_prep[0].value = 2.5131966667e+03 rra[1].cdp_prep[0].unknown_datapoints = 0 rra[1].cdp_prep[1].value = 3.4900000000e+02 rra[1].cdp_prep[1].unknown_datapoints = 0 rra[1].cdp_prep[2].value = 1.4383966667e+03 rra[1].cdp_prep[2].unknown_datapoints = 0 rra[1].cdp_prep[3].value = 1.0672000000e+03 rra[1].cdp_prep[3].unknown_datapoints = 0 rra[2].cf = "AVERAGE" rra[2].rows = 52 rra[2].pdp_per_row = 2016 rra[2].xff = 5.0000000000e-01 rra[2].cdp_prep[0].value = 3.2194520548e+03 rra[2].cdp_prep[0].unknown_datapoints = 522 rra[2].cdp_prep[1].value = 4.5060000000e+02 rra[2].cdp_prep[1].unknown_datapoints = 522 rra[2].cdp_prep[2].value = 1.8422520548e+03 rra[2].cdp_prep[2].unknown_datapoints = 522 rra[2].cdp_prep[3].value = 1.3392000000e+03 rra[2].cdp_prep[3].unknown_datapoints = 522 rra[3].cf = "MAX" rra[3].rows = 288 rra[3].pdp_per_row = 1 rra[3].xff = 5.0000000000e-01 rra[3].cdp_prep[0].value = NaN rra[3].cdp_prep[0].unknown_datapoints = 0 rra[3].cdp_prep[1].value = NaN rra[3].cdp_prep[1].unknown_datapoints = 0 rra[3].cdp_prep[2].value = NaN rra[3].cdp_prep[2].unknown_datapoints = 0 rra[3].cdp_prep[3].value = NaN rra[3].cdp_prep[3].unknown_datapoints = 0 rra[4].cf = "MAX" rra[4].rows = 31 rra[4].pdp_per_row = 288 rra[4].xff = 5.0000000000e-01 rra[4].cdp_prep[0].value = 1.9000000000e+01 rra[4].cdp_prep[0].unknown_datapoints = 0 rra[4].cdp_prep[1].value = 2.0000000000e+00 rra[4].cdp_prep[1].unknown_datapoints = 0 rra[4].cdp_prep[2].value = 1.1000000000e+01 rra[4].cdp_prep[2].unknown_datapoints = 0 rra[4].cdp_prep[3].value = 1.1000000000e+01 rra[4].cdp_prep[3].unknown_datapoints = 0 rra[5].cf = "MAX" rra[5].rows = 52 rra[5].pdp_per_row = 2016 rra[5].xff = 5.0000000000e-01 rra[5].cdp_prep[0].value = 1.9000000000e+01 rra[5].cdp_prep[0].unknown_datapoints = 522 rra[5].cdp_prep[1].value = 2.0000000000e+00 rra[5].cdp_prep[1].unknown_datapoints = 522 rra[5].cdp_prep[2].value = 1.1600000000e+01 rra[5].cdp_prep[2].unknown_datapoints = 522 rra[5].cdp_prep[3].value = 1.1000000000e+01 rra[5].cdp_prep[3].unknown_datapoints = 522 [root at statler rrd]# -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sun Jun 17 11:08:32 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sun, 17 Jun 2001 11:08:32 +0200 (CEST) Subject: [rrd-users] Re: Fw: Re: More confisuion. In-Reply-To: <010b01c0f6b4$3ed3fbc0$7800a8c0@fozzie> from "spamfilter" at Jun 17, 2001 12:32:37 AM Message-ID: <200106170908.LAA12117@slot.hollandcasino.nl> spamfilter wrote: > Uhm, But, my rrd seems to "discard" evertyhtong older then 24 hours, why is > that? Output of "info" below. if i then use a graph of all the date i have, > it seems "cut" at "present time - 24 hours"? > > Oh, and also. Adding a datasource to a RRD, i gather that is not supported? No, it is not (yet) supported. Many people have suggested it and it wouldn't surprise me if such a feature will make it into a next release. Mind that it is often best to create another database, especially if you want the extra DS to accomodate stats for another interface. [a lot of the rrdtool info output removed] > step = 300 Five minutes per PDP > rra[0].cf = "AVERAGE" > rra[0].rows = 288 > rra[0].pdp_per_row = 1 288 rows of 1 PDP per CDP: exactly 24 hours worth of data, you can show 288 pixels where each pixel shows 5 minutes. > rra[1].cf = "AVERAGE" > rra[1].rows = 31 > rra[1].pdp_per_row = 288 31 rows of 288 PDPs per CDP: exactly 31 days worth of data, you can show 31 pixels where each pixel shows 1 day > rra[2].cf = "AVERAGE" > rra[2].rows = 52 > rra[2].pdp_per_row = 2016 52 rows of 2016 PDPs per CDP: exactly 52 weeks worth of data, you can show 52 pixels where each pixel shows 1 week [snipped: same RRAs but now for MAX] So, you have the following data available: Resolution 5 minutes: 24 hours averages 24 hours maxima Resolution 1 day: 31 days averages 31 days maxima Resolution 1 week: 52 weeks averages 52 weeks maxima If you create a graph that has only 52 pixels and query the following start and end times, what happens ? rrdtool graph mytest.png -A PNG --width --start 52w --end 992476800 (fill out the rest of the graph script as usual) I think you should end up with a valid graph, albeit a small one. Suggestion: Make sure you know what graphs you would like to show. You probably want the default 400-pixel wide graphs. Each pixel should have a corresponding CDP in the database. For instance: 400 CDPs of 1 PDP each ( 1 day, 9 hours, 20 minutes) 400 CDPs of 24 PDPs each ( 33 days, 8 hours) 400 CDPs of 288 PDPs each (400 days) HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From marco.flohrer at informatik.tu-chemnitz.de Sun Jun 17 18:08:22 2001 From: marco.flohrer at informatik.tu-chemnitz.de (Marco Flohrer) Date: Sun, 17 Jun 2001 18:08:22 +0200 (MET DST) Subject: [rrd-users] Re: Fetch last stored counter In-Reply-To: <200106132319.BAA23832@slot.hollandcasino.nl> Message-ID: Hi, On Thu, 14 Jun 2001, Alex van den Bogaerdt wrote: > Marco Flohrer wrote: > > i want to fetch the last counter (from an SNMP-Variable) that i have > > put into the database back instead of the calculated value/time. > > Is this possible whith "rrdtool fetch"? > > It is not possible with rrdtool fetch. > > I don't know why you would like to use rrdtool fetch for this? > If there is no problem with using rrdtool info, use that. Your're right. I had an too old version of RRDTool (2.0.7, which came with Debian Potato) and this versions doesn't implement 'info'. -- mailto: marco.flohrer at informatik.tu-chemnitz.de talk: mafl at diamond.csn.tu-chemnitz.de -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From r.vermeer at ptt-post.nl Tue Jun 19 15:15:41 2001 From: r.vermeer at ptt-post.nl (Raymond Vermeer) Date: Tue, 19 Jun 2001 15:15:41 +0200 Subject: [rrd-users] rrdtool graph question Message-ID: <002101c0f8c1$f0bc1b10$1d021aac@pm_0757.ptt-post.nl> Hello, does anyone no how to do the following ? I have a rrdfile with 3 GAUGE datasources A, B and C. Now I want to graph the following formula on a line or area : (A + B - C) / (A + B) greetings Raymond Vermeer PTT Post / Dox & Data/Tri-C Tauber 52 (kamer TA 168) 2267 ED Leidschendam Tel (070) 33 42 298 Fax (070) 33 44 426 r.vermeer at ptt-post.nl Prive Mobiel 06 16 42 24 16 raymond.vermeer at topficie.nl http://www.topficie.nl -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From r.vermeer at ptt-post.nl Tue Jun 19 15:16:57 2001 From: r.vermeer at ptt-post.nl (Raymond Vermeer) Date: Tue, 19 Jun 2001 15:16:57 +0200 Subject: [rrd-users] rrdtool graph question Message-ID: <002701c0f8c2$1e0100e0$1d021aac@pm_0757.ptt-post.nl> Hello, does anyone no how to do the following ? I have a rrdfile with 3 GAUGE datasources A, B and C. Now I want to graph the following formula on a line or area : (A + B - C) / (A + B) greetings Raymond Vermeer PTT Post / Dox & Data/Tri-C Tauber 52 (kamer TA 168) 2267 ED Leidschendam Tel (070) 33 42 298 Fax (070) 33 44 426 r.vermeer at ptt-post.nl Prive Mobiel 06 16 42 24 16 raymond.vermeer at topficie.nl http://www.topficie.nl -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rodri at chilesat.net Tue Jun 19 16:02:06 2001 From: rodri at chilesat.net (Rodrigo Gesswein) Date: Tue, 19 Jun 2001 10:02:06 -0400 (CLT) Subject: [rrd-users] Re: rrdtool graph question Message-ID: Hi! > Hello, > does anyone no how to do the following ? > I have a rrdfile with 3 GAUGE datasources A, B and C. > Now I want to graph the following formula on a line or area : > (A + B - C) / (A + B) Maybe a CDEF like CDEF:var=A,B,+,C,-,A,B,+,/ And then graph var do the trick... Rodrigo Gesswein P. --- "Your life has been what it's been, and is what it is, because of who you have been, and who you are being." -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rodri at chilesat.net Tue Jun 19 16:09:17 2001 From: rodri at chilesat.net (Rodrigo Gesswein) Date: Tue, 19 Jun 2001 10:09:17 -0400 (CLT) Subject: [rrd-users] Strange sh problem... Message-ID: Hi! I want to create some graphics from a simple shell like this: ------ Begin Shell ------ #!/bin/sh OPT="--title \"Test Graph\" \ -v \"Traffic in bits/sec\" --imgformat PNG --base 1024 -l 0 \ --interlaced -h 200 -w 500 \ DEF:out=test.rrd:ds0:AVERAGE \ DEF:in=test.rrd:ds1:AVERAGE \ CDEF:down=out,UN,INF,0,IF \ CDEF:fin=in,8,* \ CDEF:fout=out,8,* \ AREA:fout#00cc00:\"Inbound Traffic.\" \ AREA:down#d0d0d0 \ LINE1:fin#0000FF:\"Outbound Traffic.\" \ COMMENT:"\n" \ COMMENT:"\n" \ GPRINT:fout:MIN:\"Min In\: %6.2lf %sbps\" \ GPRINT:fout:MAX:\"Max In\: %6.2lf %sbps\" \ GPRINT:fout:AVERAGE:\"Avg In\: %6.2lf %sbps\" \ GPRINT:fout:LAST:\"Current In\: %6.2lf %sbps\l\" \ GPRINT:fin:MIN:\"Min Out\: %6.2lf %sbps\" \ GPRINT:fin:MAX:\"Max Out\: %6.2lf %sbps\" \ GPRINT:fin:AVERAGE:\"Avg Out\: %6.2lf %sbps\" \ GPRINT:fin:LAST:\"Current Out\: %6.2lf %sbps\l\" \ -e 992896202 -s -1d" ../bin/rrdtool graph test4.png $OPT ------ End Shell ------ But, when I run it I got the following error: "ERROR: unknown function 'G'" If I don't use the OPT variable, it's work fine. Any ideas ??? Rodrigo Gesswein P. --- "Your life has been what it's been, and is what it is, because of who you have been, and who you are being." -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Tue Jun 19 15:31:31 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Tue, 19 Jun 2001 15:31:31 +0200 (CEST) Subject: [rrd-users] Re: rrdtool graph question In-Reply-To: <002101c0f8c1$f0bc1b10$1d021aac@pm_0757.ptt-post.nl> from "Raymond Vermeer" at Jun 19, 2001 03:15:41 PM Message-ID: <200106191331.PAA15113@slot.hollandcasino.nl> Raymond Vermeer wrote: > does anyone no how to do the following ? > I have a rrdfile with 3 GAUGE datasources A, B and C. > Now I want to graph the following formula on a line or area : > > (A + B - C) / (A + B) I'll give it a try but first I want to ask you something: Did you read the tutorial on RPN ? If yes: what was difficult to understand ? Anyway, divide the problem in smaller portions: x1 = (A+B-C) x2 = (A+B) result = x1 / x2 divide x1 further: xx1 = A + B result = xx1 - C Paste everything into RPN: A,B,+,C,-,A,B,+,/ Sanity check, by following the same rules as RRDtool does: Complete line: CDEF:result=A,B,+,C,-,A,B,+,/ stack after first calculation (A+B),C,-,A,B,+,/ stack after second calculation (A+B-C),A,B,+,/ stack after third calculation (A+B-C),(A+B),/ stack after fourth calculation (A+B-C)/(A+B) I didn't exactly test it but I don't think I made a mistake. Anyway, use at own risk (as always by the way). HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Tue Jun 19 16:28:28 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Tue, 19 Jun 2001 16:28:28 +0200 (CEST) Subject: [rrd-users] Re: rrdtool graph question In-Reply-To: <200106191331.PAA15113@slot.hollandcasino.nl> from "Alex van den Bogaerdt" at Jun 19, 2001 03:31:31 PM Message-ID: <200106191428.QAA15852@slot.hollandcasino.nl> Alex van den Bogaerdt wrote: > Complete line: CDEF:result=A,B,+,C,-,A,B,+,/ Hmm... Maybe (A+B-C)/(A+B) == (A+B)/(A+B) - C/(A+B) == 1 - C/(A+B) CDEF:result=1,C,A,B,+,/,- Saves an instruction :) -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From thedaveman11 at hotmail.com Tue Jun 19 19:49:52 2001 From: thedaveman11 at hotmail.com (Dave Fleck) Date: Tue, 19 Jun 2001 10:49:52 -0700 Subject: [rrd-users] CPU utilization using routers.cgi Message-ID: I'm hoping someone out there may be able to help me with this. I know this doesn't directly apply to RRD tool but I figure this is the best place to check. I am trying to convert the routers.cgi script to gauge the percentage of CPU utilization. I have created an MRTG config file using RRD tool and I have been able to display a graph using the routers.cgi script. The only problem is that the x axis is still labeled as bits per second (bandwidth) and the maximum value is set to 800 (bps). I will go ahead and include my config file but it's pretty standard. ### CPU Utilization >> Descr: '' | Name: '' | Ip: '' | Eth: '' ### Target[wvlanlx3_cpu]: 1.3.6.1.4.1.9.9.109.1.1.1.1.3.9&1.3.6.1.4.1.9.9.109.1.1.1.1.4.9:public at wvlanlx3 MaxBytes[wvlanlx3_cpu]: 100 WithPeak[wvlanlx3_cpu]: ymw Options[wvlanlx3_cpu]: growright, gauge Title[wvlanlx3_cpu]: wvlanlx3_CPU YLegend[wvlanlx3_cpu]: Percent ShortLegend[wvlanlx3_cpu]: % PageTop[wvlanlx3_cpu]:

CPU Util of the router

What do I need to change in the routers.cgi config to gauge the utilization correctly? I'm sure someone out there has done this before. Please help!! Thanks, -Dave _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From serge.maandag at staff.zeelandnet.nl Tue Jun 19 19:57:25 2001 From: serge.maandag at staff.zeelandnet.nl (Serge Maandag) Date: Tue, 19 Jun 2001 19:57:25 +0200 Subject: [rrd-users] Re: Strange sh problem... Message-ID: <1C48875BDE7ED0469485A5FD49925C4ADECE46@zmx.staff.zeelandnet.nl> Hmm, what I do see is that you've escaped all your quotes COMMENT:"\n" \ COMMENT:"\n" \ except in the above lines. Serge. -----Original Message----- From: Rodrigo Gesswein [mailto:rodri at chilesat.net] Sent: dinsdag 19 juni 2001 16:09 To: rrdtool user's mailing list... Subject: [rrd-users] Strange sh problem... Hi! I want to create some graphics from a simple shell like this: ------ Begin Shell ------ #!/bin/sh OPT="--title \"Test Graph\" \ -v \"Traffic in bits/sec\" --imgformat PNG --base 1024 -l 0 \ --interlaced -h 200 -w 500 \ DEF:out=test.rrd:ds0:AVERAGE \ DEF:in=test.rrd:ds1:AVERAGE \ CDEF:down=out,UN,INF,0,IF \ CDEF:fin=in,8,* \ CDEF:fout=out,8,* \ AREA:fout#00cc00:\"Inbound Traffic.\" \ AREA:down#d0d0d0 \ LINE1:fin#0000FF:\"Outbound Traffic.\" \ COMMENT:"\n" \ COMMENT:"\n" \ GPRINT:fout:MIN:\"Min In\: %6.2lf %sbps\" \ GPRINT:fout:MAX:\"Max In\: %6.2lf %sbps\" \ GPRINT:fout:AVERAGE:\"Avg In\: %6.2lf %sbps\" \ GPRINT:fout:LAST:\"Current In\: %6.2lf %sbps\l\" \ GPRINT:fin:MIN:\"Min Out\: %6.2lf %sbps\" \ GPRINT:fin:MAX:\"Max Out\: %6.2lf %sbps\" \ GPRINT:fin:AVERAGE:\"Avg Out\: %6.2lf %sbps\" \ GPRINT:fin:LAST:\"Current Out\: %6.2lf %sbps\l\" \ -e 992896202 -s -1d" ../bin/rrdtool graph test4.png $OPT ------ End Shell ------ But, when I run it I got the following error: "ERROR: unknown function 'G'" If I don't use the OPT variable, it's work fine. Any ideas ??? Rodrigo Gesswein P. --- "Your life has been what it's been, and is what it is, because of who you have been, and who you are being." -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From gerry at sockeye.com Tue Jun 19 20:28:37 2001 From: gerry at sockeye.com (Gerry Seaward) Date: Tue, 19 Jun 2001 14:28:37 -0400 Subject: [rrd-users] CDEF and RPN confusion Message-ID: <3B2F99D5.DE2C22BA@sockeye.com> rrdtool graph foo.png -w 800 -h 600 --start 992628600 --end 992637000 \ DEF:mysent=128.11.25.244.rrd:sent:AVERAGE \ DEF:myrec=128.11.25.244.rrd:received:AVERAGE \ CDEF:clean_sent=value,unknown,0,value,IF \ CDEF:clean_sent=0,0,value,IF \ CDEF:clean_sent=value \ CDEF:clean_received=value,unknown,value,IF \ CDEF:clean_received=0,0,value,IF \ CDEF:clean_received=value \ LINE1:mysent#FF0000 LINE2:myrec#F00000 returns the error - "ERROR: invalid rpn expression 'value,unknown,0,value,IF'" What gives? Gerry. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From cliftonr at lava.net Tue Jun 19 20:24:05 2001 From: cliftonr at lava.net (Clifton Royston) Date: Tue, 19 Jun 2001 08:24:05 -1000 Subject: [rrd-users] Re: Strange sh problem... In-Reply-To: ; from rodri@chilesat.net on Tue, Jun 19, 2001 at 10:09:17AM -0400 References: Message-ID: <20010619082405.D25055@lava.net> On Tue, Jun 19, 2001 at 10:09:17AM -0400, Rodrigo Gesswein wrote: > ------ Begin Shell ------ > #!/bin/sh > > OPT="--title \"Test Graph\" \ ... > AREA:down#d0d0d0 \ > LINE1:fin#0000FF:\"Outbound Traffic.\" \ > COMMENT:"\n" \ ^ ^ You didn't escape the quotes here > COMMENT:"\n" \ ^ ^ and here. > GPRINT:fout:MIN:\"Min In\: %6.2lf %sbps\" \ > GPRINT:fout:MAX:\"Max In\: %6.2lf %sbps\" \ ... > -e 992896202 -s -1d" > > ../bin/rrdtool graph test4.png $OPT > > ------ End Shell ------ Try fixing those and see if that solves it. -- Clifton -- Clifton Royston -- LavaNet Systems Architect -- cliftonr at lava.net WWJD? "JWRTFM!" - Scott Dorsey (kludge) "JWG" - Eddie Aikau -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From serge.maandag at staff.zeelandnet.nl Tue Jun 19 20:27:31 2001 From: serge.maandag at staff.zeelandnet.nl (Serge Maandag) Date: Tue, 19 Jun 2001 20:27:31 +0200 Subject: [rrd-users] Re: CDEF and RPN confusion Message-ID: <1C48875BDE7ED0469485A5FD49925C4ADECE47@zmx.staff.zeelandnet.nl> "value" is not defined, replace it with "mysent" and "myrec". Serge. -----Original Message----- From: Gerry Seaward [mailto:gerry at sockeye.com] Sent: dinsdag 19 juni 2001 20:29 To: rrd-users at list.ee.ethz.ch; gerry at sockeye.com Subject: [rrd-users] CDEF and RPN confusion rrdtool graph foo.png -w 800 -h 600 --start 992628600 --end 992637000 \ DEF:mysent=128.11.25.244.rrd:sent:AVERAGE \ DEF:myrec=128.11.25.244.rrd:received:AVERAGE \ CDEF:clean_sent=value,unknown,0,value,IF \ CDEF:clean_sent=0,0,value,IF \ CDEF:clean_sent=value \ CDEF:clean_received=value,unknown,value,IF \ CDEF:clean_received=0,0,value,IF \ CDEF:clean_received=value \ LINE1:mysent#FF0000 LINE2:myrec#F00000 returns the error - "ERROR: invalid rpn expression 'value,unknown,0,value,IF'" What gives? Gerry. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Wed Jun 20 00:40:45 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Wed, 20 Jun 2001 00:40:45 +0200 (CEST) Subject: [rrd-users] Re: CDEF and RPN confusion In-Reply-To: <3B2F99D5.DE2C22BA@sockeye.com> from "Gerry Seaward" at Jun 19, 2001 02:28:37 PM Message-ID: <200106192240.AAA21621@slot.hollandcasino.nl> Gerry Seaward wrote: > > > rrdtool graph foo.png -w 800 -h 600 --start 992628600 --end 992637000 \ > DEF:mysent=128.11.25.244.rrd:sent:AVERAGE \ > DEF:myrec=128.11.25.244.rrd:received:AVERAGE \ > CDEF:clean_sent=value,unknown,0,value,IF \ You should use the desired variable named in place of "value". Also, you need to use upper case for "unknown". > CDEF:clean_sent=0,0,value,IF \ This is a redefinition of clean_sent. It doesn't work (or at least: it shouldn't work). Furthermore you have something similar to " if (false) then this else that ". This will always evaluate to "that" (value in your case). [snip] > LINE1:mysent#FF0000 LINE2:myrec#F00000 If you want to plot the modified variables, you need to specify them here and not use the original vars. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jgoldfarb at KodiakComputer.com Wed Jun 20 01:34:38 2001 From: jgoldfarb at KodiakComputer.com (Josh Goldfarb) Date: Tue, 19 Jun 2001 19:34:38 -0400 Subject: [rrd-users] OT: Just wondering Message-ID: <8C5CC9CE91D7654EA313C831A14AE0A50985E5@EXCHFE01.domain-01.com> Well since I am not an expert with Website design and graphics I am trying to put together my RRDtool pages.. you know like 14all.cgi (several of them) and combine them with a few of my html MRTG pages and was wondering like what would be the best way to integrate all the pages too look really nice. I know JIM HUNT's page is the best that I have seen but I am wondering if anyone can give me a little had.. I am trying to put together a sort of Index page (at least that is what I a told my boss, it is really going to be a profile page to go on my resume :) But anyways if anyone can assist me I would greatly appreciate it Thanks josh goldfarb -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nigel.Hewett at compaq.com Wed Jun 20 09:10:48 2001 From: Nigel.Hewett at compaq.com (Hewett, Nigel) Date: Wed, 20 Jun 2001 08:10:48 +0100 Subject: [rrd-users] Index Graph Message-ID: <0869DF37EC2126448535941DDA819F2F24FBFD@reoexc02.emea.cpqcorp.net> Is it possible to get 14all.cgi to create the index graph with Discriptions instead of interfaces. IE London Frame Relay instead of ATM/0.1 Thanks Nigel -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From paulw at oninit.com Wed Jun 20 09:25:58 2001 From: paulw at oninit.com (paulw at oninit.com) Date: Wed, 20 Jun 2001 08:25:58 +0100 Subject: [rrd-users] Re: rrdtool graph question References: <002701c0f8c2$1e0100e0$1d021aac@pm_0757.ptt-post.nl> Message-ID: <3B305006.46F1F6F8@oninit.com> Check out the use of CDEF Raymond Vermeer wrote: > > Hello, > > does anyone no how to do the following ? > I have a rrdfile with 3 GAUGE datasources A, B and C. > Now I want to graph the following formula on a line or area : > > (A + B - C) / (A + B) > > greetings > Raymond Vermeer > > PTT Post / Dox & Data/Tri-C > Tauber 52 (kamer TA 168) > 2267 ED Leidschendam > Tel (070) 33 42 298 > Fax (070) 33 44 426 > r.vermeer at ptt-post.nl > Prive > Mobiel 06 16 42 24 16 > raymond.vermeer at topficie.nl > http://www.topficie.nl > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Paul Watson # Oninit Ltd # You are only young once Tel: +44 1436 672201 # but you can be immature Fax: +44 1436 678693 # for ever www.oninit.com # -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From david.sawyer at uk.mckhboc.com Wed Jun 20 12:20:05 2001 From: david.sawyer at uk.mckhboc.com (David Sawyer) Date: Wed, 20 Jun 2001 11:20:05 +0100 Subject: [rrd-users] Unable to create graphs using 14all.cgi Message-ID: <01Jun20.112119bst.119052@gateway.uk.hboc.com> Instead of the graphs being created I get the following message. "Error: Cannot create graph" I get the directory listing at the start and I'm able to drill down to view the day, week, month & year graphs view, but I get the above message instead of the graphs. I know the configs work as I am currently using the same configs for native MRTG. I have set up a main script called "RRDmain.cfg" that has include commands pointing to my devices... # <--- start of RRDmain.cfg ---> WorkDir: c:\inetpub\wwwroot\rrd # START RDTOOL Add-ons ------------------------------------- # Modify Logfiles (*.log) to RRD format (*.rrd) LogFormat: rrdtool # RRD Executable (rrdtool.exe) location PathAdd: c:\mrtg\rrdtool\perl-shared\t # RRD Perl module (RRDs.pm) location LibAdd: c:\mrtg\rrdtool\perl-shared # STOP RDTOOL Add-ons ------------------------------------- Include: c:\mrtg\bin\warwick\war1.cfg Include: c:\mrtg\bin\warwick\war2.cfg etc, etc Include: c:\mrtg\bin\newcastle\new1.cfg Include: c:\mrtg\bin\newcastle\new2.cfg etc, etc # <--- end of RRDmain.cfg ---> It looks as thought 14all.cgi cannot locate the *.rrd files, but there are no errors when running MRTG and the rrd files are being updated. I can also create the graphs manually so that proves the configs and the rrd files are ok. TIA David Sawyer Need a Windows Daemon that allows you to change your MRTG/RRDtool scripts without having to stop the 'Perl' process then visit www.geocities.com/mrtg_daemon ---------------------------------------------------------------------------- The information contained in this e-mail is confidential and is intended only for the named recipient(s). If you are not the intended recipient you must not copy, distribute, or take any action or reliance on it. If you have received this e-mail in error, please notify the sender. Any unauthorised disclosure of the information contained in this e-mail is strictly prohibited. ---------------------------------------------------------------------------- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nigel.Hewett at compaq.com Wed Jun 20 15:27:05 2001 From: Nigel.Hewett at compaq.com (Hewett, Nigel) Date: Wed, 20 Jun 2001 14:27:05 +0100 Subject: [rrd-users] Cammer script Message-ID: <0869DF37EC2126448535941DDA819F2F24FBFF@reoexc02.emea.cpqcorp.net> Has anyone used this script, as when I run it on a Cisco 5500 Cat it reports as most PC's connected to 1/1 and not their actual port. Any Ideas Nigel -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From George.Nease at dig.com Wed Jun 20 19:09:38 2001 From: George.Nease at dig.com (George Nease) Date: Wed, 20 Jun 2001 10:09:38 -0700 Subject: [rrd-users] me, too: Unable to create graphs using 14all.cgi Message-ID: This is exactly the same thing that happened to me. When I relaxed NT permissions (and user profiles in User Manager: you may need to allow 'log in locally' depending on how IIS runs on your box), I then proceeded to the next RRD zombie stage, where I still am now: you get beautiful, empty graphs... -----Original Message----- From: David Sawyer [mailto:david.sawyer at uk.mckhboc.com] Sent: Wednesday, June 20, 2001 3:20 AM To: 'RRD users' Subject: [rrd-users] Unable to create graphs using 14all.cgi Instead of the graphs being created I get the following message. "Error: Cannot create graph" I get the directory listing at the start and I'm able to drill down to view the day, week, month & year graphs view, but I get the above message instead of the graphs. I know the configs work as I am currently using the same configs for native MRTG. I have set up a main script called "RRDmain.cfg" that has include commands pointing to my devices... # <--- start of RRDmain.cfg ---> WorkDir: c:\inetpub\wwwroot\rrd # START RDTOOL Add-ons ------------------------------------- # Modify Logfiles (*.log) to RRD format (*.rrd) LogFormat: rrdtool # RRD Executable (rrdtool.exe) location PathAdd: c:\mrtg\rrdtool\perl-shared\t # RRD Perl module (RRDs.pm) location LibAdd: c:\mrtg\rrdtool\perl-shared # STOP RDTOOL Add-ons ------------------------------------- Include: c:\mrtg\bin\warwick\war1.cfg Include: c:\mrtg\bin\warwick\war2.cfg etc, etc Include: c:\mrtg\bin\newcastle\new1.cfg Include: c:\mrtg\bin\newcastle\new2.cfg etc, etc # <--- end of RRDmain.cfg ---> It looks as thought 14all.cgi cannot locate the *.rrd files, but there are no errors when running MRTG and the rrd files are being updated. I can also create the graphs manually so that proves the configs and the rrd files are ok. TIA David Sawyer Need a Windows Daemon that allows you to change your MRTG/RRDtool scripts without having to stop the 'Perl' process then visit www.geocities.com/mrtg_daemon ---------------------------------------------------------------------------- The information contained in this e-mail is confidential and is intended only for the named recipient(s). If you are not the intended recipient you must not copy, distribute, or take any action or reliance on it. If you have received this e-mail in error, please notify the sender. Any unauthorised disclosure of the information contained in this e-mail is strictly prohibited. ---------------------------------------------------------------------------- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jeggle at eecs.umich.edu Wed Jun 20 21:57:02 2001 From: jeggle at eecs.umich.edu (Joseph E. Eggleston) Date: Wed, 20 Jun 2001 15:57:02 -0400 (EDT) Subject: [rrd-users] precise bins Message-ID: Hi All, Is it possible to specify the exact wall clock time for bins (steps)? For example, keeping bins that start and end every minute, on the minute. Thanks! Joe -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 21 01:37:58 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 21 Jun 2001 01:37:58 +0200 (CEST) Subject: [rrd-users] Re: precise bins In-Reply-To: from "Joseph E. Eggleston" at Jun 20, 2001 03:57:02 PM Message-ID: <200106202337.BAA05424@slot.hollandcasino.nl> Joseph E. Eggleston wrote: > Hi All, > Is it possible to specify the exact wall clock time for bins (steps)? For > example, keeping bins that start and end every minute, on the minute. Any step size is allowed as long as it is a multiple of 1 second. The start and end times of each interval will be n*stepsize, with n being an integer and n*stepsize the unix time-since-epoch time. So yes: you can have bins that start and end every minute on the minute. and no: you cannot have bins that start and end at arbitrary times. To see if your desired configuration can be made reality you need to convert the wall clock time into seconds since the epoch and try to integer divide that by the step size. If there is no remainder, it will work. cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From klightfoot at station.sony.com Thu Jun 21 01:41:51 2001 From: klightfoot at station.sony.com (Lightfoot, Kirk) Date: Wed, 20 Jun 2001 16:41:51 -0700 Subject: [rrd-users] Question regarding the preservation of granularity... Message-ID: <41D164C558FFD311A4AE000629A8194A01726920@mail-sd.station.sony.com> Hello, I'm a long-time user of MRTG, and I'm currently in the process of migrating to RRDTool. One specific goal is to preserve granularity of expired values. Currently I'm sticking an interger value (current player count of one of our premium games) into mrtg every 5 minutes. What I'd like to do is preserve the maxumim count for each day and never lose values due to expiring. Is there a way to do this using RRDTool? Thanks in advance, -Kirk -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 21 01:57:52 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 21 Jun 2001 01:57:52 +0200 (CEST) Subject: [rrd-users] Re: Question regarding the preservation of granularity... In-Reply-To: <41D164C558FFD311A4AE000629A8194A01726920@mail-sd.station.sony.com> from "Lightfoot, Kirk" at Jun 20, 2001 04:41:51 PM Message-ID: <200106202357.BAA05643@slot.hollandcasino.nl> Lightfoot, Kirk wrote: > Currently I'm sticking an interger value (current player count of one of our > premium games) into mrtg every 5 minutes. What I'd like to do is preserve > the maxumim count for each day and never lose values due to expiring. Is > there a way to do this using RRDTool? MRTG should automatically convert its log file to a RRD. I'm not sure if the maximum counter will also be converted but it's easy to try and the log files shouldn't be destroyed. Make a backup anyway before you start, enter the RRDtool magic in the config file, run MRTG, remove the RRDtool magic again and start testing the generated RRD. While you're doing this MRTG will continue logging the old way. After testing, rename or delete the RRD. Keeping the maximum for each day is a bit hard to do. But then again, you can't to this with MRTG either. Both MRTG and RRDtool work with UTC time and there is no time zone in the world that I know of, including the UK, that works with UTC time and no daylight saving. If you can live with keeping the stats per 24 hours, not 00:00 - 24:00, the default is to keep over 2 years of information. If this is not enough you can alter the size of the RRAs involved using "rrdtool resize". HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From brugh14 at cirkuit.com Thu Jun 21 05:14:08 2001 From: brugh14 at cirkuit.com (Cody Brugh) Date: Wed, 20 Jun 2001 20:14:08 -0700 Subject: [rrd-users] graphing APC power backups Message-ID: <000001c0fa00$3c83d2b0$0200000a@cody> Hello, Anyone ever graphed there APC power backup or does anyone know if its possible? Please get back with me. Cody -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dl at tyfon.net Thu Jun 21 08:16:56 2001 From: dl at tyfon.net (Dan Larsson) Date: Thu, 21 Jun 2001 08:16:56 +0200 (CEST) Subject: [rrd-users] Re: graphing APC power backups In-Reply-To: <000001c0fa00$3c83d2b0$0200000a@cody> Message-ID: <20010621081124.V31054-100000@hq1.tyfon.net> On Wed, 20 Jun 2001, Cody Brugh wrote: | Hello, | | Anyone ever graphed there APC power backup or does anyone know if its | possible? Please get back with me. I'm successfully graphing battery/load/temperature/utility voltage on APC SmartUPS:es and MATRIX:es. The values are readable with SNMP (requires snmpcard installed) or with an apc-cable (the black serial cable that comes with the UPS). Regards +------ Dan Larsson | Tel: +46 8 550 120 21 Tyfon Svenska AB | Fax: +46 8 550 120 02 GPG and PGP keys | finger dl at hq1.tyfon.net -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From r.vermeer at ptt-post.nl Thu Jun 21 11:13:48 2001 From: r.vermeer at ptt-post.nl (Raymond Vermeer) Date: Thu, 21 Jun 2001 11:13:48 +0200 Subject: [rrd-users] rrdtool update question Message-ID: <006601c0fa32$7af1f540$1d021aac@pm_0757.ptt-post.nl> Hello I'm trying to understand how the data is stored in a RRD file. Here you see the output of the fetch command of the last 30 minutes of a specific RRD file. ============================================================================ =========================================== bash-2.02# /rrd/bin/rrdtool fetch oraDbSysTable.2.rrd AVERAGE --start -30m ConsistentChangesConsistentGetsDbBlockChanges BlockGetsFreeBufferInspectFreeBufferRequest PhysReads PhysWrites RedoEntriesRedoLogSpaceRequestRedoSyncWrites SortsDisk SortsMemory SortsRowsTableFetchRowidTableFetchContinuedTableScanBlocks TableScanRowsTableScansLongTableScansShort UserCalls UserCommits UserRollbacks WriteRequests 993111600: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN 993111900: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN 993112200: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN 993112500: 2.6666666667e-02 3.0096666667e+01 1.1666666667e-01 4.4666666667e-01 1.3333333333e-02 2.1506666667e+01 2.4316666667e+01 2.8533333333e+00 6.0000000000e-02 0.0000000000e+00 3.3333333333e-03 3.3333333333e-03 3.2333333333e-01 NaN 1.4590000000e+01 0.0000000000e+00 1.0913333333e+01 NaN 6.6666666667e-03 4.3333333333e-02 2.1266666667e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 993112800: 6.5600000000e-02 3.2997200000e+01 2.9391288889e+01 5.1361733333e+01 1.0088888889e-02 2.7336933333e+01 4.6664400000e+01 2.6262000000e+01 1.4987688889e+01 0.0000000000e+00 6.9115555556e-01 6.5777777778e-03 4.2391111111e-01 NaN 1.5527644444e+01 0.0000000000e+00 1.0919822222e+01 NaN 6.6666666667e-03 4.3333333333e-02 3.5509777778e+00 6.9431111111e-01 0.0000000000e+00 0.0000000000e+00 993113100: 1.5751111111e-01 5.6044088889e+01 3.0193333333e+01 5.2756666667e+01 3.3680000000e+00 9.0789288889e+01 4.7276666667e+01 2.6903333333e+01 1.5396666667e+01 1.2977777778e-02 5.7551111111e+00 1.6400000000e-02 3.4555555556e-01 NaN 1.6228177778e+01 0.0000000000e+00 3.1071244444e+01 NaN 1.9644444444e-02 4.6577777778e-02 1.3323333333e+01 5.7389777778e+00 0.0000000000e+00 0.0000000000e+00 993113400: 7.2627870680e-02 3.7996640059e+01 NaN NaN 4.1516200669e+00 7.3575962245e+01 9.3909698997e+01 7.8846153846e+01 NaN 1.3376737272e-02 5.6553495355e+00 6.9550353029e-03 3.6072746191e-01 NaN 1.3236321368e+01 0.0000000000e+00 1.1507636715e+01 NaN 7.0439241918e-03 5.0073875883e-02 1.3526814716e+01 5.6581603865e+00 0.0000000000e+00 0.0000000000e+00 993113700: NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ============================================================================ =========================================== Then I show you the values given with the rrdtool update command produced from my perl script. ============================================================================ =========================================== 993111874 N:355537:251072498:265344484:414131016:2804075:87240436:88251198:57968857:13 4991805:12889:5498456:8278:1434581:744707917:123437852:6076:9969601:17114439 41:11608:125809:18475220:5479724:2173:0 993112208 N:355565:251087036:265344606:414131255:2804077:87249626:88266898:57977738:13 4991868:12889:5498458:8281:1434678:745574065:123442820:6076:9975889:17129250 68:11612:125816:18475789:5479724:2173:0 993112508 N:355573:251096065:265344641:414131389:2804081:87256078:88274193:57978594:13 4991886:12889:5498459:8282:1434775:745704648:123447197:6076:9979163:17136656 92:11614:125829:18476427:5479724:2173:0 993112808 N:355593:251105988:265353699:414147216:2804084:87264327:88288376:57986665:13 4996505:12889:5498672:8284:1434903:746443583:123451863:6076:9982439:17144063 18:11616:125842:18477504:5479938:2173:0 993113108 N:355641:251122990:265439080:414293523:2805122:87292084:88331120:58019138:13 5039573:12893:5500440:8289:1435006:748046571:123456737:6076:9991926:17166280 35:11622:125856:18481581:5481701:2173:0 993113407 N:355662:251134198:265521912:414435179:2806369:87313928:88359199:58042713:13 5081415:12897:5502129:8291:1435114:748785436:123460670:6076:9995202:17173686 61:11624:125871:18485625:5483391:2173:0 ============================================================================ =========================================== Can someone tell me how I can match the value for example '993113400: 7.2627870680e-02 .....' in the fetch command output with one of the values given in the update command ? All datasources in this RRD file are of the type COUNTER. The RRD file is created with the following options : --step 300 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 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 greetings Raymond Vermeer -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From U.Tehrani at hzd.hessen.de Thu Jun 21 11:20:02 2001 From: U.Tehrani at hzd.hessen.de (Tehrani, Ulrich) Date: Thu, 21 Jun 2001 11:20:02 +0200 Subject: [rrd-users] AW: [cricket-users] Current values not available: Architecture MS Win32-x86-multi-thread not supported yet Message-ID: <91AD4D8576DBD211B4340800060D955F0373D8C8@sv-berta.hzd.hessen.de> Hi , add || $archname eq "MSWin32-x86-multi" to your Format.pm - file Uli -----Urspr?ngliche Nachricht----- Von: Ammar Tawil [mailto:atawil at shb.com.sa] Gesendet am: Dienstag, 19. Juni 2001 14:54 An: cricket-users at lists.sourceforge.net Betreff: [cricket-users] Current values not available: Architecture MSWin32-x86-multi-thread not supported yet Hi , The utilization graph for a cisco interface shows the following msg in its summary section, any body knows why is that and what should appear in the summary section. the msg is: Current values not available: Architecture MSWin32-x86-multi-thread not supported yet Thanks and regards -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From david.sawyer at uk.mckhboc.com Thu Jun 21 11:37:11 2001 From: david.sawyer at uk.mckhboc.com (David Sawyer) Date: Thu, 21 Jun 2001 10:37:11 +0100 Subject: [rrd-users] Re: me, too: Unable to create graphs using 14all.cgi Message-ID: <01Jun21.103831bst.119043@gateway.uk.hboc.com> > I bet this is in a FAQ somewhere :-) > > I set EVERYONE to have full control on 'wwwroot' folder and all is now ok. > > > -----Original Message----- > From: George Nease [SMTP:George.Nease at dig.com] > Sent: Wednesday, June 20, 2001 6:10 PM > To: 'David Sawyer'; 'RRD users' > Subject: me, too: [rrd-users] Unable to create graphs using 14all.cgi > > This is exactly the same thing that happened to me. When I relaxed NT > permissions (and user profiles in User Manager: you may need to allow 'log > in locally' depending on how IIS runs on your box), I then proceeded to > the > next RRD zombie stage, where I still am now: you get beautiful, empty > graphs... > > ---------------------------------------------------------------------------- The information contained in this e-mail is confidential and is intended only for the named recipient(s). If you are not the intended recipient you must not copy, distribute, or take any action or reliance on it. If you have received this e-mail in error, please notify the sender. Any unauthorised disclosure of the information contained in this e-mail is strictly prohibited. ---------------------------------------------------------------------------- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From marc at somix.com Thu Jun 21 15:52:49 2001 From: marc at somix.com (Marc Bilodeau) Date: Thu, 21 Jun 2001 09:52:49 -0400 Subject: [rrd-users] Re: graphing APC power backups In-Reply-To: <000001c0fa00$3c83d2b0$0200000a@cody> Message-ID: We recently add this autodiscovery capability to our products if your interested. If not, MRTG templates are available in our MRTG Configuration Fragments repository. You can at least extract the OID strings if your using straight RRD. |-------------------------------------------------------------------------| |Marc Bilodeau | WebNM http://www.somix.com/products/webnm/ | |Somix Technologies,Inc.| Denika http://www.somix.com/products/denika/ | |1293 Main St. | I*SYSTEM http://www.somix.com/products/isystem/ | |Sanford, ME 04073 | | | | MRTG Configuration Fragments | |P: (207) 324-8805 | http://www.somix.com/software/mrtg/ | |F: (207) 324-8683 | | | | MIB Repository | |marc at somix.com | http://www.somix.com/software/mibs/ | |-------------------------------------------------------------------------| -----Original Message----- From: rrd-users-bounce at list.ee.ethz.ch [mailto:rrd-users-bounce at list.ee.ethz.ch]On Behalf Of Cody Brugh Sent: Wednesday, June 20, 2001 11:14 PM To: rrd-users at list.ee.ethz.ch Subject: [rrd-users] graphing APC power backups Hello, Anyone ever graphed there APC power backup or does anyone know if its possible? Please get back with me. Cody -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From keith at sinclair.org.au Thu Jun 21 17:32:39 2001 From: keith at sinclair.org.au (Keith Sinclair) Date: Fri, 22 Jun 2001 01:32:39 +1000 Subject: [rrd-users] ANNOUNCE NMIS 2.00 RELEASED Message-ID: <3B321397.3000800@sinclair.org.au> I have finally completed NMIS 2.00. This is available now from http://www.sins.com.au/nmis/. NMIS is a full featured RRDTool front and backend. More information: * NMIS features are http://www.sins.com.au/nmis/nmis-features.html * The latest changes are in http://www.sins.com.au/nmis/nmis-changes.html * The new help file is http://www.sins.com.au/nmis/nmis-help.html * The install info is http://www.sins.com.au/nmis/nmis-install.html There is more documentation available online and with the distribution. This version is looking pretty good, including LOTS of fixes and updates from user group, like config checking and Apache configuration generation. Please make sure you look through changes and check the nmis-sample.conf for new configuration items. The 2.00 version will stand, meaning no new features will be added to 2.00 only patches, ie 2.01 would be the next release. Any new features will be added to another release number, like 2.1 or 3.0, unless functionality can be added with standalone scripts like metrics.pl. This would be an excellent way to enhance NMIS. Please upload fixes, patches, documentation, etc to the User Group web site http://groups.yahoo.com/group/nmis_users. Regards Keith Sinclair keith at sinclair.org.au -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From marco.flohrer at informatik.tu-chemnitz.de Thu Jun 21 20:43:01 2001 From: marco.flohrer at informatik.tu-chemnitz.de (Marco Flohrer) Date: Thu, 21 Jun 2001 20:43:01 +0200 (MET DST) Subject: [rrd-users] unconstant updateded data source Message-ID: Hi, i am currently bussy with the following problem: our switch updates it's SNMP-Counters (RMON traffic counters to be precise) in unfixed steps. Sometimes in 2 minutes but sometimes it takes over 7 minutes. So updating the RRD database in constant intervalls is a bad idea. Too long intervalls (especially 15 minutes to ensure counter is at least one time updated) is not an option because i want the collected values as exect as possibly. So i read the counters every minute to be near real uptdate time. If i specify minimal values for an RRA, "unknown" (xff is 0.0) will be written to the database if counter ist not updated in this minute but i can't find the "best" "--step" value for rrdcreate. Too long steps gives a very step-stoned graph and too short "--steps" gives a graph going up and down. Hm, to make it short: What would be the best solution for such data sources? thnx -- mailto: marco.flohrer at informatik.tu-chemnitz.de talk: mafl at diamond.csn.tu-chemnitz.de -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From faulkner at eco.utexas.edu Thu Jun 21 20:46:32 2001 From: faulkner at eco.utexas.edu (Wendy Faulkner) Date: Thu, 21 Jun 2001 13:46:32 -0500 (CDT) Subject: [rrd-users] mail scripts Message-ID: <200106211846.NAA01972@sade.eco.utexas.edu> Hi. I'm pretty new to rrdtool, and was wanting to get graphs and data for all aspects of our mail system. I've got some working pretty well with the mail queue and such, but I'm having some problems with a couple of others. The two I'm having problems figuring out how to do are both ones that will only get input once a day - total # of mail messages and total # of viruses stopped. Any suggestions as to the best way to do these? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Wendy Faulkner Don't knock on Death's door. faulkner at eco.utexas.edu Ring the bell and run away. http://www.eco.utexas.edu/~faulkner He hates that. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jeggle at eecs.umich.edu Thu Jun 21 21:37:19 2001 From: jeggle at eecs.umich.edu (Joseph E. Eggleston) Date: Thu, 21 Jun 2001 15:37:19 -0400 (EDT) Subject: [rrd-users] start time Message-ID: Hi All, I'm getting an error message when I use a start time of 0. Why should this happen? Here's what I'm doing: rrdtool create test.rrd --start 0 --step 900 \ > DS:prefixes:GAUGE:1800:0:U \ > RRA:AVERAGE:0.5:1:192 \ rrdtool update prefixes.rrd \ > 993081600:1 ERROR: illegal attempt to update using time 993081600 when last update time is 993096000 (minimum one second step) But if I use a start time closer to the start of the data: e.g. --start 990000000 the above update works. Doesn't start time just specify that rrd shouldn't accept an update time before that time? Thanks! Joe -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From cjs+lists at aol.net Thu Jun 21 21:44:00 2001 From: cjs+lists at aol.net (Chris Snell) Date: Thu, 21 Jun 2001 15:44:00 -0400 Subject: [rrd-users] Re: start time In-Reply-To: Message-ID: <4.3.2.7.2.20010621154228.04290ce0@imap.web.aol.com> At 03:37 PM 6/21/2001 -0400, Joseph E. Eggleston wrote: >Hi All, >I'm getting an error message when I use a start time of 0. Why should this >happen? Why do you need a start time of 0? Do you have data from 1 Jan 1970? Perhaps you are graphing the popularity of disco? :) Why not choose a start time of, oh, last Tuesday instead? Chris -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 21 21:50:57 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 21 Jun 2001 21:50:57 +0200 (CEST) Subject: [rrd-users] Re: mail scripts In-Reply-To: <200106211846.NAA01972@sade.eco.utexas.edu> from "Wendy Faulkner" at Jun 21, 2001 01:46:32 PM Message-ID: <200106211950.VAA17977@slot.hollandcasino.nl> Wendy Faulkner wrote: > The two I'm having problems figuring out how to do are both ones that will > only get input once a day - total # of mail messages and total # of viruses > stopped. > > Any suggestions as to the best way to do these? I don't know if it is *the best* way of doing it but here's how I would approach the problem: 1) To prevent problems with timezones, I'd use a step time of 3600. This allows for updates at midnight local time in stead of midnight UTC time. 2) To prevent problems with the updating, I'd use a heartbeat of 172000. This allows for an update to occur anywhere during the next day, upto but not including the next regular update. 3) I'd then count the number of messages and virusses somewhere after midnight, no hurry. The update can be given to RRDtool as if it occured at midnight, just specify the correct timestamp. If you encountered other problems, let us know and we'll probably can help you with them; you need to be more specific about them if you want us to help... cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jeggle at eecs.umich.edu Thu Jun 21 22:09:41 2001 From: jeggle at eecs.umich.edu (Joseph E. Eggleston) Date: Thu, 21 Jun 2001 16:09:41 -0400 (EDT) Subject: [rrd-users] Re: start time In-Reply-To: <4.3.2.7.2.20010621154228.04290ce0@imap.web.aol.com> Message-ID: I don't necessarily have data that starts in 1970, but I don't know the exact time that the data will be starting. It seemed better to not have rrd check. The question really is, why does rrd care when the start time is? I've tried putting in other low numbers, such as 1, and still get the same error. I guess I am trying to figure out if there is a more limited range of dates that rrd can handle. thanks, Joe On Thu, 21 Jun 2001, Chris Snell wrote: > > > At 03:37 PM 6/21/2001 -0400, Joseph E. Eggleston wrote: > >Hi All, > >I'm getting an error message when I use a start time of 0. Why should this > >happen? > > Why do you need a start time of 0? Do you have data from 1 Jan > 1970? Perhaps you are graphing the popularity of disco? :) Why not > choose a start time of, oh, last Tuesday instead? > > Chris > > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From faulkner at eco.utexas.edu Thu Jun 21 22:32:07 2001 From: faulkner at eco.utexas.edu (Wendy Faulkner) Date: Thu, 21 Jun 2001 15:32:07 -0500 (CDT) Subject: [rrd-users] Re: mail scripts In-Reply-To: <200106211950.VAA17977@slot.hollandcasino.nl> from "Alex van den Bogaerdt" at Jun 21, 2001 09:50:57 PM Message-ID: <200106212032.PAA02145@sade.eco.utexas.edu> Ok. Thanks for your help. I started with: rrdtool create virus.rrd --start 988174600 --step 3600 DS:input:GAUGE:172000:U:U RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 and then ran a script which inputted a lot of data: rrdtool update virus.rrd 988174800:3 rrdtool update virus.rrd 988261200:13 rrdtool update virus.rrd 988347600:19 rrdtool update virus.rrd 988434000:3 ... rrdtool update virus.rrd 992322000:25 rrdtool update virus.rrd 992408400:16 rrdtool update virus.rrd 992494800:38 rrdtool fetch virus.rrd MAX just shows NaN for everything. A graph shows no data /usr/local/rrdtool-1.0.33/bin/rrdtool graph virus.gif --start 992494800 --vertial-label "viruses" DEF:myspeed=virus.rrd:input:MAX CDEF:realspeed=myspeed LINE2realspeed#FF0000 Any ideas? Thanks. > 1) To prevent problems with timezones, I'd use a step time of 3600. > This allows for updates at midnight local time in stead of midnight > UTC time. > 2) To prevent problems with the updating, I'd use a heartbeat of > 172000. This allows for an update to occur anywhere during the > next day, upto but not including the next regular update. > 3) I'd then count the number of messages and virusses somewhere after > midnight, no hurry. The update can be given to RRDtool as if it > occured at midnight, just specify the correct timestamp. > > If you encountered other problems, let us know and we'll probably can > help you with them; you need to be more specific about them if you want > us to help... > > cheers, > -- > __________________________________________________________________ > / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ > | work private | > | My employer is capable of speaking therefore I speak only for myself | > +----------------------------------------------------------------------+ > | Technical questions sent directly to me will be nuked. Use the list. | > +----------------------------------------------------------------------+ > | http://faq.mrtg.org/ | > | http://rrdtool.eu.org --> tutorial | > +----------------------------------------------------------------------+ > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Wendy Faulkner Don't knock on Death's door. faulkner at eco.utexas.edu Ring the bell and run away. http://www.eco.utexas.edu/~faulkner He hates that. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 21 22:43:48 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 21 Jun 2001 22:43:48 +0200 (CEST) Subject: [rrd-users] Re: start time In-Reply-To: from "Joseph E. Eggleston" at Jun 21, 2001 04:09:41 PM Message-ID: <200106212043.WAA18607@slot.hollandcasino.nl> Joseph E. Eggleston wrote: > > I don't necessarily have data that starts in 1970, but I don't know the > exact time that the data will be starting. It seemed better to not have > rrd check. The question really is, why does rrd care when the start time > is? It just needs to know. The database is "steps" * "rows" intervals of "step size" seconds, starting at "start time". If you leave out the start time, it will default to "now" minus "steps" * "step size" * "rows". If you try and specify 0 as the start time and have, for instance, 600 rows of 300 seconds each, you are defining a database that covers januari 1st 1970, 00:00 UTC to januari 3rd 1970, 02:00 UTC. If you then start entering data at, for instance, june 21st, 00:00 UTC it takes a very long time for RRDtool to catch up. It needs to recalculate every single interval ("step size" * "rows"). > I've tried putting in other low numbers, such as 1, and still get the > same error. I guess I am trying to figure out if there is a more limited > range of dates that rrd can handle. There is. From the source: if (last_up < 3600*24*365*10){ rrd_set_error("the first entry to the RRD should be after 1980") This probably has been put in there because of the problem I described above. If people don't understand what's going on and are able to enter things like 20010621 (probably because they ment june 21st, 2001) much more confusion will happen. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 21 22:49:05 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 21 Jun 2001 22:49:05 +0200 (CEST) Subject: [rrd-users] Re: mail scripts In-Reply-To: <200106212032.PAA02145@sade.eco.utexas.edu> from "Wendy Faulkner" at Jun 21, 2001 03:32:07 PM Message-ID: <200106212049.WAA18681@slot.hollandcasino.nl> Wendy Faulkner wrote: > Ok. Thanks for your help. I started with: > > rrdtool create virus.rrd --start 988174600 --step 3600 DS:input:GAUGE:172000:U:U RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 looking good. > > and then ran a script which inputted a lot of data: > > rrdtool update virus.rrd 988174800:3 > rrdtool update virus.rrd 988261200:13 > ... > rrdtool update virus.rrd 992494800:38 looking good. Note that you have data starting at 988174800 and ending at 992494800. > /usr/local/rrdtool-1.0.33/bin/rrdtool graph virus.gif --start 992494800 --vertial-label "viruses" DEF:myspeed=virus.rrd:input:MAX CDEF:realspeed=myspeed LINE2realspeed#FF0000 By default, the graph will span a day. You start at 992494800 and the end will thus be set to (992494800+86400=) 992581200. This is unknown data and the graph output is correct. You want to see "--end 992494800 --start end-10d" or so. cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From wipro.solaris at aristagtc.stph.net Fri Jun 22 05:27:31 2001 From: wipro.solaris at aristagtc.stph.net (Wipro Solaris) Date: Fri, 22 Jun 2001 08:57:31 +0530 Subject: [rrd-users] Query!!! Message-ID: <1F08F301962CD5118AAB0002B309DD8E06B1DD@HYDEXC01> Hi All Iam new to RRD/SNMP,downloaded and installed RDD on our Sun E-250 running Solaris7,Apache.I want to monitor the performance of the Sun Systems which we have-grphically,how to about it?Do I need to install something like Cricket/MRTG to view those on a browser?How do I configure RRD and Cricket/MRTG?Please let me know about it briefly or suggest some URLs where I can find the same. Thanks in Advance Srinivas. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From hamish at QEDux.co.za Fri Jun 22 13:40:23 2001 From: hamish at QEDux.co.za (Hamish Whittal) Date: Fri, 22 Jun 2001 09:40:23 -0200 Subject: [rrd-users] Storing whole numbers does not appear to be correct.... References: Message-ID: <3B332EA7.48027B10@QEDux.co.za> Hi all, I am storing the number of calls routed through a network. A look at my rra's shows the following: filename = "vport_201.rrd" rrd_version = "0001" step = 300 last_update = 992446656 ds[ds0].type = "DERIVE" ds[ds0].minimal_heartbeat = 1800 ds[ds0].min = 0.0000000000e+00 ds[ds0].max = 5.0000000000e+01 ds[ds0].last_ds = "197" ds[ds0].value = 0.0000000000e+00 ds[ds0].unknown_sec = 0 ds[ds1].type = "GAUGE" ds[ds1].minimal_heartbeat = 1800 ds[ds1].min = NaN ds[ds1].max = NaN ds[ds1].last_ds = "UNKN" ds[ds1].value = 3.0732000000e+04 ds[ds1].unknown_sec = 0 Having read through the tutorial, I understand that RRD does reasampling based upon the fact that it possibly could not get the sample at the exact moment I wanted it....but One cannot make half a call or a third of a call, so ds1 should not be 3073.2 calls, but rather 3073 calls or 3074 or whatever the exact reading is at the time of sampling. The effect is that the ds1 gets stored as the number of calls per second. I would prefer the number of calls per 5 minute sample (but that is another issue for another mail I guess:). At the end of every hour, I now want to report on the number of calls over the last hour, at then end of the day, the number of calls for the last day, etc. This calls per second thing really complicates matters. Also, since ds0 is not being stored as the exact reading (but rather and extrapolation), the calls per second ends up being a really long little number like 1.8567891234e-02. e.g. suppose when I read the variable, I get 196 calls. Then I read it again 5 mins later and get 202 calls, even though I read it after 303 seconds, I still want 202 calls recorded for this data point. So calls per second would be 202 - 196 / 300 = 0.02 calls per second. I can work this back to calls per 5 minutes and know that I will get an integer, not a float. How do I stop this interpolation from happening and mucking with my call counts? Thanks in advance. Hamish -- Hamish Whittal QED Technologies Tel: +27 21 448 9291 hamish at QEDux.co.za Fax: +27 21 448 9551 `The' Linux Services Company Cel: +27 82 803 5533 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From hamish at QEDux.co.za Fri Jun 22 13:41:24 2001 From: hamish at QEDux.co.za (Hamish Whittal) Date: Fri, 22 Jun 2001 09:41:24 -0200 Subject: [rrd-users] Graphing other resolutions.... References: Message-ID: <3B332EE4.7F799429@QEDux.co.za> Hi all, My RRA's are stored in a pretty standard way. 300 seconds, 1800 seconds, 86400 seconds, etc. When I come to graph this data, I seem only able to pull out the highest resolution from the RRD to graph. How do I go about pulling out the lower resolutions (like 1800 and 86400) and slapping these into a graph? Thanks in advance. Hamish -- Hamish Whittal QED Technologies Tel: +27 21 448 9291 hamish at QEDux.co.za Fax: +27 21 448 9551 `The' Linux Services Company Cel: +27 82 803 5533 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From hamish at QEDux.co.za Fri Jun 22 14:53:43 2001 From: hamish at QEDux.co.za (Hamish Whittal) Date: Fri, 22 Jun 2001 10:53:43 -0200 Subject: [rrd-users] Re: Graphing other resolutions.... Message-ID: <3B333FD7.FF9EE987@QEDux.co.za> Hi All, Hamish Whittal wrote: > My RRA's are stored in a pretty standard way. 300 seconds, 1800 seconds, > 86400 seconds, etc. When I come to graph this data, I seem only able to > pull out the highest resolution from the RRD to graph. How do I go about > pulling out the lower resolutions (like 1800 and 86400) and slapping > these into a graph? Ok, I did some reading of what Alex said to spamfilter about the graph getting the 'best' resolution of data. I have managed to figure out most of what he had to say, but I still don't understand the pixels thing. I seem to get a stepped graph. This is not what I want, as it looks like data points are plotted 'between' by real data points. Perhaps someone would be kind enough to explain the finer points of the pixels in the grapher. Thanks in advance Hamish -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Fri Jun 22 12:30:36 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Fri, 22 Jun 2001 12:30:36 +0200 Subject: [rrd-users] need some help.. Message-ID: Hi, i draw a line, the minimal value is about 50k and the max 80k on the graph i can't see 0,5,10,15,20... i would like to now if t's possible to see the graph from 0 (sorry i don't speed english well) and i would now if you now a tuturial about snmp, i understand snmp but i don't understand how to find that x.x.x.x.1 is packetin of interface 1 so i am looking for something like an index thanks -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Fri Jun 22 12:52:38 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Fri, 22 Jun 2001 12:52:38 +0200 (CEST) Subject: [rrd-users] Re: Graphing other resolutions.... In-Reply-To: <3B333FD7.FF9EE987@QEDux.co.za> from "Hamish Whittal" at Jun 22, 2001 10:53:43 AM Message-ID: <200106221052.MAA28016@slot.hollandcasino.nl> Hamish Whittal wrote: > Ok, I did some reading of what Alex said to spamfilter about the graph > getting the 'best' resolution of data. I have managed to figure out most > of what he had to say, but I still don't understand the pixels thing. I > seem to get a stepped graph. This is not what I want, as it looks like > data points are plotted 'between' by real data points. Perhaps someone > would be kind enough to explain the finer points of the pixels in the > grapher. I think the best way to explain this is: RRDtool is not graphing points. RRDtool is graphing intervals. By the way, RRDtool isn't storing values on a certain time, RRDtool is storing rates over an interval. A plotted interval simply must be a whole number of pixels. If the interval size is large with respect to the total graph time, each interval will be plotted on more than one pixel. Example: your graph is 400 pixels wide. You are plotting a certain DS starting from 12:00 today until 13:00 today. This is 3600 seconds. If each interval is 90 seconds, RRDtool will plot 40 intervals and each interval will be shown on 10 pixels. Does this help? cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Fri Jun 22 12:58:39 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Fri, 22 Jun 2001 12:58:39 +0200 (CEST) Subject: [rrd-users] Re: need some help.. In-Reply-To: from "Jean-Edouard BABIN" at Jun 22, 2001 12:30:36 PM Message-ID: <200106221058.MAA28096@slot.hollandcasino.nl> Jean-Edouard BABIN wrote: > > > Hi, > > i draw a line, the minimal value is about 50k and the max 80k > on the graph i can't see 0,5,10,15,20... > i would like to now if t's possible to see the graph from 0 It is. By default RRDtool will only show a relevant part of the y-axis. However, you can change the limits. If the auto-scaling shouldn't cut of the y-axis above 0, you should set "--lower-limit 0" This means: autoscaling shouldn't touch anything above 0. You can also set "--upper-limit 100" meaning autoscaling shouldn't touch anything below 100. cheers -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From hamish at QEDux.co.za Fri Jun 22 19:09:10 2001 From: hamish at QEDux.co.za (Hamish Whittal) Date: Fri, 22 Jun 2001 15:09:10 -0200 Subject: [rrd-users] Re: Graphing other resolutions.... References: <200106221052.MAA28016@slot.hollandcasino.nl> Message-ID: <3B337BB6.9A0B4A6D@QEDux.co.za> Hi Alex, > By the way, RRDtool isn't storing values on a certain time, RRDtool > is storing rates over an interval. I realised this, but it also presents some problems, even for a GAUGE type. > Example: your graph is 400 pixels wide. You are plotting a certain > DS starting from 12:00 today until 13:00 today. This is 3600 seconds. > If each interval is 90 seconds, RRDtool will plot 40 intervals and > each interval will be shown on 10 pixels. So, the width of the graph is not just giving the width, but also controls how the graph looks from a 'smoothness' point of view. > Does this help? Yup, thanx Alex. It does. Just wondering. About my number of calls data (telephone calls that is) (that's what I'm plotting), is it possible to round this to a whole number. At present, I am getting 4.87 calls per 5 minutes. Since I record the # of calls every 300 secs, I should get a whole number, ignoring this resampling thingy. So, my calls should be able to be "recreated". How can I: 1) Graph the interval only as an interger (i.e. round it if necessary) OR 2) Find out the actual value at the time of reading and graph this instead. Currently, I take 1.6246828434e-02 * 300 and plot that. So I end with calls per 5 min. To get calls per hour, I would need to sum 12 such values? Yes/No. Thanks Hamish -- Hamish Whittal QED Technologies Tel: +27 21 448 9291 hamish at QEDux.co.za Fax: +27 21 448 9551 `The' Linux Services Company Cel: +27 82 803 5533 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From pwilliamson at mandtbank.com Fri Jun 22 21:26:49 2001 From: pwilliamson at mandtbank.com (Paul C. Williamson) Date: Fri, 22 Jun 2001 15:26:49 -0400 Subject: [rrd-users] Hi all, Message-ID: Hi all, I just saw a presentation with Visual Networks Uptime product. Very cool, but nothing too difficult that I could not see being able to do it with rrdtool. Has anyone done specifically: Kept the 5 minute intervals (even 30 minute with peaks would be good) for a year? How big would that rrd be? I saw this graph that overlayed 12 months in a 24 hour graph. It was a little busy, but was interesting none the less. It would be nice if I could do this, but also be able to give the option of having specific months displayed, rather than all of them. Paul -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Fri Jun 22 23:32:20 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Fri, 22 Jun 2001 23:32:20 +0200 Subject: [rrd-users] GPRINT In-Reply-To: Message-ID: Hi, i have a question: in bash when i do: COMMENT:"\n" i get a blanl line but in perl (RRDs::...) when i do "COMMENT:\n" or "COMMENT:\"\n\"" that not work :/ -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From faulkner at eco.utexas.edu Fri Jun 22 23:36:32 2001 From: faulkner at eco.utexas.edu (Wendy Faulkner) Date: Fri, 22 Jun 2001 16:36:32 -0500 (CDT) Subject: [rrd-users] multiple lines in a graph Message-ID: <200106222136.QAA05334@sade.eco.utexas.edu> I created a db rrdtool create daily.rrd --start 980174600 --step 3600 DS:received:GAUGE:6000:U:U DS:delivered:GAUGE:6000:U:U DS:bounced:GAUGE:6000:U:U RRA:MAX:0.5:1:600 DS:deferred:GAUGE:6000:U:U RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 populated it (rrd fetch shows all fields populated) and tried to make a graph: /usr/local/rrdtool-1.0.33/bin/rrdtool graph daily.gif --vertical-label "mail messages per hour" DEF:del=daily.rrd:delivered:MAX LINE2:del#FF0000:"Mail Delivered" DEF:rec=daily.rrd:received:MAX LINE2:rec#000000:"Mail Received" DEF:bou=daily.rrd:bounced:MAX LINE2:bou:#0000FF:"Mail Bounced" DEF:defe=daily.rrd:deferred:MAX LINE2:defe:#00FFFF:"Mail Deferred" The Mail Received and the Mail delivered lines show up fine, but the last 2 don't show up at all. I've strained my eyes looking for a typo but I'm not seeing it. Any one see anything? Thanks. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Wendy Faulkner Don't knock on Death's door. faulkner at eco.utexas.edu Ring the bell and run away. http://www.eco.utexas.edu/~faulkner He hates that. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Fri Jun 22 23:48:20 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Fri, 22 Jun 2001 23:48:20 +0200 (CEST) Subject: [rrd-users] !!!LONG!!! Re: Re: Graphing other resolutions.... In-Reply-To: <3B337BB6.9A0B4A6D@QEDux.co.za> from "Hamish Whittal" at Jun 22, 2001 03:09:10 PM Message-ID: <200106222148.XAA02504@slot.hollandcasino.nl> Hamish Whittal wrote: > > Example: your graph is 400 pixels wide. You are plotting a certain > > DS starting from 12:00 today until 13:00 today. This is 3600 seconds. > > If each interval is 90 seconds, RRDtool will plot 40 intervals and > > each interval will be shown on 10 pixels. > > So, the width of the graph is not just giving the width, but also > controls how the graph looks from a 'smoothness' point of view. Not really. It is the combination of pixels and # of intervals that's important here. Width alone doesn't say much. An image with width 400 and only 4 intervals plotted looks quite different from an image with the same width of 400 pixels and 400 intervals on it. > Yup, thanx Alex. It does. Just wondering. About my number of calls data > (telephone calls that is) (that's what I'm plotting), is it possible to > round this to a whole number. At present, I am getting 4.87 calls per 5 > minutes. You could fool RRDtool into storing whole numbers. Just use an update time that is "compatible" with the step size. If your database has intervals of five minutes, update at hh:mm where mm is a multiple of five. Another approach would be having a step time of 1 second and a CF of something else than average. The RRA would still be 5 minutes (and thus have 300 PDPs per CDP). > 1) Graph the interval only as an interger (i.e. round it if necessary) Using CDEF. FLOOR and CEIL come in mind. To determine the closest whole number you currently have to do the magic yourself. Something like DEF:original=/path/to/database.rrd:calls:AVERAGE CDEF:rounded=original,0.5,+,FLOOR AREA:rounded#00CC00:"Number of calls per five minutes" > 2) Find out the actual value at the time of reading and graph this > instead. > > Currently, I take 1.6246828434e-02 * 300 and plot that. So I end with > calls per 5 min. To get calls per hour, I would need to sum 12 such > values? Yes/No. Not a yes/no answer as this is not that simple. Note that graphing telephone calls can be a real pain. Let's look at a few cases. As the real time is not important here I'll just use "T" and an offset to it. To avoid resampling problems in these examples, updates occur on interval-boundaries. a) One call is placed. It lasts 4 minutes, from T+30 to T+270. b) Two calls are placed. T+60 to T+180 and T+120 to T+240 During a measured interval either (a) or (b) happens, no other calls are placed. Data aquisition methods: 1) Poll the current number of active lines every 5 minutes 2) Poll the average number of active calls during the last 5 minutes 3) Process the call history, which should include time stamps. (a) combined with (1): You don't notice the call. The number of calls during that interval is 0. (b) combined with (1): You don't notice the calls. The number of calls during that interval is 0. Obviously this is not the best way to do it. In extreme situations you could even have 30 (or 24) calls on your PRI and never notice that all lines are busy. (a) combined with (2): You get 0.8 from the device. The number of calls during that interval is 0.8 and if you round this you get 1. (b) combined with (2): You get 0.8 from the device. The number of calls during that interval is 0.8 and if you round this you get 1. Rounding obviously gives wrong results. You do notice one call being placed but do not notice that two lines were busy. Again in extreme situations you could end up with all lines being busy without noticing. (a) combined with (3): You notice the call being setup and being cleared. Using both events you can show one call has been active during that interval, you can show the duration, you can show the amount of simultanious conversations is 1. (b) combined with (3): You notice both calls being setup and cleared. The MAX RRA shows two calls being placed (indicating the number of simultanious calls), the AVERAGE RRA shows 0.8 indicating the usage of the box (or, when multiplied with 300: the call time). This method is the most challenging one but it is also the only proper one. The RRD should probably be setup with a step time of 1 second per PDP, 300 steps per CDP, a heartbeat of 300 (or more). Every update to the RRD should indicate the number of active lines during the past period. If no event occurs, just repeat the number at the interval boundary. For instance, three calls. T+60 to T+270, T+120 to T+240, T+180 to T+360. The last update to the database has occured at T and was 0. The current number of lines in use was also 0 at that time. What to update: 1) T+60. A call is being setup. The number of calls during the previous time was 0. Update with 0 at T+60. 2) T+120. A call is being setup. The number of calls during the previous time was 1. Update with 1 at T+120. 3) T+180. A call is being setup. The number of calls during the previous time was 2. 4) T+240. A call is completed. The number of calls during the previous time was 3. 5) T+300. No event occured but we need to update anyway. The number of calls during the previous time was 2. Note that processing the log and feeding the numbers to RRDtool is front-end stuff. RRDtool is a back-end. If you would have an RRA with steps==1, the following drawing could be generated (please view with fixed width font): | | | ##### | ############### | #################### +-------------------------- | | | | | T+ 60 120 180 240 300 If you don't have such an RRA but still have a step time of 1, the values in the 5-minute RRA can be: AVERAGE: ( (4/5)+(3/5)+(1/5) ) /3 = 5.3333333e-01 MAX: 3 Using this, a CDEF can output 5.333333e-01 * 300 == 480 seconds of call during this interval. This is right: 4+3+1 minutes == 8 minutes. The maximum can be used to prove that there is enough capacity on your equipment. Whenever it is fully utilized (or at 80%, or whatever) you can use the CDEF magic as described in the manual and in the tutorial to signal the viewer using a different color. If you're only interested in the number of calls, not all of the above, this also is a front-end job. Just count the number of calls being placed and update it into an ABSOLUTE at time T+300. RRDtool will convert it to a rate. When you want to graph, just multiply the rate by any number of seconds you like. It doesn't matter what you choose, 300 or 3600. It even doesn't matter if consolidation has happened. However, there will always be cases where you end up with a fractional number: T+ 300: 5 calls --> rate 5/300==1.666666666e-2 T+ 600: 8 calls --> rate 8/300==2.666666666e-2 T+ 900: 11 calls --> rate 11/300==3.666666666e-2 T+1200: 3 calls --> rate 3/300==1.000000000e-2 T+1500: 0 calls --> rate 0/300==0.000000000e+0 T+1800: 0 calls --> rate 0/300==0.000000000e+0 Assuming an other RRA with a number of steps that is 6 times as large as the other RRA, this will be consolidated into: T+1800: rate == [previous rates summed and divided by 6] == 1.5000e-2 If you plot this number as number of calls per five minutes, you will end up with 300*0.015 == 4.5 calls per 5 minutes, this number is valid during the one interval from T to T+1800. You can also multiply by 3600 and get the number of calls per hour. This can also be done for the 5-minute intervals: T+ 300: 1.666666666e-2 --> 60 calls per hour T+ 600: 2.666666666e-2 --> 96 calls per hour T+ 900: 3.666666666e-2 --> 132 calls per hour T+1200: 1.000000000e-2 --> 36 calls per hour T+1500: 0.000000000e+0 --> 0 calls per hour T+1800: 0.000000000e+0 --> 0 calls per hour Consolidated: T+1800: 1.500000000e-2 --> 54 calls per hour. cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Fri Jun 22 23:51:12 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Fri, 22 Jun 2001 23:51:12 +0200 (CEST) Subject: [rrd-users] Re: multiple lines in a graph In-Reply-To: <200106222136.QAA05334@sade.eco.utexas.edu> from "Wendy Faulkner" at Jun 22, 2001 04:36:32 PM Message-ID: <200106222151.XAA02548@slot.hollandcasino.nl> Wendy Faulkner wrote: > /usr/local/rrdtool-1.0.33/bin/rrdtool graph daily.gif --vertical-label "mail > messages per hour" DEF:del=daily.rrd:delivered:MAX LINE2:del#FF0000:"Mail > Delivered" DEF:rec=daily.rrd:received:MAX LINE2:rec#000000:"Mail Received" > DEF:bou=daily.rrd:bounced:MAX LINE2:bou:#0000FF:"Mail Bounced" > DEF:defe=daily.rrd:deferred:MAX LINE2:defe:#00FFFF:"Mail Deferred" LINE2:defe#00FFFF.... not LINE2:defe:#00FFFF.... cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dgabler at truelink.com Sat Jun 23 00:14:10 2001 From: dgabler at truelink.com (David Gabler) Date: Fri, 22 Jun 2001 15:14:10 -0700 Subject: [rrd-users] Re: GPRINT References: Message-ID: <3B33C332.8F97E255@truelink.com> try "COMMENT:\\n" (\n is a special char in perl) Its in the docs. Jean-Edouard BABIN wrote: > > Hi, > > i have a question: > in bash when i do: > COMMENT:"\n" i get a blanl line > > but in perl (RRDs::...) > when i do "COMMENT:\n" or "COMMENT:\"\n\"" > that not work :/ > > -- > Jean-Edouard BABIN > > Web : http://www.Jeb.com.fr > Mail: Jeb at jeb.com.fr > ICQ : 27305084 > IRC : @#Mac-Fr @#So etc.. undernet.org > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dgabler at truelink.com Sat Jun 23 00:18:50 2001 From: dgabler at truelink.com (David Gabler) Date: Fri, 22 Jun 2001 15:18:50 -0700 Subject: [rrd-users] Re: GPRINT References: Message-ID: <3B33C44A.17BC3767@truelink.com> First message was going to get bounced. Try \\n as \n is a perl special char. the \\ excapes the \. Jean-Edouard BABIN wrote: > > Hi, > > i have a question: > in bash when i do: > COMMENT:"\n" i get a blanl line > > but in perl (RRDs::...) > when i do "COMMENT:\n" or "COMMENT:\"\n\"" > that not work :/ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dgabler at truelink.com Sat Jun 23 00:20:43 2001 From: dgabler at truelink.com (David Gabler) Date: Fri, 22 Jun 2001 15:20:43 -0700 Subject: [rrd-users] Re: multiple lines in a graph References: <200106222136.QAA05334@sade.eco.utexas.edu> Message-ID: <3B33C4BB.39A45464@truelink.com> First message is probably going to get bounced.... Try creating all your Defs first then try the lines after. e.g. /usr/local/rrdtool-1.0.33/bin/rrdtool graph daily.gif --vertical-label "mail \ messages per hour" DEF:del=daily.rrd:delivered:MAX \ Delivered" DEF:rec=daily.rrd:received:MAX \ DEF:bou=daily.rrd:bounced:MAX \ DEF:defe=daily.rrd:deferred:MAX \ LINE2:del#FF0000:"Mail \ LINE2:rec#000000:"Mail Received" \ LINE2:bou:#0000FF:"Mail Bounced" \ LINE2:defe:#00FFFF:"Mail Deferred" Wendy Faulkner wrote: > > populated it (rrd fetch shows all fields populated) and tried to make a > graph: > /usr/local/rrdtool-1.0.33/bin/rrdtool graph daily.gif --vertical-label "mail > messages per hour" DEF:del=daily.rrd:delivered:MAX LINE2:del#FF0000:"Mail > Delivered" DEF:rec=daily.rrd:received:MAX LINE2:rec#000000:"Mail Received" > DEF:bou=daily.rrd:bounced:MAX LINE2:bou:#0000FF:"Mail Bounced" > DEF:defe=daily.rrd:deferred:MAX LINE2:defe:#00FFFF:"Mail Deferred" -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From chaot at inktomi.com Sat Jun 23 00:29:46 2001 From: chaot at inktomi.com (Chao Tan) Date: Fri, 22 Jun 2001 15:29:46 -0700 Subject: [rrd-users] a question on RRD Message-ID: <000401c0fb6a$d724eb40$3b3283d1@inktomi.com> Hi, This is my first time to use RRD. I tried to record the result from a program run every day. Initially I set both the STEP and HEARTBEAT to 86400. but if the program run slower sometime, I will lose data becuase HEARTBEAT is bigger than STEP at that time. Then I increase HEARTBEAT to make sure I do not lose data. But after this change I maybe include two PDPs in one HEARTBEAT, then RRD calculates the average for me automatically. Any idea how to make it right? Thanks a lot, --Chao. -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Sat Jun 23 01:54:31 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Sat, 23 Jun 2001 01:54:31 +0200 Subject: [rrd-users] Re: GPRINT In-Reply-To: <3B33C44A.17BC3767@truelink.com> Message-ID: thanks a lot le 23/06/01 0:18, David Gabler (dgabler at truelink.com) ecrivait: > > First message was going to get bounced. Try \\n as \n is a perl special > char. the \\ excapes the \. > > > Jean-Edouard BABIN wrote: >> >> Hi, >> >> i have a question: >> in bash when i do: >> COMMENT:"\n" i get a blanl line >> >> but in perl (RRDs::...) >> when i do "COMMENT:\n" or "COMMENT:\"\n\"" >> that not work :/ -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Sun Jun 24 00:10:43 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Sun, 24 Jun 2001 00:10:43 +0200 Subject: [rrd-users] Vertical Line In-Reply-To: Message-ID: Hi, Can draw vertical line every 0H ? i have not seen anything about this.. i am looking for a snmp tutorial to lean how to find whereis a value like free ram and other -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sun Jun 24 01:37:38 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sun, 24 Jun 2001 01:37:38 +0200 (CEST) Subject: [rrd-users] Re: Vertical Line In-Reply-To: from "Jean-Edouard BABIN" at Jun 24, 2001 12:10:43 AM Message-ID: <200106232337.BAA19708@slot.hollandcasino.nl> Jean-Edouard BABIN wrote: > > Can draw vertical line every 0H ? > i have not seen anything about this.. There is no command that will repeat itself every midnight. However, nothing stops you from using multiple VRULE commands. You know what the start and end times are so you can figure out how often 00:00 occurs on your graph. > i am looking for a snmp tutorial to lean how to find whereis a value like > free ram and other The manual for your equipment may be a good start, the web site from the manufacturer is also a good place to look. For SNMP in general just search the web, there are plenty places. cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Sun Jun 24 02:01:47 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Sun, 24 Jun 2001 02:01:47 +0200 Subject: [rrd-users] Re: Vertical Line In-Reply-To: <200106232337.BAA19708@slot.hollandcasino.nl> Message-ID: le 24/06/01 1:37, Alex van den Bogaerdt (alex at slot.hollandcasino.nl) ecrivait: > > Jean-Edouard BABIN wrote: >> >> Can draw vertical line every 0H ? >> i have not seen anything about this.. > > There is no command that will repeat itself every midnight. However, > nothing stops you from using multiple VRULE commands. > You know what the start and end times are so you can figure out > how often 00:00 occurs on your graph. yes, but it's not very easy.. >> i am looking for a snmp tutorial to lean how to find whereis a value like >> free ram and other > > The manual for your equipment may be a good start, the web site > from the manufacturer is also a good place to look. > > For SNMP in general just search the web, there are plenty places. ok i will look -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Sun Jun 24 02:58:03 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Sun, 24 Jun 2001 02:58:03 +0200 (CEST) Subject: [rrd-users] Re: Vertical Line In-Reply-To: from "Jean-Edouard BABIN" at Jun 24, 2001 02:01:47 AM Message-ID: <200106240058.CAA20568@slot.hollandcasino.nl> Jean-Edouard BABIN wrote: > >> Can draw vertical line every 0H ? > >> i have not seen anything about this.. > > > > There is no command that will repeat itself every midnight. However, > > nothing stops you from using multiple VRULE commands. > > You know what the start and end times are so you can figure out > > how often 00:00 occurs on your graph. > > yes, but it's not very easy.. rrdtool .... --end 'jun 30 00:00' --start end-8d .... so, you know you should loop through 8 days and, because 00:00 happens to be a boundary, you'll have 9 occurances of midnight. You can create a script that builds a RRDtool graph script. In this script you need 9 (or 7) VRULE commands. In a pseudo language you'd do: $midnight=`date -d "jun 30 00:00" +%s` for (i=0;i<9;i++) print "VRULE:${midnight}#FF0000" midnight -= 86400 or $midnight=`date -d "jun 30 00:00" +%s` $midnight -= 86400 for (i=0;i<7;i++) print "VRULE:${midnight}#FF0000" midnight -= 86400 This doesn't take daylight saving time into account so don't use this example as a complete solution! Another approach: You can change the default behaviour for the grid. Draw a major grid line only at midnight and maybe change its color. rrdtool graph .... --x-grid HOUR:8:DAY:1:DAY:1:86400:%a .... --color MGRID#FF0000 .... HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From serge.maandag at staff.zeelandnet.nl Sun Jun 24 10:45:08 2001 From: serge.maandag at staff.zeelandnet.nl (Serge Maandag) Date: Sun, 24 Jun 2001 10:45:08 +0200 Subject: [rrd-users] Re: Vertical Line Message-ID: <1C48875BDE7ED0469485A5FD49925C4AFBA59F@zmx.staff.zeelandnet.nl> Your vendor has the info on that. snmp MIBS are the tables that describe under what info's where in the big snmp tree. Almost all vendors provide the mibs for their products. To understand what, for instance, the difference is between a mib and an OID and what a community or view is, you should read up on some FAQ's. The links below point to the sites of the linux snmp agents. They're likely to provide you with some kind of FAQ: Try this one for net-snmp (ucd-snmp) http://net-snmp.sourceforge.net/tutorial/ Or this one for cmu-snmp http://home.pacbell.net/da_davis/ (don't know which one of 'm is Daren Davis :)) Serge Maandag. -----Original Message----- From: Jean-Edouard BABIN [mailto:listes at Jeb.com.fr] Sent: zondag 24 juni 2001 0:11 To: rrd-users at list.ee.ethz.ch Subject: [rrd-users] Vertical Line i am looking for a snmp tutorial to lean how to find whereis a value like free ram and other -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Sun Jun 24 13:44:03 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Sun, 24 Jun 2001 13:44:03 +0200 Subject: [rrd-users] Re: Vertical Line In-Reply-To: <1C48875BDE7ED0469485A5FD49925C4AFBA59F@zmx.staff.zeelandnet.nl> Message-ID: le 24/06/01 10:45, Serge Maandag (serge.maandag at staff.zeelandnet.nl) ecrivait: > > Your vendor has the info on that. snmp MIBS are the tables that describe > under what info's where in the big snmp tree. Almost all vendors provide > the mibs for their products. > > To understand what, for instance, the difference is between a mib and > an OID and what a community or view is, you should read up on some > FAQ's. > > The links below point to the sites of the linux snmp agents. They're > likely to provide you with some kind of FAQ: > > Try this one for net-snmp (ucd-snmp) > http://net-snmp.sourceforge.net/tutorial/ > > Or this one for cmu-snmp > http://home.pacbell.net/da_davis/ > (don't know which one of 'm is Daren Davis :)) yes thanks i have seen the tutotial, it's quite simple :) -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From hamish at QEDux.co.za Mon Jun 25 18:35:12 2001 From: hamish at QEDux.co.za (Hamish Whittal) Date: Mon, 25 Jun 2001 14:35:12 -0200 Subject: [rrd-users] Re: !!!LONG!!! Re: Re: Graphing other resolutions.... References: <200106222148.XAA02504@slot.hollandcasino.nl> Message-ID: <3B376840.4F205B5B@QEDux.co.za> Hi Alex, Thanks for looking at my 'problem' in so much detail. > > Not really. It is the combination of pixels and # of intervals that's > important here. Width alone doesn't say much. An image with width 400 > and only 4 intervals plotted looks quite different from an image with > the same width of 400 pixels and 400 intervals on it. Got it. > > > Yup, thanx Alex. It does. Just wondering. About my number of calls data > > (telephone calls that is) (that's what I'm plotting), is it possible to > > round this to a whole number. At present, I am getting 4.87 calls per 5 > > minutes. > > You could fool RRDtool into storing whole numbers. Just use an update > time that is "compatible" with the step size. If your database has > intervals of five minutes, update at hh:mm where mm is a multiple of five. I'm doing this. My step size is 300 and my update time is every 5 mins, making the update and the step size the same. But I seem to be getting values that are not whole numbers, but floats. i.e. At time "T", I get a reading of 197 calls. at time T+300, I get 203 calls, T+600 I get 215 calls. Thus, as each interval, I get a whole number of calls per interval. This is what I want to store. Calls per hour then is simply a matter of summing 12 of these readings as I understand it. > > Another approach would be having a step time of 1 second and a CF > of something else than average. The RRA would still be 5 minutes (and > thus have 300 PDPs per CDP). OK, but this would mean that I need to poll my devices every second too, would it not? Then consolidating the 300x1 sec readings into a 5 minute interval. > > > 1) Graph the interval only as an interger (i.e. round it if necessary) > > Using CDEF. FLOOR and CEIL come in mind. To determine the closest whole This has the obvious disadvantage that rounding anything is incorrect. If I round up, I may get more calls than were actually made, while rounding down may produce less calls than actually made. > If you're only interested in the number of calls, not all of the > above, this also is a front-end job. Just count the number of > calls being placed and update it into an ABSOLUTE at time T+300. ABSOLUTE, I understand, assumes your counter gets reset after each reading. Mine does not, so I currently I keep the data as GAUGE. So I get calls=120, calls=125, calls=180 on each poll (300 secs in my instance) off the router. > T+ 300: 1.666666666e-2 --> 60 calls per hour > T+ 600: 2.666666666e-2 --> 96 calls per hour > T+ 900: 3.666666666e-2 --> 132 calls per hour > T+1200: 1.000000000e-2 --> 36 calls per hour > T+1500: 0.000000000e+0 --> 0 calls per hour > T+1800: 0.000000000e+0 --> 0 calls per hour This is not a true representation that I want to show, since these 'calls per hour' assume that the rate stays constant over the hour for this 5 minute sample. I would prefer to show 'real' calls per hour as in: T+300 = 5 calls T+600 = 12 calls T+900 = 6 calls T+1200 = 15 calls T+1500 = 9 calls .... Totals calls per hour was 69. Thanks Alex for your explinations. I am sure to use them in future reports. Cheer H -- Hamish Whittal QED Technologies Tel: +27 21 448 9291 hamish at QEDux.co.za Fax: +27 21 448 9551 `The' Linux Services Company Cel: +27 82 803 5533 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ollie at uk.clara.net Mon Jun 25 17:17:24 2001 From: ollie at uk.clara.net (Oliver Cook) Date: Mon, 25 Jun 2001 16:17:24 +0100 Subject: [rrd-users] rrdgraph without RRDs Message-ID: <20010625161724.E2800@mutare.noc.clara.net> Hi, I like the graphs that RRDtool creates but I don't want to use RRDtool for the actual data collection and storage because we already use an SQL database for this purpose. Is it possible to interface RRDgraph without generating an intermediate .rrd? Yours, Ollie -- Oliver Cook Systems Administrator, ClaraNET ollie at uk.clara.net 020 7903 3065 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rockit at wam.umd.edu Mon Jun 25 18:06:56 2001 From: rockit at wam.umd.edu (Mr. RocketMan) Date: Mon, 25 Jun 2001 12:06:56 -0400 (EDT) Subject: [rrd-users] help with graphing PLEASE In-Reply-To: <20010625161724.E2800@mutare.noc.clara.net> Message-ID: Hello, I have a simple question, that I cannot figure out. I am graphing CPU Usage on my server, and the range is between 5-25% CPU Usage, but it shows from 0.0 7.0M, and I want to show the data on a 0-100% range, with the CPU numbers showing properly on the graph. I tried doing the --upper 100 --rigid, but all that does is re-label the Y-Axis and the data plotting remains the same. Here is the config I'm using for storing the data: rrdtool create s05.rrd --start -400000 --step 600 DS:speed:COUNTER:601:U:U RRA:AVERAGE:0:3:17568 ... I used 601 for I don't know what reason ... should it be something else. Also, how can I make the graph smoother? there are too many peaks and valleys, and the data doesn't flow smoothly like a graph. Thank you VERY much, Mohammed -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From oetiker at ee.ethz.ch Mon Jun 25 21:07:43 2001 From: oetiker at ee.ethz.ch (Tobias Oetiker) Date: Mon, 25 Jun 2001 21:07:43 +0200 (MEST) Subject: [rrd-users] Re: rrdgraph without RRDs In-Reply-To: <20010625161724.E2800@mutare.noc.clara.net> Message-ID: Today Oliver Cook wrote: | | Hi, | | I like the graphs that RRDtool creates but I | don't want to use RRDtool for the actual data | collection and storage because we already use | an SQL database for this purpose. not yet, but it could be done quite easily I guess, given the proper motivation and skill. All you need todo is to write an alternate rrd_fetch function which fetches data from the database instead of the RRD and does the necessary data resampling while doing so ... could be expensive though ... rrdtool is very fast ... cheers tobi | | Is it possible to interface RRDgraph without | generating an intermediate .rrd? | | Yours, | | Ollie | -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland / // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517 /_/ \.__/_.__/_/ mailto:oetiker at ee.ethz.ch http://people.ee.ethz.ch/~oetiker -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Bud.CTR.Gordon at faa.gov Mon Jun 25 22:01:11 2001 From: Bud.CTR.Gordon at faa.gov (Bud CTR Gordon) Date: Mon, 25 Jun 2001 16:01:11 -0400 Subject: [rrd-users] A really dorky question (installing RRDtool 101) Message-ID: <0106259934.AA993499137@faa.gov> Okay I have downloaded the file rrdtoo~1.gz and put it in my RRDtool folder, when I run gunzip the file I am left with a rrdtoo~1 how can I "sh configure" when there is no "configure"? Forgive my ignorance obviously I am no UNIX admin. Sincere thanks Bud Gordon -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From tetron at ashura.umassp.edu Mon Jun 25 22:59:22 2001 From: tetron at ashura.umassp.edu (Peter Amstutz) Date: Mon, 25 Jun 2001 16:59:22 -0400 (EDT) Subject: [rrd-users] TOTAL consolidation function Message-ID: Hi. I'm trying to use MRTG to monitor errors (CRC, dropped packets etc) on router interfaces. I've already submitted a large MRTG patch to Tobias which lets us have more than two data sets on a single graph using RRD as our backend; now we're in the process of tweaking RRD's output so our data is meaningful (and visible) and have come across a few issues with RRDtool. The first is the inability to graph decimals between 0..1 when using a logrithmic scale. Now, when an error occurs we want to be able to see both huge spikes and small bumps on the graph, so logorithms are the way to go. However, very small events (like a couple dropped packets) end up being reduced into small decimals by MRTG (which incorrectly assumes it is a rate, but that's another issue) and are not graphed because RRD doesn't understand negative logorithms when graphing. The second problem is that we're trying to graph changes in descrete values, but we're not concerned with the actual rates. For this, the "total" consolidation function makes the most sense, since we would like to know the actual total number of errors that occured. However, I gathered from the mailing list archives this feature was removed some time ago. Why was this done, and are there any patches floating around that might re-add the feature? Oh, I should mention that the man page for rrdtool still mentions that "total" is an available cosolidation function. Thanks, - Peter Amstutz -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From oetiker at ee.ethz.ch Mon Jun 25 23:23:09 2001 From: oetiker at ee.ethz.ch (Tobias Oetiker) Date: Mon, 25 Jun 2001 23:23:09 +0200 (MEST) Subject: [rrd-users] Re: TOTAL consolidation function In-Reply-To: Message-ID: Today Peter Amstutz wrote: | The second problem is that we're trying to graph changes in descrete | values, but we're not concerned with the actual rates. For this, the | "total" consolidation function makes the most sense, since we would like | to know the actual total number of errors that occured. However, I | gathered from the mailing list archives this feature was removed some time | ago. Why was this done, and are there any patches floating around that | might re-add the feature? the reason for this is, that mrtg is an entirely time dependant beast ... a total os a completely square thing in this equation ... you can not say total, you must say: total from time x to time y ... and if you say this, you can say average from time x to time y multiplied by y - x ... and there ... puff comes your total ... out of the blue without any hacking required cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland / // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517 /_/ \.__/_.__/_/ mailto:oetiker at ee.ethz.ch http://people.ee.ethz.ch/~oetiker -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jacksonm at ssh.com Mon Jun 25 23:54:06 2001 From: jacksonm at ssh.com (Mike Jackson) Date: Tue, 26 Jun 2001 00:54:06 +0300 Subject: [rrd-users] Re: A really dorky question (installing RRDtool 101) References: <0106259934.AA993499137@faa.gov> Message-ID: <3B37B2FE.278B321F@ssh.com> Bud CTR Gordon wrote: > > Okay I have downloaded the file rrdtoo~1.gz and put it in my RRDtool folder, when I run gunzip the file I am left with a rrdtoo~1 how can I "sh configure" when there is no "configure"? Forgive my ignorance obviously I am no UNIX admin. Bud, You have obviously downloaded and saved the file with a windows system and the filename has been truncated in the normal windows 8.3 fashion. Before you unzip the file, rename it to rrdtool-1.033.tar.gz. Your next command will be tar xzvf rrdtool-1.0.33.tar.gz . You might want to look into a beginners unix manual as well. Regards, Mike -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From philip at datafoundry.net Mon Jun 25 23:58:54 2001 From: philip at datafoundry.net (Philip Molter) Date: Mon, 25 Jun 2001 16:58:54 -0500 Subject: [rrd-users] Re: TOTAL consolidation function In-Reply-To: ; from tetron@ashura.umassp.edu on Mon, Jun 25, 2001 at 04:59:22PM -0400 References: Message-ID: <20010625165854.B12723@datafoundry.net> On Mon, Jun 25, 2001 at 04:59:22PM -0400, Peter Amstutz wrote: : : The first is the inability to graph decimals between 0..1 when using a : logrithmic scale. Now, when an error occurs we want to be able to see : both huge spikes and small bumps on the graph, so logorithms are the way : to go. However, very small events (like a couple dropped packets) end up : being reduced into small decimals by MRTG (which incorrectly assumes it is : a rate, but that's another issue) and are not graphed because RRD doesn't : understand negative logorithms when graphing. This is a biggie for us as well. We're trying to graph latency ping times using RRD, but big spikes (caused, for instance, by backups) completely destroy the more minor changes at lower ping times. It's not really logarithmic scaling that's being done so much as the actual log of the value appears to be calculated. For true logarithmic scaling, what really needs to happen is a minimal unit distance calculated from the 0 line, and then the log of the unit distances of the data points used to determine the scaling. I think. * Philip Molter * DataFoundry.net * http://www.datafoundry.net/ * philip at datafoundry.net -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Tue Jun 26 01:52:21 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Tue, 26 Jun 2001 01:52:21 +0200 Subject: [rrd-users] CDEF In-Reply-To: Message-ID: i am trying to do a CDEF, i have ping value in ping but when the ping is lose i get 0ms. i want to (g)print the minimal ping, so i need to strip 0 ... i tryed "CDEF:pingmin=ping,0,ping,1000,IF", "CDEF:pingmin=0,ping,GT,1000,ping,IF", but that doesn't work :/ -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rockit at wam.umd.edu Tue Jun 26 03:20:22 2001 From: rockit at wam.umd.edu (Mohammed Burney) Date: Mon, 25 Jun 2001 21:20:22 -0400 Subject: [rrd-users] One other quickie :-D Message-ID: Hello all, Thanks to those of you that replied to my question. It really helped, heck it fixed my problem :-) My other problem that I wasn't able to get my perl scripts that update the RRD to run thru cron. I tried 2-3 different approaches. 1) Tried using the 'use RRDs' method, and invoke the updates as Perl functions 2) Make a system call to update the RRD `rrdtool update ...` 3) use pipe to update the RRD "./perl_script | rrdtool - All of these methods work independently, meaning that if I run them thru the command line, I have no problems. It is just when I run them thru cron that nothing happens. I'm running as root, in Mandrake 7.2 from the / directory. I asked around and people told me to try and give absolute path names, which I did, and still nothing happened. Thanks once again :-) Mohammed -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From micpchan at yahoo.com.hk Tue Jun 26 10:41:19 2001 From: micpchan at yahoo.com.hk (=?iso-8859-1?q?Michael=20Chan?=) Date: Tue, 26 Jun 2001 16:41:19 +0800 (CST) Subject: [rrd-users] my rrd can only be updated at/after 8:00 a.m. Message-ID: <20010626084119.32595.qmail@web14408.mail.yahoo.com> Dear all, I want to plot the number of daily incoming and outgoing email of my email server using rrdtool. What I do is: 1. rotate my email log at 12:00 mid night 2. Run a script that can output the number of incoming and outgoing email to a database called "email.rrd". However, I found that I could only update the database at or after 8:00 a.m. everyday. Therefore, I extract the data from my database by "rrdtool fetch email.rrd AVERAGE" and I c the following: in out 993427200: 1.1333172454e+02 1.4733057870e+02 993513600: 2.0600000000e+02 3.0600000000e+02 In fact, 993427200 refers to "Mon Jun 25 08:00:00 2001" and 993513600 refers to "Tue Jun 26 08:00:00 2001". I think there may be something wrong with my database so I re-create the database by: rrdtool create email.rrd --start 992793600 --step 86400 DS:in:GAUGE:178000:U:U DS:out:GAUGE:178000:U:U DS:insize:GAUGE:178000:U:U DS:outsize:G AUGE:178000:U:U 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 What I am trying to do is to force the "time-axis" of my database to start at 12:00 midnight instead of 8:00 a.m. "992793600" in fact refers to "Mon Jun 18 00:00:00 2001" However, the same problem happen. The "time-axis" of my database is still starting at 8:00 a.m with an increment of 86400s. Any idea? Thank you!! Regards, Mic _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Tue Jun 26 12:22:31 2001 From: julius at softwell.se (Anders Ringaby) Date: Tue, 26 Jun 2001 12:22:31 +0200 (CEST) Subject: [rrd-users] Re: A really dorky question (installing RRDtool 101) In-Reply-To: <0106259934.AA993499137@faa.gov> Message-ID: The rrdtoo~1 file that you are left with is probably a directory, and it seems to me that you simply were not in that directory when you tried to run "sh configure". Run the command "cd rrdtoo~1", and then, when you are there, run "sh configure". Anders Ringaby On Mon, 25 Jun 2001, Bud CTR Gordon wrote: > > Okay I have downloaded the file rrdtoo~1.gz and put it in my RRDtool folder, when I run gunzip the file I am left with a rrdtoo~1 how can I "sh configure" when there is no "configure"? Forgive my ignorance obviously I am no UNIX admin. > > Sincere thanks > > Bud Gordon > > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Tue Jun 26 12:42:05 2001 From: julius at softwell.se (Anders Ringaby) Date: Tue, 26 Jun 2001 12:42:05 +0200 (CEST) Subject: [rrd-users] Re: One other quickie :-D In-Reply-To: Message-ID: If you have tried absolute path names or setting the environment variable PATH ( for the cron job ), and it still doesn't work, then check this: - Is the cron job running as the same user as when you are on line ( what about permissions ) ?? - Is the time stamping ( to RRD ) different when cron is running the job ?? - Have you checked the cron-users unix-mail ( through the command "mail" ) ?? Any output ( like error messages ) that is not redirected elsewhere will be sent as unix mail to the owner ( unix-user ) of the cron job. Anders Ringaby On Mon, 25 Jun 2001, Mohammed Burney wrote: > > Hello all, > > Thanks to those of you that replied to my question. It really helped, heck > it fixed my problem :-) > My other problem that I wasn't able to get my perl scripts that update the > RRD to run thru cron. I tried 2-3 different approaches. > > 1) Tried using the 'use RRDs' method, and invoke the updates as Perl > functions > 2) Make a system call to update the RRD `rrdtool update ...` > 3) use pipe to update the RRD "./perl_script | rrdtool - > > All of these methods work independently, meaning that if I run them thru the > command line, I have no problems. It is just when I run them thru cron that > nothing happens. I'm running as root, in Mandrake 7.2 from the / directory. > I asked around and people told me to try and give absolute path names, which > I did, and still nothing happened. > > Thanks once again :-) > Mohammed > > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Bud.CTR.Gordon at faa.gov Tue Jun 26 13:06:59 2001 From: Bud.CTR.Gordon at faa.gov (Bud CTR Gordon) Date: Tue, 26 Jun 2001 07:06:59 -0400 Subject: [rrd-users] Re[2]: A really dorky question (Thanks and expla Message-ID: <0106269935.AA993553159@faa.gov> The little light at the end of the tunnel is starting to glow now! Actually I am familiar with tar but my CD writer must have truncated it (wrote to ISO not Joliet). Thanks I will burn it again! BG ____________________Reply Separator____________________ Subject: Re: [rrd-users] A really dorky question (installing RRDtool Author: Mike Jackson Date: 6/25/2001 5:47 PM Bud CTR Gordon wrote: > > Okay I have downloaded the file rrdtoo~1.gz and put it in my RRDtool folder, when I run gunzip the file I am left with a rrdtoo~1 how can I "sh configure" when there is no "configure"? Forgive my ignorance obviously I am no UNIX admin. Bud, You have obviously downloaded and saved the file with a windows system and the filename has been truncated in the normal windows 8.3 fashion. Before you unzip the file, rename it to rrdtool-1.033.tar.gz. Your next command will be tar xzvf rrdtool-1.0.33.tar.gz . You might want to look into a beginners unix manual as well. Regards, Mike -- Attached file removed by Listar and put at URL below -- -- Type: text/plain -- Size: 1k (1372 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/02-RFC822.TXT -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Bud.CTR.Gordon at faa.gov Tue Jun 26 13:06:59 2001 From: Bud.CTR.Gordon at faa.gov (Bud CTR Gordon) Date: Tue, 26 Jun 2001 07:06:59 -0400 Subject: [rrd-users] Re[2]: A really dorky question (Thanks and expla Message-ID: <0106269935.AA993553211@faa.gov> The little light at the end of the tunnel is starting to glow now! Actually I am familiar with tar but my CD writer must have truncated it (wrote to ISO not Joliet). Thanks I will burn it again! BG ____________________Reply Separator____________________ Subject: Re: [rrd-users] A really dorky question (installing RRDtool Author: Mike Jackson Date: 6/25/2001 5:47 PM Bud CTR Gordon wrote: > > Okay I have downloaded the file rrdtoo~1.gz and put it in my RRDtool folder, when I run gunzip the file I am left with a rrdtoo~1 how can I "sh configure" when there is no "configure"? Forgive my ignorance obviously I am no UNIX admin. Bud, You have obviously downloaded and saved the file with a windows system and the filename has been truncated in the normal windows 8.3 fashion. Before you unzip the file, rename it to rrdtool-1.033.tar.gz. Your next command will be tar xzvf rrdtool-1.0.33.tar.gz . You might want to look into a beginners unix manual as well. Regards, Mike -- Attached file removed by Listar and put at URL below -- -- Type: text/plain -- Size: 1k (1372 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/03-RFC822.TXT -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Tue Jun 26 13:06:38 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Tue, 26 Jun 2001 13:06:38 +0200 (CEST) Subject: [rrd-users] Re: my rrd can only be updated at/after 8:00 a.m. In-Reply-To: <20010626084119.32595.qmail@web14408.mail.yahoo.com> from "=?iso-8859-1?q?Michael=20Chan?=" at Jun 26, 2001 04:41:19 PM Message-ID: <200106261106.NAA24768@slot.hollandcasino.nl> =?iso-8859-1?q?Michael=20Chan?= wrote: > However, I found that I could only update the database > at or after 8:00 a.m. everyday. Therefore, I extract > the data from my database by "rrdtool fetch email.rrd > AVERAGE" and I c the following: > > in out > > 993427200: 1.1333172454e+02 1.4733057870e+02 > 993513600: 2.0600000000e+02 3.0600000000e+02 > > In fact, 993427200 refers to "Mon Jun 25 08:00:00 > 2001" and 993513600 refers to "Tue Jun 26 08:00:00 > 2001". In fact, this is not true. 993427200 refers to Mon Jun 25 00:00:00 2001 UTC 993513600 refers to Tue Jun 26 00:00:00 2001 UTC Emphasis on UTC. > Any idea? RRDtool works with time slots that are based on the unix epoch. All times are numbers of seconds since this epoch. For an RRA with time slots of 86400 seconds, all times must, and will, be an interger multiple of 86400. If you want to update at midnight for your local time zone, you need to have an interval that ends at every possible midnight in your time zone. Think about daylight saving, currently you are eight hours behind but if daylight saving is not applied this will be seven hours. You need to be able to update at midnight during both differences. The largest possible interval for you is thus one hour. You can still update each 24 hours if you wish, no problem. Just make sure heartbeat is large enough. If you update each 24 hours and you have 1-hour time slots, 24 of them will be filled simultaniously. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rshipley at state.mt.us Tue Jun 26 18:29:44 2001 From: rshipley at state.mt.us (Shipley, Rob) Date: Tue, 26 Jun 2001 10:29:44 -0600 Subject: [rrd-users] Re: One other quickie :-D Message-ID: Have you "su bin" and executed the scripts as bin?(Most cron jobs are not executed as user root, they run under bin). Most likely, make sure the scripts are executible for bin. ie "chmod +x" as root or chown bin:bin. -----Original Message----- From: Mohammed Burney [mailto:rockit at wam.umd.edu] Sent: Monday, June 25, 2001 7:20 PM To: RRD Tool Users Subject: [rrd-users] One other quickie :-D Hello all, Thanks to those of you that replied to my question. It really helped, heck it fixed my problem :-) My other problem that I wasn't able to get my perl scripts that update the RRD to run thru cron. I tried 2-3 different approaches. 1) Tried using the 'use RRDs' method, and invoke the updates as Perl functions 2) Make a system call to update the RRD `rrdtool update ...` 3) use pipe to update the RRD "./perl_script | rrdtool - All of these methods work independently, meaning that if I run them thru the command line, I have no problems. It is just when I run them thru cron that nothing happens. I'm running as root, in Mandrake 7.2 from the / directory. I asked around and people told me to try and give absolute path names, which I did, and still nothing happened. Thanks once again :-) Mohammed -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julius at softwell.se Tue Jun 26 19:43:07 2001 From: julius at softwell.se (Anders Ringaby) Date: Tue, 26 Jun 2001 19:43:07 +0200 (CEST) Subject: [rrd-users] Re: One other quickie :-D In-Reply-To: Message-ID: In my experience, most cron jobs are not executed as user bin. Instead, they are executed as root in most cases, or as some normal "application user" ( who has been added to the system ). Maybe bin is frequently used for cron jobs on systems that you are used to, but your advise will not work for Mohammed if his system is like the ones that I have seen. Furthermore, the sysadmin or the "application user" decide themselves what cron jobs to run. It doesn't just happen to be someone ( like bin for instance ). But we both agree that this could be a matter of permissions ( see my earlier mail regarding this subject ). Mohammed has already tried absolute path names, but that did not seem to work. Another thing that Mohammed can check, is if the cron job is really activated. He can check this by logging in as the particular user, and then run the command "crontab -l". If this command lists the users crontab file on the screen, and if this output shows the particular job, without any leading "#", then the job is activated. He may also run the command "mail" ( as that user ) to see if cron has mailed any messages about the jobs. If there are any cron job errors, they may appear in the unix mail messages. Anders Ringaby On Tue, 26 Jun 2001, Shipley, Rob wrote: > > Have you "su bin" and executed the scripts as bin?(Most cron jobs are not > executed as user root, they run under bin). Most likely, make sure the > scripts are executible for bin. ie "chmod +x" as root or chown bin:bin. > -----Original Message----- > From: Mohammed Burney [mailto:rockit at wam.umd.edu] > Sent: Monday, June 25, 2001 7:20 PM > To: RRD Tool Users > Subject: [rrd-users] One other quickie :-D > > > > Hello all, > > Thanks to those of you that replied to my question. It really helped, heck > it fixed my problem :-) > My other problem that I wasn't able to get my perl scripts that update the > RRD to run thru cron. I tried 2-3 different approaches. > > 1) Tried using the 'use RRDs' method, and invoke the updates as Perl > functions > 2) Make a system call to update the RRD `rrdtool update ...` > 3) use pipe to update the RRD "./perl_script | rrdtool - > > All of these methods work independently, meaning that if I run them thru the > command line, I have no problems. It is just when I run them thru cron that > nothing happens. I'm running as root, in Mandrake 7.2 from the / directory. > I asked around and people told me to try and give absolute path names, which > I did, and still nothing happened. > > Thanks once again :-) > Mohammed > > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From cliftonr at lava.net Tue Jun 26 20:51:18 2001 From: cliftonr at lava.net (Clifton Royston) Date: Tue, 26 Jun 2001 08:51:18 -1000 Subject: [rrd-users] Re: One other quickie :-D In-Reply-To: ; from rshipley@state.mt.us on Tue, Jun 26, 2001 at 10:29:44AM -0600 References: Message-ID: <20010626085118.D23093@lava.net> On Tue, Jun 26, 2001 at 10:29:44AM -0600, Shipley, Rob wrote: > > Have you "su bin" and executed the scripts as bin?(Most cron jobs are not > executed as user root, they run under bin). If we're talking about jobs started from /etc/crontab, as I think we are, then not in most UNIX versions I have played with - though I wouldn't be surprised if it's true for some. I did play with an earlier version of Mandrake a year or two ago, and I don't recall the global crontab executing cron jobs as bin. I think its default is to run them as root, like most Unices. ... > Thanks to those of you that replied to my question. It really helped, heck > it fixed my problem :-) > My other problem that I wasn't able to get my perl scripts that update the > RRD to run thru cron. I tried 2-3 different approaches. > > 1) Tried using the 'use RRDs' method, and invoke the updates as Perl > functions > 2) Make a system call to update the RRD `rrdtool update ...` > 3) use pipe to update the RRD "./perl_script | rrdtool - > > All of these methods work independently, meaning that if I run them thru the > command line, I have no problems. It is just when I run them thru cron that > nothing happens. I'm running as root, in Mandrake 7.2 from the / directory. > I asked around and people told me to try and give absolute path names, which > I did, and still nothing happened. Some versions of cron lose much of the login environment for scripts they run; PATH is only one of the things they mess up. Initial directory, and environment variables including SHELL, HOME, and LOGNAME as well as PATH may be messed up. Try running some debug code thru cron to print out as much info as you can to help you in this, e.g. a shell script #!/bin/sh id pwd env which perl_script which rrdtool which perl Maybe something there (or not there) will help you figure out what's going on. -- Clifton -- Clifton Royston -- LavaNet Systems Architect -- cliftonr at lava.net WWJD? "JWRTFM!" - Scott Dorsey (kludge) "JWG" - Eddie Aikau -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From congo at muumi.lnet.lut.fi Wed Jun 27 06:57:02 2001 From: congo at muumi.lnet.lut.fi (Tommi Jauhiainen) Date: Wed, 27 Jun 2001 07:57:02 +0300 Subject: [rrd-users] Y-axis scale to "1000-1100" instead of "1.0 k -1.1 k" Message-ID: <20010627075702.C16480@muumi.lnet.lut.fi> Hi! I have a problem with graph. I have been reading manual pages and list archives without help. I'm graphing barometric pressure (normal pressure 1013 hPa) and y-axis scale is like "1.0 k - 1.2k". I'd like to have it as a complete number "1005" not "1.0 k". I know commands limiting the scale low and high ends but how to make "1.0 k" to "1000"? Tommi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ronald at vitagreen.com Wed Jun 27 07:59:26 2001 From: ronald at vitagreen.com (Ronald Tse) Date: Wed, 27 Jun 2001 13:59:26 +0800 Subject: [rrd-users] VERY Handy Little Too for CISCO ROUTERSl !! References: <20010627075702.C16480@muumi.lnet.lut.fi> Message-ID: <0ad601c0fece$5b73fce0$1d64a8c0@neosparx.com> Hi everyone, I made a little tool called rrdutil. It can be used to create rrds, to retrieve values from a Cisco router thru snmp, and Graph the values retrieved. It grabs the in/out traffic + in/out errors from your router, and grabs the description plus the peak bandwidth. It gens png graphics, with 4 graphs per interface, daily/weekly/monthly/yearly views. It can get the number of interfaces in your cisco router automatically and gen the graphs !! This little tool is produced because : 1) Very little frontends 2) Frontends too complicated to configure + install Thus this is produced in "Pure Shell Script", no perl, no make, no installation, no nothing. All bash commands :-) Of course you have to first install rrdtool. This is my first post to the mailing list, so maybe posting a little handy tool should be good. It should work fine in all distros of Linux. Only config: Change the 3 variables entering: rrdtoolpath=The directory where the rrdtool binary is located; rrdbpath=The directory where the rrdatabases should reside graphpath=The directory where the graphics generated should reside Use cron(crontab -e) to run it every 5 mins and voila! I just make a script like this: ./rrdutil retrieve xxxxxxxxxxxx.xxx xxxx ./rrdutil graph xxxxxxxxxxxxxxx.xxx xxxx ./rrdutil retrieve xxxxxxxxxxxx.xxx xxxx ./rrdutil graph xxxxxxxxxxxxxxx.xxx xxxx and put the script name in crontab Usage: rrdutil create [hostname] [snmp communiity] rrdutil retrieve [hostname] [snmp community] rrdutil graph [hostname] [snmp community] Example: http://www.neosparx.com go to MRTG! Please give comments! Thanks Ronald Tse -- Attached file removed by Listar and put at URL below -- -- Type: application/octet-stream -- Size: 5k (5782 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/rrdutil -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From julien.borne at fr.thalesgroup.com Wed Jun 27 11:14:20 2001 From: julien.borne at fr.thalesgroup.com (Julien Borne) Date: Wed, 27 Jun 2001 10:14:20 +0100 Subject: [rrd-users] RRDTool newby Message-ID: <3B39A3EC.8EBC5C65@fr.thalesgroup.com> Hi all, I've been using MRTG for 3 month now, and I'd like to use RRDTool to simply graph more than 2 lines in a graph. I've got a simple question: is there any web site where I could find the way to install it under WinNT4? (or 2k, nevermind) I mean another one than the official rrdtool mainpage... I'd like a complete explanation on how to install it and use it simply and quickly... Hope I don't bother you too much with this question. -- Cordialement / Best Regards <<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>> Julien Borne Services d'Information Information Services Thales Syst?mes A?roport?s Thales Airborne Systems Stagiaire DUT Informatique Intern IUT Bordeaux I <<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>> ATTENTION: -Pour pouvoir me joindre apr?s le stage (apr?s le 29 Juin), adressez vos mails ?: -If you want to contact me after my internship (after june, 29th), feel free to email me there: borne.julien at wanadoo.fr -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ronald at vitagreen.com Wed Jun 27 11:48:10 2001 From: ronald at vitagreen.com (Ronald Tse) Date: Wed, 27 Jun 2001 17:48:10 +0800 Subject: [rrd-users] Re: VERY Handy Little Too for CISCO ROUTERSl !! References: Message-ID: <0b0901c0feee$730c2060$1d64a8c0@neosparx.com> Hello Nehal, Thanks very much for your comment!! I do receive an error from the "graph" function sometimes. That is due to a part in the "graph" function when it gens the "err" graph, and I don't know why. Please debug it if you could. I get that too :-( For the "retrieve" error, I did not get that. I assume you have 3 interfaces, right? Could you do a "snmpwalk xx.xx.xxx.xxx [community]" for me and remove all IP addresses, Routing Table info, and etc and send it to me so I can try to solve the problem. I think that is because the snmp strings are different. In my 2501, I get a number from "interfaces.ifTable.ifEntry.ifInOctets.x" which shows me the Input Bytes, and In your case, I believe you have to do "interfaces.ifTable.ifEntry.ifInOctets.(slot/interface no).(interface no?)" to retrieve that number. Please send the snmpwalk results to me so that I can improve that. I will do more research and try out on more routers that we have so I can improve that tool. Please give comments everyone!! Thanks Ronald Tse ----- Original Message ----- From: "Gujarat_Petro.com" To: "Ronald Tse" Cc: Sent: Wednesday, June 27, 2001 5:02 PM Subject: Re: [rrd-users] VERY Handy Little Too for CISCO ROUTERSl !! > Dear Everyone, > > I have installed this utility and I am able to create rrdb. But not able > to retrieve the data from router. also, ingraph I am getting the values > nan. where as if I give same command of "snmpwal" on the command prompt > then I am getting data. also, I am getting error "Error: Function not > found 'H'" while creating graph. Where as using rrdtools I am able to > generate the graph. > > If anyone can help me out please mail me on following address: > > nehal_raval at gujaratpetro.com > > Thanks, > > Nehal > On Wed, 27 Jun 2001, Ronald Tse wrote: > > > Hi everyone, > > > > I made a little tool called rrdutil. > > It can be used to create rrds, to retrieve values from a Cisco router thru > > snmp, and Graph the values retrieved. It grabs the in/out traffic + in/out > > errors from your router, and grabs the description plus the peak bandwidth. > > > > It gens png graphics, with 4 graphs per interface, > > daily/weekly/monthly/yearly views. It can get the number of interfaces in > > your cisco router automatically and gen the graphs !! > > > > This little tool is produced because : > > 1) Very little frontends > > 2) Frontends too complicated to configure + install > > Thus this is produced in "Pure Shell Script", no perl, no make, no > > installation, no nothing. > > All bash commands :-) > > > > Of course you have to first install rrdtool. > > > > This is my first post to the mailing list, so maybe posting a little handy > > tool should be good. It should work fine in all distros of Linux. > > > > Only config: > > Change the 3 variables entering: > > rrdtoolpath=The directory where the rrdtool binary is located; > > rrdbpath=The directory where the rrdatabases should reside > > graphpath=The directory where the graphics generated should reside > > > > Use cron(crontab -e) to run it every 5 mins and voila! > > I just make a script like this: > > ./rrdutil retrieve xxxxxxxxxxxx.xxx xxxx > > ./rrdutil graph xxxxxxxxxxxxxxx.xxx xxxx > > ./rrdutil retrieve xxxxxxxxxxxx.xxx xxxx > > ./rrdutil graph xxxxxxxxxxxxxxx.xxx xxxx > > and put the script name in crontab > > > > Usage: > > rrdutil create [hostname] [snmp communiity] > > rrdutil retrieve [hostname] [snmp community] > > rrdutil graph [hostname] [snmp community] > > > > Example: http://www.neosparx.com go to MRTG! > > > > Please give comments! > > > > Thanks > > Ronald Tse > > > > > > > > -- Attached file removed by Listar and put at URL below -- > > -- Type: application/octet-stream > > -- Size: 5k (5782 bytes) > > -- URL : http://www.ee.ethz.ch/~slist/pantomime/rrdutil > > > > > > -- > > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > > Archive http://www.ee.ethz.ch/~slist/rrd-users > > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From hamish at QEDux.co.za Wed Jun 27 19:07:49 2001 From: hamish at QEDux.co.za (Hamish Whittal) Date: Wed, 27 Jun 2001 15:07:49 -0200 Subject: [rrd-users] Upgrading to new RRDTool Without loosing my data... was graphing whole numbers... References: <20010625105017.A8873@tmp.com.br> Message-ID: <3B3A12E5.EC5D8A5C@QEDux.co.za> Hi Sergio, Thanks for the patch. I assume that this is the patched version ov RRDUpdate, so I just replace my RRDupdate.c with this version, no? Also, will it still do the interpolating of other things? Finally. I am running 1.0.28 of RRD tool. What will happen to my data if I upgrade to the newer version? Thanks in advance. Hamish > > Hello Hamish. > > I saw your mail on rrd-users and I'm resending to you a small > patch that makes exactly what you want (and what I wanted at the time :) ). > > It changes the behavior of ds-type "GAUGE" to store EXACTLY what is > fed in by rrd update independently of the timestamp. > > I was having troubles saving "ifOperStatus" from some routers (getting > "1.4" values for ifOperStatus when the values are just 0,1,2 or 3) and got > the help below. > > I applied the patch on rrd 1.0.33 and it worked nicely. > > I believe it'll help you the same way. > > Cheers, -- This message contains confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message, you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error, please delete it. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the view of QED Technologies. We aim to provide the highest degree of security for our customers. Where necessary, all messages are encrypted, all servers are secured and will henceforth remain so. If this is an inconvenience to you, we are sorry, but our business is at stake; a risk we consider no worth taking. ~~ Hamish Whittal QED Technologies Tel: +27 21 448 9291 hamish at QEDux.co.za Fax: +27 21 448 9551 `The' Linux Services Company Cel: +27 82 803 5533 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From faulkner at eco.utexas.edu Wed Jun 27 15:56:54 2001 From: faulkner at eco.utexas.edu (Wendy Faulkner) Date: Wed, 27 Jun 2001 08:56:54 -0500 (CDT) Subject: [rrd-users] Strange One Message-ID: <200106271356.IAA15644@sade.eco.utexas.edu> Ok. I have a very strange one here. I have a rrd of mail stats. It was created like: rrdtool create daily.rrd --start 980174600 --step 3600 DS:received:GAUGE:6000:U:U DS:delivered:GAUGE:6000:U:U DS:bounced:GAUGE:6000:U:U RRA:MAX:0.5:1:600 DS:deferred:GAUGE:6000:U:U RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 I grab the data from some logfiles with a perl script, and write it to the rrd. Today's entries for example: /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993618000:675:780:127:742 /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993621600:1011:1116:124:744 /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993625200:819:918:134:394 /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993628800:913:1087:80:525 /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993632400:903:988:128:747 /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993636000:770:908:85:614 /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993639600:936:1129:87:519 /usr/local/rrdtool-1.0.33/bin/rrdtool update /opt/Mail/daily.rrd 993643200:1095:1373:85:500 But rrdtool fetch daily.rrd MAX gets me numbers like: 993618000: 6.6800000000e+02 7.5700000000e+02 1.2000000000e+02 9.4500000000e+02 993621600: 1.1230000000e+03 1.2470000000e+03 1.0100000000e+02 8.9200000000e+02 993625200: 1.1800000000e+03 1.3100000000e+03 1.3200000000e+02 7.6200000000e+02 993628800: 1.4260000000e+03 1.5410000000e+03 1.7400000000e+02 7.7200000000e+02 993632400: 9.3500000000e+02 1.0860000000e+03 9.5000000000e+01 1.0660000000e+03 993636000: 8.8400000000e+02 1.2070000000e+03 3.9100000000e+02 8.5300000000e+02 993639600: 9.6600000000e+02 1.1050000000e+03 9.5000000000e+01 7.4000000000e+02 993643200: 1.2380000000e+03 1.4820000000e+03 1.2800000000e+02 7.5700000000e+02 993646800: 1.7490000000e+03 1.5420000000e+03 1.0800000000e+02 1.3370000000e+03 993650400: 2.0270000000e+03 3.3210000000e+03 1.2400000000e+02 6.7100000000e+02 i.e. you can see the numbers are quite different than what was put in. I'm not even sure where the last 2 numbers came from, as the last 2 datestamps were 993639600 and 993643200 in what my script entered. If I delete the rrd, create a new one, and run today's stats again, its correct. This only occurs after the rrd has been running for >1 days. Even if my date stamps are wrong, it shouldn't be able to add numbers to previous entries should it? I'm just not sure what is going on because it works perfectly if I start from scratch. My graphs are showing approximately twice as much data as there actually is, but again are perfect if I restart the rrd from scratch. /usr/local/rrdtool-1.0.33/bin/rrdtool graph daily.gif --vertical-label "mail messages per hour" DEF:del=daily.rrd:delivered:MAX LINE2:del#FF0000:"Mail Delivered" DEF:rec=daily.rrd:received:MAX LINE2:rec#000000:"Mail Received" DEF:bou=daily.rrd:bounced:MAX LINE2:bou#0000FF:"Mail Bounced" DEF:defe=daily.rrd:deferred:MAX LINE2:defe#00FFFF:"Mail Deferred" Any clues? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Wendy Faulkner Don't knock on Death's door. faulkner at eco.utexas.edu Ring the bell and run away. http://www.eco.utexas.edu/~faulkner He hates that. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ronald at vitagreen.com Wed Jun 27 19:57:52 2001 From: ronald at vitagreen.com (Ronald Tse) Date: Thu, 28 Jun 2001 01:57:52 +0800 Subject: [rrd-users] Re: About rrdutil References: <200106271149.RAA17802@stl.gspc.net.in> Message-ID: <0bb401c0ff32$b2ee1910$1d64a8c0@neosparx.com> YES! I know how to do now. I hope the problem has been resolved. No matter how many interfaces you have and no matter how messy the order is, the graphs will be generated. Use rrdutilios11 for Cisco IOS 11 + PIX 6, and rrdutilios12 for Cisco IOS 12. Try the other when you encounter errors like "ERROR:expected 12 data source readings (got 2) from N:Counter32::..." Not tried on Cisco Switches yet... For the "Unknown Function" I still don't know the reason yet :-) PLEASE if anyone knows how to eliminate such errors TEACH ME!!! Give some comments please!! Thanks Ronald Tse ----- Original Message ----- From: "Nehal Raval" To: Sent: Wednesday, June 27, 2001 7:49 PM Subject: Re: Re: About rrdutil > Dear Sir, > > Well please find attached file containing out put of snmpwalk. And I > have two router 2500, 2600 serise. And I am facing same problem in > both serise router. If you can give me soluation then I will be very > thankful to you. Because till the time I have not found any utility > as simple and easy as yours. Please find attached file. > > Awaiting for your kind and soon reply, > > Thanks, > > Nehal > > >-------- ORIGINAL MESSAGE BELOW -------- > >Hello Nehal, > > > >Thanks very much for your comment!! > >I do receive an error from the "graph" function sometimes. > >That is due to a part in the "graph" function when it gens the "err" graph, > >and I don't know why. Please debug it if you could. I get that too :-( > > > >For the "retrieve" error, I did not get that. > >I assume you have 3 interfaces, right? > >Could you do a "snmpwalk xx.xx.xxx.xxx [community]" for me and remove all IP > >addresses, Routing Table info, and etc and send it to me so I can try to > >solve the problem. > >I think that is because the snmp strings are different. > >In my 2501, I get a number from "interfaces.ifTable.ifEntry.ifInOctets.x" > >which shows me the Input Bytes, and In your case, I believe you have to do > >"interfaces.ifTable.ifEntry.ifInOctets.(slot/interface no).(interface no?)" > >to retrieve that number. Please send the snmpwalk results to me so that I > >can improve that. > > > >Really VERY SORRY!!! I will do more research and try out on more routers > >that we have so I can improve that tool. > > > >Thanks > >Ronald Tse > > > >----- Original Message ----- > >From: "Nehal Raval" > >To: > >Sent: Wednesday, June 27, 2001 4:22 PM > >Subject: About rrdutil > > > > > >> Dear Sir, > >> > >> I found your utility very good and very usful. because I am using > >> rrdtools to monitor my routers. But its very easy to get data using > >> your utility rather then directly using rrdtools. > >> > >> But I am getting following errors while using your utility. > >> > >> First I gave command "rrdutil create xxx.xxx.xxx.xxx public > >> > >> So, rrd file was created successfully. > >> > >> Second I gave "rrdutil retrieve xxx.xxx.xxx.xxx public > >> > >> So, I got message "ERROR:expected 12 data source readings (got 2) > >> from N:Counter32::..." > >> > >> Third I gave "rrdutils graph xxx.xxx.xxx.xxx public > >> > >> So, I got message "595x324" > >> "/var/xxx/rrd/xxx.xxx.xxx.xxx_1_daily.png Gened!." > >> "ERROR: unknown funcation 'H'" > >> > >> Can u help me to solve above errors ?... > >> > >> Thanks, > >> > >> Nehal > >> > >> -------------------------------------------------------------------- > >> ------> Webmail for Gujarat State Petroleum Corp. Ltd. <------ > >> -------------------------------------------------------------------- > > -->> FREE Perl CGI scripts add WEB ACCESS to your > -->> POP E-Mail accounts! Download today!! http://www.adjeweb.com > > > -- Attached file removed by Listar and put at URL below -- -- Type: application/octet-stream -- Size: 5k (5792 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/rrdutilios12 -- Attached file removed by Listar and put at URL below -- -- Type: application/octet-stream -- Size: 5k (5792 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/rrdutilios11 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From aharon at simpletone.com Thu Jun 28 19:33:52 2001 From: aharon at simpletone.com (A.N.Varady) Date: Thu, 28 Jun 2001 13:33:52 -0400 Subject: [rrd-users] suppressing rrdtool graph width*heigth output Message-ID: <3B3B6A80.EAF0049F@simpletone.com> Hello, Does anyone know if there is a "quiet" mode for the rrdtool graph function. Besides the generated gif, the rrdtool graph function also outputs the width and height of the image produced. If there isn't a quiet mode, does anyone know some trick I could use to run rrdtool graph from within a perl script and suppress this information. The problem is that I have rrdtool running on cron, and everytime it runs the graph function it send email to root with the dimensions of the image. Thanks for your help. Aharon -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From gilc at fe.up.pt Thu Jun 28 19:54:48 2001 From: gilc at fe.up.pt (Gil Coutinho) Date: Thu, 28 Jun 2001 18:54:48 +0100 Subject: [rrd-users] Re: suppressing rrdtool graph width*heigth output In-Reply-To: <3B3B6A80.EAF0049F@simpletone.com> Message-ID: Hi there. Can't you redirect the output to /dev/null? Try something like this in your crontab: 0 * * * * /usr/sbin/netdate ns1 >/dev/null 2>/dev/null (it redirects standard input and standard error of the command to /dev/null) If that is your only problem, root won't get emailed anymore. cheers _____________ Gil Coutinho gilc at fe.up.pt -----Original Message----- From: root at phobos.serve.com [mailto:root at phobos.serve.com]On Behalf Of A.N.Varady Sent: quinta-feira, 28 de Junho de 2001 18:34 To: rrd-users at list.ee.ethz.ch Subject: [rrd-users] suppressing rrdtool graph width*heigth output Hello, Does anyone know if there is a "quiet" mode for the rrdtool graph function. Besides the generated gif, the rrdtool graph function also outputs the width and height of the image produced. If there isn't a quiet mode, does anyone know some trick I could use to run rrdtool graph from within a perl script and suppress this information. The problem is that I have rrdtool running on cron, and everytime it runs the graph function it send email to root with the dimensions of the image. Thanks for your help. Aharon -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dgabler at truelink.com Thu Jun 28 20:00:29 2001 From: dgabler at truelink.com (David Gabler) Date: Thu, 28 Jun 2001 11:00:29 -0700 Subject: [rrd-users] Re: suppressing rrdtool graph width*heigth output References: Message-ID: <3B3B70BD.C15B3510@truelink.com> Last time I suggested this I got slightly flamed. Just be forewarned that by doing this you will loose ANY debug info the comes out. So if that is ok I personally like "progThatIsToBeRun 2>&1 /dev/null" David. Gil Coutinho wrote: > > Hi there. > Can't you redirect the output to /dev/null? > > Try something like this in your crontab: > 0 * * * * /usr/sbin/netdate ns1 >/dev/null 2>/dev/null -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Thu Jun 28 20:09:09 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Thu, 28 Jun 2001 20:09:09 +0200 Subject: [rrd-users] Re: suppressing rrdtool graph width*heigth output In-Reply-To: <3B3B6A80.EAF0049F@simpletone.com> Message-ID: hum.. are you using RRDs:: fonction in perl ? are do you use something like system () ? if you use system and can't use RRDs try qx "" instead of system () ps: qx does't return anything from the command le 28/06/01 19:33, A.N.Varady (aharon at simpletone.com) ecrivait: [snif] > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi note for the list manager it's not "--" but "-- " when a space is present when you do reply the signature is take off -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From kevin.kress at comdev.cc Thu Jun 28 20:29:29 2001 From: kevin.kress at comdev.cc (kevin.kress at comdev.cc) Date: Thu, 28 Jun 2001 11:29:29 -0700 Subject: [rrd-users] Larger varaible names In-Reply-To: ; from Jean-Edouard BABIN on Thu, Jun 28, 2001 at 08:09:09PM +0200 References: <3B3B6A80.EAF0049F@simpletone.com> Message-ID: <20010628112929.A4518@cleanup.comdev.cc> I would like to increase the size of the variable names allowable in the rrd format to about 256 characters. I have found what I think is the location of the #defines that will increase the size of the variable names. Before I proceed I was hoping I could get some opinions on what problems this might or if it will even work. If it will not work can I get some insight as to why and what needs to be fixed. the #defines I am looking at are in rrd_format.h: #define DS_NAM_FMT "%19[a-zA-Z0-9_-]" #define DS_NAM_SIZE 20 #define DST_FMT "%19[A-Z]" #define DST_SIZE 20 I am assuming that either both DS_NAME_* and DST_* need to be changed or just DS_NAM_FMT and DS_NAM_SIZE. Again, input is greatly appreciated. Kevin -- Kevin Kress (Software Engineer) COM DEV Wireless San Luis Obispo, CA Phone: 805-544-1089 Fax: 805-544-2055 GnuPG/PGP Key ID: 8A811ECC Fingerprint : D244 8D76 327D F7B8 DAE6 FF72 30F0 694B 8A81 1ECC -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From aharon at simpletone.com Thu Jun 28 20:40:33 2001 From: aharon at simpletone.com (A.N.Varady) Date: Thu, 28 Jun 2001 14:40:33 -0400 Subject: [rrd-users] Simple plotting with rrdtool, no averaging Message-ID: <3B3B7A21.733D0775@simpletone.com> Hi, Thanks for the quick response from everyone to my last question. I learned a few handy cron and perl tricks, like using qx instead of system and adding "2>&1 /dev/null" after my script to be run in the cron. My next question: I made a perl script to calculate and log how long it takes for our mail server to process (send and receive) email. I've added some lines to export the log info to rrdtool, so that rrdtool could graph the log data. What I want to be able to do is simply plot time for the last 36 hours on the x axis, and the number of seconds it's taken a message to be processed on the y axis. I read through the man pages and the tutorial, and I got only so far in my understanding (especially of RRA, I wish there were some example images in Alex van den Bogaerdt's tutorial). My problem is that my graph skips spikes. Here's a sample of log info I update my rrd with: --------------- 993736201:1 993736801:0 993737401:1 993738002:1 993738636:36 993739201:1 993739802:1 993740401:1 993740481:2 993740578:2 993740729:1 993740789:1 993740901:1 993741001:1 993741057:1 993741143:1 ----------------- When rrdtool tries to graph this, it skips entries which would spike like "993738636:36". You can see my rrdtool graph at: http://www.serve.com/mailpulse.htm In my perl script my rrdtool create command looks like this: rrdtool create /home/var/rrd/mailpulse.rrd --start $start DS:latency:GAUGE:600:U:U RRA:AVERAGE:0.1:1:1440 My rrdtool graph command looks like this: rrdtool graph /home/httpd/html/mailpulse.gif --title Mailpulse -v delivery_time_in_sec -w 500 -h 125 DEF:mylatency=/home/var/rrd/mailpulse.rrd:latency:AVERAGE LINE2:mylatency#FF0000 How can I create a graph which simply plots the data as I have it in my log, showing all data elements and not trying to average them? Thanks for your help. Aharon -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 28 22:06:40 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 28 Jun 2001 22:06:40 +0200 (CEST) Subject: [rrd-users] Re: Larger varaible names In-Reply-To: <20010628112929.A4518@cleanup.comdev.cc> from "kevin.kress@comdev.cc" at Jun 28, 2001 11:29:29 AM Message-ID: <200106282006.WAA29108@slot.hollandcasino.nl> kevin.kress at comdev.cc wrote: > > I would like to increase the size of the variable names allowable in the rrd > format to about 256 characters. I have found what I think is the location of > the #defines that will increase the size of the variable names. Before I > proceed I was hoping I could get some opinions on what problems this might > or if it will even work. One problem is that the defines are not always used (while they should). Basically you will have to review the code (shouldn't be that hard) for locations where anyting happens with DSes. While you're at it you may as well provide a patch (please). Every part of the program is in its own file so you need to scan allmost all of the .c files. > #define DS_NAM_FMT "%19[a-zA-Z0-9_-]" > #define DS_NAM_SIZE 20 Change 20 and 19 into 256 and 255 (255 chars allowed). I don't know if you'll hit some limitation elsewhere, I do know you need to change both numbers. > #define DST_FMT "%19[A-Z]" > #define DST_SIZE 20 This should need no change. It is the data source type i.e. AVERAGE, GAUGE. cheers, -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at slot.hollandcasino.nl Thu Jun 28 23:21:01 2001 From: alex at slot.hollandcasino.nl (Alex van den Bogaerdt) Date: Thu, 28 Jun 2001 23:21:01 +0200 (CEST) Subject: [rrd-users] Re: Simple plotting with rrdtool, no averaging In-Reply-To: <3B3B7A21.733D0775@simpletone.com> from "A.N.Varady" at Jun 28, 2001 02:40:33 PM Message-ID: <200106282121.XAA29896@slot.hollandcasino.nl> A.N.Varady wrote: > I read through the man pages and the tutorial, and I got only so far in my > understanding (especially of RRA, I wish there were some example images in Alex > van den Bogaerdt's tutorial). Please, if you have comments on the tutorial provide me with feedback. It's hard for me to know where people experience difficulties if they don't tell me. If you really follow the tutorial, you will have created the graphs. No need to create them myself. It would also be very hard to include them in a pod file. You may be viewing the html file however that is *not* the file format used to distribute the tutorial. The tutorial explains rrdtool fetch; you can use this to troubleshoot. > My problem is that my graph skips spikes. Next time please present your information in a ready to go script, this helps us to help you. I've rearranged your commands and other info a bit and now have: rrdtool create mailpulse.rrd --start 993736200 \ DS:latency:GAUGE:600:U:U RRA:AVERAGE:0.1:1:1440 rrdtool update mailpulse.rrd 993736201:1 rrdtool update mailpulse.rrd 993736801:0 rrdtool update mailpulse.rrd 993737401:1 rrdtool update mailpulse.rrd 993738002:1 rrdtool update mailpulse.rrd 993738636:36 rrdtool update mailpulse.rrd 993739201:1 rrdtool update mailpulse.rrd 993739802:1 rrdtool update mailpulse.rrd 993740401:1 rrdtool update mailpulse.rrd 993740481:2 rrdtool update mailpulse.rrd 993740578:2 rrdtool update mailpulse.rrd 993740729:1 rrdtool update mailpulse.rrd 993740789:1 rrdtool update mailpulse.rrd 993740901:1 rrdtool update mailpulse.rrd 993741001:1 rrdtool update mailpulse.rrd 993741057:1 rrdtool update mailpulse.rrd 993741143:1 rrdtool fetch mailpulse.rrd --start 993736200 --end 993741300 AVERAGE Its output: [alex at home /tmp]$ ./mailpulse.sh latency 993736200: NaN 993736500: 1.6666666667e-03 993736800: 1.6666666667e-03 993737100: 9.9833333333e-01 993737400: 9.9833333333e-01 993737700: 1.0000000000e+00 993738000: 1.0000000000e+00 993738300: NaN 993738600: NaN 993738900: 1.0000000000e+00 993739200: 1.0000000000e+00 993739500: 1.0000000000e+00 993739800: 1.0000000000e+00 993740100: 1.0000000000e+00 993740400: 1.0000000000e+00 993740700: 1.5900000000e+00 993741000: 1.0000000000e+00 993741300: NaN So, why are there NaN values in this output and not those high numbers? The hearbeat is set to 600. This means an update should occur within 600 seconds. If this doesn't happen, the input is assumed to be inaccurate and is thus set to unknown. Let's review part of your input: rrdtool update mailpulse.rrd 993738002:1 rrdtool update mailpulse.rrd 993738636:36 rrdtool update mailpulse.rrd 993739201:1 You update 993738636 - 993738002 = 634 seconds apart, this results in an unknown for both 993738000..993738300 and 993738300..993738600. I must say 993738600..993738900 set to 1 surprises me, I'd expect this to be unknown as well, or maybe 36*36/300+1*(300-36)/300 == 5.2 > How can I create a graph which simply plots the data as I have it in my log, > showing all data elements and not trying to average them? With RRDtool you can't. Don't use a hammer to paint and don't use a screwdriver to hammer nails. In other words, use the right tool for the job. If you really want to display the measured values as they are, you should be using -for instance- a spreadsheet. RRDtool works with rates changing over time. Its consolidation functions and resampling of the data are an integral part, you shouldn't use rrdtool if you don't want to. HTH -- __________________________________________________________________ / alex at slot.hollandcasino.nl alex at ergens.op.het.net \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ashok_mandala at yahoo.com Fri Jun 29 01:46:02 2001 From: ashok_mandala at yahoo.com (Ashok Chakravarthy) Date: Thu, 28 Jun 2001 16:46:02 -0700 (PDT) Subject: [rrd-users] DTD for rrdtool dump output Message-ID: <20010628234602.70355.qmail@web10908.mail.yahoo.com> Hi All, Does anyone know where I can find the DTD for the XML output by "rrdtool dump" command. Thanks in Advance. Ashok. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From patrick at xsinet.com Fri Jun 29 08:29:34 2001 From: patrick at xsinet.com (Patrick) Date: Fri, 29 Jun 2001 08:29:34 +0200 Subject: [rrd-users] DNS Querie ( NEWBIE ) Message-ID: <3B3C204D.3B4F59AB@xsinet.com> hi this is a stupid question and im just starting with rrdtool this is what i would like 2 do i have a log which contains client connections 2 my dns server i would like 2 graph these what i would like 2 do is somthing like this EG of dns log Jun 29 08:00:01.091 client: client 196.15.188.132#64705: UDP request Jun 29 08:00:01.093 client: client 196.15.188.132#64705: query Jun 29 08:00:01.094 client: client 196.15.188.132#64705: send Jun 29 08:00:01.094 client: client 196.15.188.132#64705: sendto Jun 29 08:00:01.094 client: client 196.15.188.132#64705: senddone Jun 29 08:00:01.094 client: client 196.15.188.132#64705: next Jun 29 08:00:01.094 client: client 196.15.188.132#64705: endrequest Jun 29 08:00:01.565 client: client 196.15.188.132#64705: UDP request Jun 29 08:00:01.566 client: client 196.15.188.132#64705: query Jun 29 08:00:01.566 client: client 196.15.188.132#64705: send Jun 29 08:00:01.567 client: client 196.15.188.132#64705: sendto Jun 29 08:00:01.567 client: client 196.15.188.132#64705: senddone Jun 29 08:00:01.567 client: client 196.15.188.132#64705: next Jun 29 08:00:01.567 client: client 196.15.188.132#64705: endrequest that is 2 requests i would like 2 grep out the UDP's and then graph those i get about 1 000 000 in 24 hours ne ideas on where 2 get started Many Thanks Patrick -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patrick XSInet Hostmaster Tel. 27 21 975 7001 (Ext 235) Fax. 27 21 975 5333 -=-=-=-=-=-=-=-=-=-=-=-=-=-=- ------------------------------------------------------------ Get your own free Internet access at http://www.xsinet.co.za/ ------------------------------------------------------------ Internet communications are not secure and therefore the XSInet does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of XSInet. The XSInet e-mail facility may not be used for the distribution of chain letters or offensive e-mail. XSInet hereby distances itself from and accepts no liability for the unauthorized use of its e-mail facility or the sending of e-mail communications for other than strictly business purposes. Every possible precaution has been taken to ensure that this message is virus free, however XSInet can -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ronald at vitagreen.com Fri Jun 29 09:46:30 2001 From: ronald at vitagreen.com (Ronald Tse) Date: Fri, 29 Jun 2001 15:46:30 +0800 Subject: [rrd-users] Re: DNS Querie ( NEWBIE ) References: <3B3C204D.3B4F59AB@xsinet.com> Message-ID: <028401c1006f$a3c19ff0$1d64a8c0@neosparx.com> So you are using Linux? First, create a database. rrdtool create namedlog.rrd DS:query:COUNTER:600:U:U 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 Then update it: tmp=$(cat your_log_file | grep UDP | wc- l ) rrdtool update namedlog.rrd N:"$tmp" [run this every five minutes by cron] Then generate the graphs: rrdtool graph namedlog.gif --start -86400 \ DEF:rquery=namedlog.rrd:query:AVERAGE \ AREA:rquery#00FF00"DNS Queries" \ COMMENT:"\n" \ COMMENT:" DNS Queries: Max:" \ GPRINT:rquery:MAX:"%6.2lf " \ COMMENT:" Min:" \ GPRINT:rquery:MIN:"%6.2lf " \ COMMENT:" Average:" \ GPRINT:rquery:AVERAGE:"%6.2lf " \ COMMENT:" GIF Generated at : $(date)" Thanks Ronald Tse ----- Original Message ----- From: "Patrick" To: Sent: Friday, June 29, 2001 2:29 PM Subject: [rrd-users] DNS Querie ( NEWBIE ) > > hi this is a stupid question and im just starting with rrdtool > this is what i would like 2 do > > i have a log which contains client connections 2 my dns server > i would like 2 graph these > what i would like 2 do is somthing like this > > EG of dns log > > Jun 29 08:00:01.091 client: client 196.15.188.132#64705: UDP request > Jun 29 08:00:01.093 client: client 196.15.188.132#64705: query > Jun 29 08:00:01.094 client: client 196.15.188.132#64705: send > Jun 29 08:00:01.094 client: client 196.15.188.132#64705: sendto > Jun 29 08:00:01.094 client: client 196.15.188.132#64705: senddone > Jun 29 08:00:01.094 client: client 196.15.188.132#64705: next > Jun 29 08:00:01.094 client: client 196.15.188.132#64705: endrequest > Jun 29 08:00:01.565 client: client 196.15.188.132#64705: UDP request > Jun 29 08:00:01.566 client: client 196.15.188.132#64705: query > Jun 29 08:00:01.566 client: client 196.15.188.132#64705: send > Jun 29 08:00:01.567 client: client 196.15.188.132#64705: sendto > Jun 29 08:00:01.567 client: client 196.15.188.132#64705: senddone > Jun 29 08:00:01.567 client: client 196.15.188.132#64705: next > Jun 29 08:00:01.567 client: client 196.15.188.132#64705: endrequest > > that is 2 requests i would like 2 grep out the UDP's and then graph > those > i get about 1 000 000 in 24 hours > > ne ideas on where 2 get started > > Many Thanks Patrick > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Patrick > XSInet Hostmaster > Tel. 27 21 975 7001 (Ext 235) > Fax. 27 21 975 5333 > -=-=-=-=-=-=-=-=-=-=-=-=-=-=- > ------------------------------------------------------------ > Get your own free Internet access at http://www.xsinet.co.za/ > ------------------------------------------------------------ > Internet communications are not secure and therefore the > XSInet does not accept legal responsibility for the contents > of this message. Any views or opinions presented are solely > those of the author and do not necessarily represent > those of XSInet. The XSInet e-mail facility may not be > used for the distribution of chain letters or offensive > e-mail. XSInet hereby distances itself from and accepts > no liability for the unauthorized use of its e-mail facility > or the sending of e-mail communications for other than > strictly business purposes. Every possible precaution has > been taken to ensure that this message is virus free, > however XSInet can > > > > > -- > Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe > Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help > Archive http://www.ee.ethz.ch/~slist/rrd-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From paul.dworniak at poczta.fm Fri Jun 29 13:23:34 2001 From: paul.dworniak at poczta.fm (Pawel Dworniak) Date: Fri, 29 Jun 2001 13:23:34 +0200 Subject: [rrd-users] How to graph vertical line every 24 hours Message-ID: <5.0.2.1.0.20010629131903.00b32a38@poczta.fm> Hello everyone! Can you tell me how can I graph vertical line every 24 hours? I know that I can use VRULE:time or use example from RRD documentation: rrdtool graph example.png --title="INF demo" DEF:val1=some.rrd:ds0:AVERAGE DEF:val2=some.rrd:ds1:AVERAGE DEF:val3=some.rrd:ds2:AVERAGE DEF:val4=other.rrd:ds0:AVERAGE CDEF:background=val4,POP,TIME,7200,%,3600,LE,INF,UNKN,IF CDEF:wipeout=val1,val2,val3,val4,+,+,+,UN,INF,UNKN,IF AREA:background#F0F0F0 AREA:val1#0000FF:Value1 STACK:val2#00C000:Value2 STACK:val3#FFFF00:Value3 STACK:val4#FFC000:Value4 AREA:wipeout#FF0000:Unknown but it is hmmm... a bit complex Thanks Paul Poland -------------------R--E--K--L--A--M--A------------------- Jak mikroporty znosily smiech Manueli w domu Big Brother? http://relacje.interia.pl/id/relacja?cid=9492 -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From qingbo at canarie.ca Fri Jun 29 16:51:22 2001 From: qingbo at canarie.ca (Qingbo Jin) Date: Fri, 29 Jun 2001 10:51:22 -0400 Subject: [rrd-users] How if the rrd file name have ':' Message-ID: Hi : I have a problem DEF_376_2611_flows = DEF:376_2611_flows=$(rrddir)/376:2611.rrd:flows:AVERAGE this does not work ,maybe the reason is there is : inside the name of rrd file. I am using it in Makefile ,so any hint help on this ?? Thanks -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From listes at Jeb.com.fr Fri Jun 29 19:07:28 2001 From: listes at Jeb.com.fr (Jean-Edouard BABIN) Date: Fri, 29 Jun 2001 19:07:28 +0200 Subject: [rrd-users] Re: How to graph vertical line every 24 hours In-Reply-To: <5.0.2.1.0.20010629131903.00b32a38@poczta.fm> Message-ID: i have already ask for this, Alex van den Bogaerdt said: rrdtool .... --end 'jun 30 00:00' --start end-8d .... so, you know you should loop through 8 days and, because 00:00 happens to be a boundary, you'll have 9 occurances of midnight. You can create a script that builds a RRDtool graph script. In this script you need 9 (or 7) VRULE commands. In a pseudo language you'd do: $midnight=`date -d "jun 30 00:00" +%s` for (i=0;i<9;i++) print "VRULE:${midnight}#FF0000" midnight -= 86400 or $midnight=`date -d "jun 30 00:00" +%s` $midnight -= 86400 for (i=0;i<7;i++) print "VRULE:${midnight}#FF0000" midnight -= 86400 This doesn't take daylight saving time into account so don't use this example as a complete solution! Another approach: You can change the default behaviour for the grid. Draw a major grid line only at midnight and maybe change its color. rrdtool graph .... --x-grid HOUR:8:DAY:1:DAY:1:86400:%a .... --color MGRID#FF0000 .... le 29/06/01 13:23, Pawel Dworniak (paul.dworniak at poczta.fm) ecrivait: > > Hello everyone! > > Can you tell me how can I graph vertical line every 24 hours? > I know that I can use VRULE:time or use example from RRD documentation: > > rrdtool graph example.png --title="INF demo" > DEF:val1=some.rrd:ds0:AVERAGE > DEF:val2=some.rrd:ds1:AVERAGE > DEF:val3=some.rrd:ds2:AVERAGE > DEF:val4=other.rrd:ds0:AVERAGE > CDEF:background=val4,POP,TIME,7200,%,3600,LE,INF,UNKN,IF > CDEF:wipeout=val1,val2,val3,val4,+,+,+,UN,INF,UNKN,IF > AREA:background#F0F0F0 > AREA:val1#0000FF:Value1 > STACK:val2#00C000:Value2 > STACK:val3#FFFF00:Value3 > STACK:val4#FFC000:Value4 > AREA:wipeout#FF0000:Unknown > > but it is hmmm... a bit complex > > Thanks > Paul > Poland > -- Jean-Edouard BABIN Web : http://www.Jeb.com.fr Mail: Jeb at jeb.com.fr ICQ : 27305084 IRC : @#Mac-Fr @#So etc.. undernet.org -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From SBishop at e-xpedient.com Fri Jun 29 20:18:12 2001 From: SBishop at e-xpedient.com (Schuyler Bishop) Date: Fri, 29 Jun 2001 14:18:12 -0400 Subject: [rrd-users] How the interval value works... Message-ID: Sorry about the cross-post, but I don't know which list this is more appropriate for... Another question for the MRTG / RRD 'leet out there: Can $interval in MRTG be fractional? I want 5-minute averages because that's what our upstream uses to bill us, but an OC-3 can over-run a 2^32 counter twice in a 300 second poll! After looking at the code, it looks like it just takes the $interval and multiplies it by 60. I was thinking of keeping the interval at 5 minutes, but changing the multiplier to 30. Of course, then in my cgi I'd have to add every other poll to get a 5-minute average... And looking more into it, it would make just as much sense to change the interval to 2.5 - as long as it's not looking for an integer. Any suggestions / comments on this? Thanks! Schuyler -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From smita at netli.com Fri Jun 29 21:32:42 2001 From: smita at netli.com (Smita) Date: Fri, 29 Jun 2001 12:32:42 -0700 Subject: [rrd-users] help with average References: <3B3B7A21.733D0775@simpletone.com> Message-ID: <3B3CD7DA.66387B78@netli.com> Hi, I have an rrd as follows: rrdtool create test.rrd --start 920804400 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 Q1. If I understand correctly, this means that if the interval between two speeds colleted is more than 600 seconds then rrd treats it as unknown. So, I should make sure that the interval doesn't exceed 600 seconds. Am I right? Q2. This RRA will average my data every time I sample it and keep 24 of such averages in archive. (a) What does sample mean? Does it mean to update my RRD? (b) How do I access the RRAs to retrieve my old data? Q3. DEF:myspeed=test.rrd:speed:AVERAGE myspeed is average of speed over what interval of time? I am very much confused. Any help would be greatly appreciated. Thanks. Smita -- Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi