# # Map drawing script file # # Command : server { ... } # Description : Specifies a server to connect, fetch statistics, draw the # server on map and to show its status on the map. See the # example server command below for all parameters of this # command. # # Command : loadmap { filename = ; }; # Example : loadmap { filename = "world_map.ppm"; }; # Description : Load the source bitmap image file to be used as the map # # Command : writemap { filename = ; }; # Example : writemap { filename = "map.ppm"; }; # Description : Write the target bitmap image file # # Command : writemaphtml { filename = ; image = ; # cut_lat = ; cut_lon = ; }; # Example : writemaphtml { filename = "htmlmap.map"; image = "map.jpg"; }; # Description : Write the gathered information as as HTML map page. This # allows the user to click the specified points of URLs. # The html_url parameter in server will specify the # URL that will be used in the HTML map. If omitted the # filename created by writehml command is used. The # and are specified if the is a portion of # the original map image. In this case the lat and lon specify # which portion it is. # # Command : writehtml { filename = ; class = ; }; # Example : writehtml { filename = "index.html"; }; # Description : Write the gathered information as HTML pages. Every server # command will have their own HTML file. The filename is # based on the hostname of the server. The index HTML file # will include list of the servers. The generated HTML files # are quite raw and are intended to be embedded into user's # own website. If is defined it is used as the # CSS class in the created HTML page. # # Command : writerel { filename = ; class = }; # Example : writerel { filename = "reliability.html"; }; # Description : Writes a reliability graph of the servers. When SILC Map # is run several times the uptime statistics of the servers # that measure the reliability of the servers are drawn into # the reliability graph. The uptime statistics will be # saved into corresponding server filename. If # is defined it is used as the CSS class in the created HTML # file. # # Command : cut { lat = ; lon = ; width = ; # height = ; filename = ; }; # Example : cut { lat = "20"; lon = "5"; width = "1000"; height = "700"; # filename = "map_chunk.ppm"; }; # Description : Cuts a chunk from the source image at specified location. # The chunk will be * pixels in size. The # is the output bitmap file where the chunk is saved. # # Command : rectangle { lat = ; lon = ; color = ; # label =