[rrd-users] Re: graph question
so i need to modify my Average lines in my config below? Sorry man, im relatively new at this DS:slmmodems:GAUGE:600:0:24 \ DS:tammodems:GAUGE:600:0:24 \ DS:dalmodems:GAUGE:600:0:24 \ RRA:LAST:0.5:1:600 \ RRA:LAST:0.5:6:700 \ RRA:LAST:0.5:24:775 \ RRA:LAST:0.5:288:797 \ 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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex van den Bogaerdt Sent: Friday, December 19, 2003 9:11 AM To: rrd-users@list.ee.ethz.ch Subject: [rrd-users] Re: graph question On Fri, Dec 19, 2003 at 07:44:31AM -0500, Fauteux, Joe wrote: > thanks Alex - is there a simple way to suppress the decimals and round > Suppose you have setup an RRD that stores data for 12 hours a time, and also keeps the data at 24 hours per row. 00:00-11:59 20 modems in use 12:00-23:59 21 modems in use. What should RRDtool do to compute the number for 24 hours? Should it be: a) 20.0 modems in use b) 20.5 modems in use c) 21.0 modems in use This is something _you_ have to decide. Use MIN,AVERAGE or MAX to select. HTH Alex -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi Learn more about Paymentech's payment processing services at www.paymentech.com THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: graph question
On Fri, Dec 19, 2003 at 07:44:31AM -0500, Fauteux, Joe wrote: > thanks Alex - is there a simple way to suppress the decimals and round > Suppose you have setup an RRD that stores data for 12 hours a time, and also keeps the data at 24 hours per row. 00:00-11:59 20 modems in use 12:00-23:59 21 modems in use. What should RRDtool do to compute the number for 24 hours? Should it be: a) 20.0 modems in use b) 20.5 modems in use c) 21.0 modems in use This is something _you_ have to decide. Use MIN,AVERAGE or MAX to select. HTH Alex -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: help with error please
Try the following: - Make sure that your output file (GIF/PNG) is formatted like this: c:\\inetpub\\graphs\\output.gif - Make sure that your RRD definitions are like this: c\\:\\inetpub\\wwwroot\\mrtg\\rrdtool\\drmateo_e4.rrd:ds0:AVERAGE If this doesn't work (I use this in my perl scripts), try single backslashes. Best regards, Stephan Van den Bossche Eric wrote: >Hi all, > >can someone try to find the error here (i'm not that experienced with RRD) > >C:\Inetpub\wwwroot>rrdtool.exe graph >c:\inetpub\wwwroot\sher-member-01_mem_fault >s_Daily.png -s -2000m -e now -a PNG -w 800 -h 300 --alt-y-grid --lazy -c >MGRID#e >e -c GRID#00 >DEF:in=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_fa >ults.rrd:ds0:AVERAGE >DEF:out=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_f >aults.rrd:ds1:AVERAGE CDEF:pin=in,100,/,100,*,1,/ >CDEF:pout=out,1000 >000,/,100,*,1,/ >DEF:min=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_faults >.rrd:ds0:MAX >DEF:mout=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_faults.r >rd:ds1:MAX AREA:in#005499:"Maximal Incoming Traffic"\l >LINE1:out#e52325:"Maximal > Outgoing Traffic"\l GPRINT:min:MAX:"Max In\: %8.3lf %s" >GPRINT:pin:MAX:"(%3.0lf >%%)" GPRINT:mout:MAX:"Max Out\: %8.3lf %s" GPRINT:pout:MAX:"(%3.0lf%%)"\l >GPRINT >:in:AVERAGE:"Avg In\: %8.3lf %s" GPRINT:pin:AVERAGE:"(%3.0lf%%)" >GPRINT:out:AVER >AGE:"Avg Out\: %8.3lf %s" GPRINT:pout:AVERAGE:"(%3.0lf%%)"\l >GPRINT:in:LAST:"Cur > In\: %8.3lf %s" GPRINT:pin:LAST:"(%3.0lf%%)" GPRINT:out:LAST:"Cur Out\: >%8.3lf >%s" GPRINT:pout:LAST:"(%3.0lf%%)\l" > > >ERROR: can't parse DEF >'in=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_fau >lts.rrd:ds0:AVERAGE' -2 > > >Greetings Eric > >-- >Unsubscribe mailto:[EMAIL PROTECTED] >Helpmailto:[EMAIL PROTECTED] >Archive http://www.ee.ethz.ch/~slist/rrd-users >WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi > > > > -- Stephan Harren Leiter Technik AboveNet Deutschland GmbH - Phone +49 69 90554 153 Fax +49 69 90554 111 Cell +49 173 7011126 -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] help with error please
Hi all, can someone try to find the error here (i'm not that experienced with RRD) C:\Inetpub\wwwroot>rrdtool.exe graph c:\inetpub\wwwroot\sher-member-01_mem_fault s_Daily.png -s -2000m -e now -a PNG -w 800 -h 300 --alt-y-grid --lazy -c MGRID#e e -c GRID#00 DEF:in=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_fa ults.rrd:ds0:AVERAGE DEF:out=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_f aults.rrd:ds1:AVERAGE CDEF:pin=in,100,/,100,*,1,/ CDEF:pout=out,1000 000,/,100,*,1,/ DEF:min=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_faults .rrd:ds0:MAX DEF:mout=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_faults.r rd:ds1:MAX AREA:in#005499:"Maximal Incoming Traffic"\l LINE1:out#e52325:"Maximal Outgoing Traffic"\l GPRINT:min:MAX:"Max In\: %8.3lf %s" GPRINT:pin:MAX:"(%3.0lf %%)" GPRINT:mout:MAX:"Max Out\: %8.3lf %s" GPRINT:pout:MAX:"(%3.0lf%%)"\l GPRINT :in:AVERAGE:"Avg In\: %8.3lf %s" GPRINT:pin:AVERAGE:"(%3.0lf%%)" GPRINT:out:AVER AGE:"Avg Out\: %8.3lf %s" GPRINT:pout:AVERAGE:"(%3.0lf%%)"\l GPRINT:in:LAST:"Cur In\: %8.3lf %s" GPRINT:pin:LAST:"(%3.0lf%%)" GPRINT:out:LAST:"Cur Out\: %8.3lf %s" GPRINT:pout:LAST:"(%3.0lf%%)\l" ERROR: can't parse DEF 'in=c:\mrtg_workdir\sher-member-01\sher-member-01_mem_fau lts.rrd:ds0:AVERAGE' -2 Greetings Eric -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: graph question
thanks Alex - is there a simple way to suppress the decimals and round it to a whole number - im really not interested in .98 of a modem connection -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex van den Bogaerdt Sent: Thursday, December 18, 2003 6:08 PM To: rrd-users@list.ee.ethz.ch Subject: [rrd-users] Re: graph question On Thu, Dec 18, 2003 at 11:25:52AM -0500, Fauteux, Joe wrote: > Im graphing "modems in use" on our 3 Cisco AS5300's - when the graph gets= > created the 1st value is some outrageous number followed by an "m" - as in= > "980 m" - the other two vlaues are ok - I'm guessing this may have somethi= > ng to do with a zero value returned but im not sure - any ideas? 980 m equals 0.98 ... That's not outrageous, that's near to 1. You're probably updating somewhere near, but not exactly on, a multiple of the step size. All time stamps in RRDtool will be converted to a whole multiple of the step size. Search for "normalizing". HTH Alex -- http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1 This message was produced without any mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi Learn more about Paymentech's payment processing services at www.paymentech.com THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] QOS Help
Content-Type: text/plain Hi All I created the attached script to pull information from our internet router to get values for passing through to RRD. In principal it works but it is extremely slow and I am a bit worried about the order. I need the script to complete both walks before moving on to the second device as the same values might appear. Currently the attached script walks through and gives me the results, but it is taking far too long. Any help would be much appreciated #!/usr/local/lib/perl BEGIN { open (STDERR, ">/usr/local/nmis/cbwfq/error.txt"); } use lib "/usr/local/nmis/lib"; use SNMP::Util; $SNMP::Util::Max_log_level = 'debug'; use BER; #use SNMP_util "0.90"; use SNMP_util; $BER::pretty_print_timeticks = 0; # Uptime in absolute value @IP_array = ('my-ip-one',' my-ip-two ',' my-ip-three '); $community = 'my-community'; $first = '1.3.6.1.4.1.9.9.166.1.7.1.1.1'; $second = '1.3.6.1.4.1.9.9.166.1.5.1.1.2'; foreach $IP (@IP_array) { @Config1 = (&snmpwalk("[EMAIL PROTECTED]", $first)); foreach $Config1 (@Config1) { ($oid1, $Config1) = split(':', $Config1, 2); # print "$oid1 = $Config1\n"; @Config2 = (&snmpwalk("[EMAIL PROTECTED]", $second)); foreach $Config2 (@Config2) { ($oid2, $Config2) = split(':', $Config2, 2); # print "$oid2 = $Config2\n"; if ($oid1 == $Config2) { print "$Config1 = $oid2\n"; } } } } Cassie Bezuidenhout * +27 11 256-0531 * +27 83 677 0767 * [EMAIL PROTECTED] -- Attached file removed by Ecartis and put at URL below -- -- Type: image/jpeg -- Size: 3k (4088 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/11-image001.jpg -- Attached file removed by Ecartis and put at URL below -- -- Type: image/jpeg -- Size: 2k (3024 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/02-image002.jpg -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Problem with -U / --unit option
The problem is simple - I can't get it to work :-) Here is my simple test case: rrdtool graph '/tmp/test.png' --unit Gb -a PNG \ DEF:total=rrd/df.rrd:total__dev_ad0s1d:AVERAGE \ AREA:total#00cc00:total Here is the result: http://hawkins.id.au/~justin/test.png I'm trying to express disk space in gigabytes. Yes, I know I need to use -X as well, but the above is my simplest test case. As you can see from the graph, it does not change the y axis unit at all. Am I missing something here? The man page suggests nothing except that it is 'wise to use only short units'. I've tried with a single character, to no avail. rrdtool-1.0.45, FreeBSD 5.1 - Justin -- Justin Hawkins | [EMAIL PROTECTED] | http://hawkins.id.au -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Out of Office AutoReply: Re: graph question
I will be on holiday from Friday 19 December and will be returning on Wednesday 24th December. If you have any urgent queries please feel free to contact the GMOC on +1-866-377-7223 if calling from within the US, or +1-800-224-4275 for international callers. Alternatively, you may contact my mobile phone. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: graph question
On Thu, Dec 18, 2003 at 11:25:52AM -0500, Fauteux, Joe wrote: > Im graphing "modems in use" on our 3 Cisco AS5300's - when the graph gets= > created the 1st value is some outrageous number followed by an "m" - as in= > "980 m" - the other two vlaues are ok - I'm guessing this may have somethi= > ng to do with a zero value returned but im not sure - any ideas? 980 m equals 0.98 ... That's not outrageous, that's near to 1. You're probably updating somewhere near, but not exactly on, a multiple of the step size. All time stamps in RRDtool will be converted to a whole multiple of the step size. Search for "normalizing". HTH Alex -- http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1 This message was produced without any mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi