...
Code Block |
---|
my $imgsrc="$HOME/pinger_smokeping/html/GraphCache where $HOME is my home directory where the project is placed. |
SaveImage.cgi
* *I have written saveimage.cgi which is called from graph.cgi and it prints the image data to the browser. The image is created temporarily and is deleted after it is show to the user.
The image is created in /tmp/ directory
Form.cgi
Displays the SourceSite_DestinationSite_PacketsSize_NumberOfPings(maximum) RRDs(data) available for the monitoring site or node slected from pingtable.pl by user.
...
- I changed the mainpath to point to the srcdest.txt file:
Code Block my $mainpath="$HOME/pinger_smokeping/SRCDEST_FILE/srcdest.txt";
where $HOME is my is home directory where the project is placed.
...