分类: LINUX
2005-07-14 21:10:42
The program is written in Perl programming language. It is using the GD perl module for opening, manipulating and writing image files. The GD module requires the Gd Graphics Library (libgd). The Gd Graphics Library requires several libraries like freetype, libjpeg, libpng and libz.
The current version of the network weathermap does not do any SNMP data acquisition but relies on MRTG for that task since MRTG does it in a simple and effective way. MRTG stores the values of the last SNMP query as HTML comments within the HTML file that creates for each network link:
The network weathermap retrieves the HTML files directly from the file system or remotely from a specified web server using GNU wget, parses them and uses the current in and out values (cuin d and cuout d values) to generate the map.