[rrd-users] Re: trying to get perl version of imginfo to work.

Alex van den Bogaerdt alex at ergens.op.het.net
Sat Oct 26 16:58:05 MEST 2002


On Fri, Oct 25, 2002 at 05:44:32PM +0200, Garrett, Matt M SITI-ITDSEL314 wrote:
> 
> Folks
> 
> I am using standard perl not rrdcgi (Due to other perl processing work)
> 
> I just don't seem to be able to get the --imginfo command to work.

> "--imginfo" , '<IMG SRC="../rrdgraphs/images/$client.png" WIDTH="495"
> HEIGHT="172" ALT="CPU Overview" >',


According to the manual you have to use:

--imginfo '<IMG SRC=%s WIDTH=%lu HEIGHT=%lu >'

and you are using:

--imginfo '<IMG SRC="$client.png" WIDTH="495" HEIGHT="172">'

This is for rrdcgi.  It will generate HTML.  If you generate
the HTML yourself, there's no need to use imginfo.

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



More information about the rrd-users mailing list