Re: Issue with using use-gprint option. {Spam?}

"Marc Powell" <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>

> -----Original Message-----
> From: [email protected]
[mailto:cricket-users-
> [email protected]] On Behalf Of Kailasanathan, Vijaya
Sankar
> (Cognizant)
> Sent: Friday, November 17, 2006 2:57 AM
> To: [email protected]
> Subject: Re: [cricket-users] Issue with using use-gprint option.
{Spam?}
> 
> 
> Hi
> 
> Upon further debug I came to know that the timestamp which is getting
> printed as "last updated at" in the graph is causing this error.
> 
> These are the debug logs captured in the http error_log which pointed
> out me this issue ..
> 
> 
> 
> Unable to create graph: Garbage ':10:02 2006"' after command:,
referer:
>
http://10.237.2.50/cricket/grapher.cgi?target=%2FMpls-Links%2F10.70.12.2
> 32_fastethernet2_0;view=Octets
> 
> The Garbage value reported was actually the last updated time stamp
> which is getting printed in the graph.
> 
> Im not sure whether the colon character in the date timestamp is
causing
> this error. Hence I just used a transliteration operation on the
> variable which holds the last updated timestamp and converted the ":"
to
> "-". Now im properly getting the graph generated with GPRINT
statements
> embedded in the graph.

Rrdtool 1.2 changelog --

Incompatibilities
-----------------
* Colons in COMMENT arguments to rrdtool graph must be escaped with a
backslash

http://oss.oetiker.ch/rrdtool/newin12.txt

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.