Using rrdcgi
Eugene Prokopiev <[email protected]>
| Newsgroups | gmane.comp.db.rrdtool.user |
|---|---|
| Message-ID | <CANM4RujQ9WebXsAbaEs030QA30A5fofdpKn-s672-u+cs8kzhQ@mail.gmail.com> |
Hi, What is the right way to use rrdcgi? I have this example.cgi: #!/usr/bin/rrdcgi <html> <head><title>RRDCGI Demo</title></head> <body> <RRD::GRAPH packets.png --lazy --title="Packets" DEF:cel=packets.rrd:rx:AVERAGE> </body> </html> I have packets.rrd in the same directory. The result is: $ curl http://localhost:5000/example.cgi <html> <head><title>RRDCGI Demo</title></head> <body> <IMG SRC="./packets.png" WIDTH="0" HEIGHT="0"> </body> </html> But I have no file packets.png in the same directory after running example.cgi. How it must be created? -- WBR, Eugene Prokopiev