Re: [rrd-users] irssi script
Hey, On Wed, Apr 02, 2008 at 01:17:30PM -0400, R Dicaire wrote: Hi folks, after checking the irssi script archive, and google, I've failed to find an irssi script that utilizes rrdtools perl mod/API for logging. I'd like to log irc channel user counts, and perhaps various other data. There is a plugin for the eggdrop bot, maybe that helps you ;-) Greets --aleex -- ### # Alexander Krogloth # # [EMAIL PROTECTED]# # http://krogloth.de/ # # GnuPG: 0xE7F92525 # # Fingerprint: 0A1D 2C2D 62DD DBE7 0B33 5F34 77D1 DF35 E7F9 2525 # ### signature.asc Description: Digital signature ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Re: [rrd-users] RRD Graphs on the fly?
Hey, 2) Create on-the-fly graphs from this data for the user on-the-fly graphs are possible with cgi, i've got an example with bash, you could translate that to perl and it should work ... (excuse my english): --- #!/bin/sh . /data/rrd/etc/graph.conf RRD=$RRDDIR/hddtemp.rrd echo Content-Type: image/png; echo ; # time starttime $1 # graph $RRDTOOL graph - \ -t HDD Temperatures -v ° Celsius \ --start=$TIME \ --end=now \ --height=$HEIGHT \ --width=$WIDTH \ -c $BACK \ -c $SHADEA \ -c $SHADEB \ -c $FONT \ -c $CANVAS \ -c $GRID \ -c $MGRID \ -c $FRAME \ -c $ARROW \ DEF:a=$RRD:disk0:AVERAGE \ DEF:b=$RRD:disk1:AVERAGE \ LINE1:a#dd:disk0 \ GPRINT:a:LAST:Last\: %5.0lf °C \ GPRINT:a:MIN:Min\: %5.0lf °C \ GPRINT:a:MAX:Max\: %5.0lf °C \ GPRINT:a:AVERAGE:Avg\: %5.0lf °C\l \ LINE1:b#DC143C:disk1 \ GPRINT:b:LAST:Last\: %5.0lf °C \ GPRINT:b:MIN:Min\: %5.0lf °C \ GPRINT:b:MAX:Max\: %5.0lf °C \ GPRINT:b:AVERAGE:Avg\: %5.0lf °C\l -- i hope i helped you - otherwise send me an email or join #rrdtool on IRCnet (krogloth.de/rrd/channel for help) greets --aleex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://www.krogloth.de x xx signature.asc Description: Digital signature ___ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
[rrd-users] problem with 1.2.16
hi, yesterday i updated to 1.2.16 (last version was 1.2.15) - following script doesn't work with the new version: #!/bin/sh . /data/rrd/etc/graph.conf #FILE=$RRDDIR/temp.rrd echo Content-Type: image/png; echo ; # time starttime $1 # graph $RRDTOOL graph - \ -t Temp -v °C \ --start=$TIME \ --end=now \ --height=$HEIGHT \ --width=$WIDTH \ -c $BACK \ -c $SHADEA \ -c $SHADEB \ -c $FONT \ -c $CANVAS \ -c $GRID \ -c $MGRID \ -c $FRAME \ -c $ARROW \ DEF:sda=$RRDDIR/hddtemp-8-0.rrd:value:AVERAGE \ DEF:sdb=$RRDDIR/hddtemp-8-16.rrd:value:AVERAGE \ LINE1:sda#80:sda \ GPRINT:sda:LAST:Last\: %2.0lf °C \ GPRINT:sda:MAX: Max\: %2.0lf °C \ GPRINT:sda:MIN: Min\: %2.0lf °C \ GPRINT:sda:AVERAGE: Avg\: %2.0lf °C\n \ LINE1:sdb#00FF00:sdb \ GPRINT:sdb:LAST:Last\: %2.0lf °C \ GPRINT:sdb:MAX: Max\: %2.0lf °C \ GPRINT:sdb:MIN: Min\: %2.0lf °C \ GPRINT:sdb:AVERAGE: Avg\: %2.0lf °C --- the error is: --- Content-Type: image/png ERROR: Unknown control code at the end of ' Avg: 24 °C\n' -- any ideas why my script doesn't work with 1.2.16 - it worked with 1.2.15 i have a couple of scripts that doesn't work with the new version thanks for any suggestions greets --aleex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://www.krogloth.de x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/18-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: problem with 1.2.16
hi, Try to update to 1.2.17. thanks, i haven't read the mail with the new version greets --aleex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://www.krogloth.de x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/19-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: RRDGraph command with arrays?
hi yeah it should work with loops ... maybe you could make a loop for the time, too - for i in temperature.rrd:temp humidity.rrd:ds0 bla.rrd:bla0 bli.rrd:ds1; - should look like this: for i in temperature.rrd:temp humidity.rrd:ds0 bla.rrd:bla0 bli.rrd:ds1; do rrdtool graph DEF:Outside=/etc/weatgerstation/rrddb/$i:AVERAGE done; - do cmd=$cmd DEF:Outside=/etc/weatherstation/rrddb/$i.rrd:temp:AVERAGE; done; echo $cmd --aleex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://www.krogloth.de x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/43FABA2E98-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: RRD Error: Garbage ':46:00 AM\r' after command: COMMENT:11/18/2005 7:46:00 AM\r
hi Hi all, using RRD Tool and Routers 2 to display my graphs. I get the following error RRD Error: Garbage ':46:00 AM\r' after command: COMMENT:11/18/2005 7:46:00 AM\r on all of my targets. I searched the WEB and have not found anything, has anyone seen this before? maybe you need to escape the '/'s regards alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://www.krogloth.de x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/437DD4B910061-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] wrong values in the graph
hey i'm counting the users who were logged in http://muh.cc/cgi-bin/graph?users but the graph looks like 5,9 insted of 6 (6,9 insted of 7, ...) how to get that away?? --alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://alex.muh.cc/ x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/42B9C69726818-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] rrdtool 1.2.10 under debian (woody)
hello, i tried to compile rrdtool 1.2.10 under debian (woody) today. i compiled all the libaries how it is described in doc/rrdbuilt.txt but make gaves the following error: - rrd_gfx.c: In function `gfx_string_create': rrd_gfx.c:455: `FT_LOAD_TARGET_NORMAL' undeclared (first use in this function) rrd_gfx.c:455: (Each undeclared identifier is reported only once rrd_gfx.c:455: for each function it appears in.) rrd_gfx.c:456: `FT_LOAD_TARGET_LIGHT' undeclared (first use in this function) rrd_gfx.c:457: `FT_LOAD_TARGET_MONO' undeclared (first use in this function) rrd_gfx.c:492: `FT_RENDER_MODE_NORMAL' undeclared (first use in this function) rrd_gfx.c:493: `FT_RENDER_MODE_LIGHT' undeclared (first use in this function) rrd_gfx.c:494: `FT_RENDER_MODE_MONO' undeclared (first use in this function) rrd_gfx.c: In function `gfx_render_png': rrd_gfx.c:682: `FT_PIXEL_MODE_GRAY' undeclared (first use in this function) rrd_gfx.c:702: `FT_PIXEL_MODE_MONO' undeclared (first use in this function) rrd_gfx.c:683: warning: unreachable code at beginning of switch statement make[2]: *** [rrd_gfx.lo] Error 1 make[2]: Leaving directory `/data/home/alex/rrdbuild/rrdtool-1.2.10/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/home/alex/rrdbuild/rrdtool-1.2.10' make: *** [all] Error 2 - how can i get it to run?? --alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://alex.muh.cc/ x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/42B5923B3683-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: rrdtool 1.2.10 under debian (woody) -- solved
hey i tried to compile rrdtool 1.2.10 under debian (woody) today. i compiled all the libaries how it is described in doc/rrdbuilt.txt but make gaves the following error: sorry my fault - i set the libs dir to l insted of lb ... so it works great ... --alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://alex.muh.cc/ x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/42B5D27F6275-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: rrdtool 1.2.9
hey rrdtool 1.2.9 is out on http://people.ee.ethz.ch/oetiker/webtools/rrdtool/pub any idee why rrdtool 1.2.x cannot be compiled under debian stable? with unstable/testing it works very well ... --alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://alex.muh.cc/ x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/4298771110526-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] rrdtool debian
hi i get the following error when trying to make the rrdtool (1.2.1 aswell as 1.2.2) on a debian stable computer. -- rrd_gfx.c: In function `gfx_get_text_width_libart': rrd_gfx.c:291: warning: unused parameter `start' rrd_gfx.c: In function `gfx_string_create': rrd_gfx.c:433: `FT_LOAD_TARGET_NORMAL' undeclared (first use in this function) rrd_gfx.c:433: (Each undeclared identifier is reported only once rrd_gfx.c:433: for each function it appears in.) rrd_gfx.c:434: `FT_LOAD_TARGET_LIGHT' undeclared (first use in this function) rrd_gfx.c:435: `FT_LOAD_TARGET_MONO' undeclared (first use in this function) rrd_gfx.c:470: `FT_RENDER_MODE_NORMAL' undeclared (first use in this function) rrd_gfx.c:471: `FT_RENDER_MODE_LIGHT' undeclared (first use in this function) rrd_gfx.c:472: `FT_RENDER_MODE_MONO' undeclared (first use in this function) rrd_gfx.c: In function `gfx_render_png': rrd_gfx.c:662: `FT_PIXEL_MODE_GRAY' undeclared (first use in this function) rrd_gfx.c:682: `FT_PIXEL_MODE_MONO' undeclared (first use in this function) rrd_gfx.c:663: warning: unreachable code at beginning of switch statement rrd_gfx.c: In function `gfx_render_pdf': rrd_gfx.c:2218: warning: unused parameter `background' make[2]: *** [rrd_gfx.lo] Error 1 make[2]: Leaving directory `/root/rrdtool-1.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/rrdtool-1.2.2' make: *** [all] Error 2 when i do it on a unstable computer - it works well on both computers are the same libs installed. any idea? --alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://alex.muh.cc/ x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 233 bytes -- URL : http://lists.ee.ethz.ch/p/427D118F28350-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] color tones
hello, i want to know how to make rrdgraphs with these good-looking color tones -- http://people.ee.ethz.ch/~oetiker/webtools/rrdtool-1.0.x/gallery/beaumont-01.html i don't know how to set up the graph that there isn't a line where the color changes from red to yellow but the change the color slowly thx for help --alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://alex.muh.cc/ x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 233 bytes -- URL : http://lists.ee.ethz.ch/p/427B853A2791-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: color tones
mahlzeit maybe this will help you as a start. ok thx i try to translate that in bash :-) --alex -- xx x Alexander Krogloth / [EMAIL PROTECTED] / http://alex.muh.cc/ x xx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 233 bytes -- URL : http://lists.ee.ethz.ch/p/427B8C5B14071-signature.asc -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi