[rrd-users] Using RRDs

This is a discussion on [rrd-users] Using RRDs within the RRD Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1682035592== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2007
Glenn MacGregor
 
Posts: n/a
Default [rrd-users] Using RRDs

This is a multi-part message in MIME format.

--===============1682035592==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C7D073.2363A9CE"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C7D073.2363A9CE
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All,
=20
I am using the RRDs Perl module, but I am having problems using the \g
option in the COMMENT to get a newline.
=20
my $args =3D [
"test.png",
"--title",
"Test Title",
"--end",
"now",
"--start",
"now-1d",
"DEF:param0:test.rrd:param0:AVERAGE",
"LINE1:param0#009900:Test"
"COMMENT:\\g",
"COMMENT:Next"
];
=20
=20
RRDs::graph(@$args);
=20
The graph is produced, but the new line is not in the graph footer, I
have tried \\\\g as well, that failed too. How do I correctly pass that
comment through to the rrggraph function?
=20
Thanks
=20
Glenn

------_=_NextPart_001_01C7D073.2363A9CE
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16481" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>Hi=20
All,</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>I am =
using the RRDs=20
Perl module, but I am having problems using the \g option in the COMMENT =
to get=20
a newline.</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>my =
$args =3D=20
[</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"test.png",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"--title",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =
"Test=20
Title",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"--end",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007>&nbsp;&nbsp;<FONT face=3DArial=20
size=3D2>"now",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"--start",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007>&nbsp;&nbsp;<FONT face=3DArial=20
size=3D2>"now-1d",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"DEF:param0:test.rrd:param0:AVERAGE",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"LINE1:param0#009900:Test"</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"COMMENT:\\g",</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>&nbsp; =

"COMMENT:Next"</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2>];</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2>RRDs::graph(@$args);</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial size=3D2>The =
graph is=20
produced, but the new line is not in the graph footer, I have tried =
<A>\\\\g</A>=20
as well, that failed too. How do I correctly pass that comment through =
to the=20
rrggraph function?</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D389424716-27072007><FONT face=3DArial=20
size=3D2>&nbsp;Glenn</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C7D073.2363A9CE--


--===============1682035592==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

--===============1682035592==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0