Hi All,<br><br>I am using below rrdcgi script to display my graphs on webpage. It works fine when i pass the name=value pairs with my server name i.e. "<a href="http://www.server.com/cgi-bin/rrdcgi.cgi?host=A1">http://www.server.com/cgi-bin/rrdcgi.cgi?host=A1</a>".<br>
<br>But when i try to execute this from command line it is not readting the name=value paris. i.e. "$./rrdcgi.cgi host=A1"<br><br>Code:<br>==============================<br>#!/usr/bin/rrdcgi<br><html><br><head><br>
<title>Graphs</title><br></head><br><body><br><RRD::INCLUDE rrd.config><br><RRD::GRAPH<br> <RRD::GETVAR PATH>/img/<RRD::CV host>.png<br> --title="Load For <RRD::CV host>"<br>
-w 1048 -h 266<br> --end=midnight<br> --start=end-1d<br> --imginfo '<IMG SRC=<RRD::GETVAR PATH>/rrdimg/%s WIDTH=%lu HEIGHT=%lu >'<br> DEF:l=<RRD::GETVAR PATH>/host_<RRD::CV host>.rrd:load:AVERAGE<br>
LINE2:l#0000ff:Load<br>><br>========================================<br>Please suggest what I am doing wrong.<br><br><br>