[rrd-developers] - rrdcgi

Romero, Marcio - (Bra) marcio.romero at attla.com
Mon Sep 1 15:48:02 MEST 2003


Hi All,
I have a problem with rrdtool, see below, please:
The problem is : [ERROR: bad format for [G]PRINT in 'cpu']

My source is below:
#!/usr/local/rrdtool-1.0.45/bin/rrdcgi
<html><head>
<META HTTP-EQUIV=Refresh CONTENT=300 >
<META HTTP-EQUIV=Pragma CONTENT=no-cache >
<title>200.173.120.10 CPU load</title>
</head>
<body>
<RRD::GRAPH 200.173.120.10.cpu.day.png --lazy --title="200.173.120.10 CPU --
1da
y\n"
--imgformat PNG
--vertical-label "%"
--width 400 --height 100
--lower-limit 0
DEF:cpu=/usr/local/apache/htdocs/rrd/200.173.120.10.rrd:cpu:AVERAGE
GPRINT:cpu:LAST\\:"      Current  Average  Peak"
AREA:cpu#00CF00:"CPU load"
GPRINT:cpu:LAST\\:"%3.0lf%%"
GPRINT:cpu:AVERAGE\\:"  %3.0lf%%"
GPRINT:cpu:MAX\\:"  %3.0lf%%\n"





Best regards,

Marcio Romero





Aviso Legal 
Esta mensagem eletrônica pode conter informações privilegiadas e/ou
confidenciais, portanto, fica o seu receptor notificado de que qualquer
disseminação, distribuição ou cópia não autorizada é estritamente proibida.
Se você entende que recebeu esta mensagem indevidamente ou por engano, por
favor, informe este fato ao remetente e apague-a de seu computador. 

Disclaimer 
This e-mail message may contain legally privileged and/or confidential
information, therefore, the recipient is hereby notified that any
dissemination, distribution or copying not authorized is strictly
prohibited. If you understand that has improperly received this e-mail
message or has received it in error, please immediately notify the sender
and delete it from your computer.

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list