Hello,
I am trying to create graphs via rrdcgi and I get 500 error, I can
create the graphs via rrdtool graph, but I want them run in real-time
(when user refreshes the page):
CODE:
#!/usr/bin/rrdcgi
<HTML>
<HEAD><TITLE>RRDCGI Demo</TITLE></HEAD>
<BODY>
<H1>RRDCGI Example Page</H1>
<P>
<RRD::GRAPH TWO_HOUR.png --title="HWEBP01"
DEF:GCb=/opt/RRD_REPO/hwebp01_site02_gc_before.rrd:GC:AVERAGE
AREA:GCb#0000FF:"HEAP Before (MB)">
</P>
</BODY>
</HTML>
ERROR_log:
(8)Exec format error: exec of '/opt/RRD_REPO/cgi-bin/two_hour.cgi' failed
Premature end of script headers: two_hour.cgi
--
Thanks,
Ed Donahue III
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users