📄 weathermap 4rrd - network weathermap.htm
字号:
<P>You will have an archive called
weathermap4rrd-<EM>version</EM>.tgz (where version is the
release version of weathermap4rrd).<BR>To install program, you
have to untar the archive somewhere in your machine (for
example : /usr/local/weathermap4rrd). To do so, type :</P><PRE>$ cd /path_where_you_want_to_install<BR>$ tar xvzf weathermap4rrd-<EM>version</EM>.tgz </PRE>
<P>You will have the following files
:<BR>weathermap4rrd-<EM>version</EM>/CHANGELOG<BR>weathermap4rrd-<EM>version</EM>/INSTALL<BR>weathermap4rrd-<EM>version</EM>/LICENSE<BR>weathermap4rrd-<EM>version</EM>/README<BR>weathermap4rrd-<EM>version</EM>/weathermap
-- main program<BR>weathermap4rrd-<EM>version</EM>/icons --
icons
directory<BR>weathermap4rrd-<EM>version</EM>/weathermap.conf.example
-- example of configuration file </P>
<H4>PHP version</H4>
<P>First of all, WeatherMap4RRD requires that you previously
installed :</P>
<UL>
<LI>PHP with GD support (with PNG support)
<LI>rrdtool </LI></UL>
<P>You will have an archive called
weathermap4rrd-<STRONG>php</STRONG><EM>-version</EM>.tgz
(where version is the release version of
weathermap4rrd).<BR>To install program, you have to untar the
archive somewhere in your webserver docroot (for example :
/var/www/weathermap4rrd). To do so, type :</P><PRE>$ cd /path_to_docroot<BR>$ tar xvzf weathermap4rrd-<STRONG>php</STRONG>-<EM>version</EM>.tgz </PRE>
<P>You will have the following files
:<BR>weathermap4rrd-php-<EM>version</EM>/CHANGELOG<BR>weathermap4rrd-php-<EM>version</EM>/INSTALL<BR>weathermap4rrd-php-<EM>version</EM>/LICENSE<BR>weathermap4rrd-php-<EM>version</EM>/README<BR>weathermap4rrd-php-<EM>version</EM>/weathermap
-- main program<BR>weathermap4rrd-php-<EM>version</EM>/icons
-- icons
directory<BR>weathermap4rrd-php-<EM>version</EM>/weathermap.conf.example
-- example of configuration file
<BR>weathermap4rrd-php-<EM>version</EM>/index.php - PHP script
that will read RRDTool data and generated
graph<BR>weathermap4rrd-php-<EM>version</EM>/graphic.php - PHP
script that is used by index.php for graphic
elements<BR>weathermap4rrd-php-<EM>version</EM>/rrd.php - PHP
script that is used by index.php for read RRD values (I use
Cacti original php
scripts)<BR>weathermap4rrd-php-<EM>version</EM>/config_tool.php
- PHP script that is used by index.php for managing
configuration file
parameters<BR>weathermap4rrd-php-<EM>version</EM>/config.php -
PHP script that define default
parameters<BR>weathermap4rrd-php-<EM>version</EM>/icons -
directory with a few example of icons that may be used with
NODE directive. </P>
<H3><BR><A id=configuring name=configuring></A>Configuring
WeatherMap4RRD</H3>
<P>It is now time to configure weathermap.conf file (an
example is available in archive :
weathermap.conf.example).</P>
<P>First, duplicate the example file, type :</P><PRE>$ cp weathermap.conf.example weathermap.conf
</PRE>
<P>Second step, you will need to create your own
weathermap.conf configuration file. To do so, edit
weathermap.conf with your favorite editor. For example, with
vi editor, type ::</P><PRE>$ vi weathermap.conf</PRE>
<P>You will have to set at least NODEs and LINKs. For details
of directives available, please consult <A
href="http://weathermap4rrd.tropicalex.net/directives.php">Directives
WeatherMap4RRD</A> page. </P>
<P><STRONG>Important</STRONG> : <BR>If you use PHP version,
you may edit config.php file to set up "rrdtool" and
"weathermap4php" variables. <BR>rrdtool should be set up to
path where RRDTool is installed.<BR>weathermap4php should be
set up to path where you deploy the weathermap4rrd php
archive. </P>
<H3><BR><A name=running></A>Running WeatherMap4RRD </H3>
<H4>Perl version</H4>
<P>To run weathermap, you just need to type :</P><PRE>$ cd weathermap4rrd-version
$ ./weathermap </PRE>
<P>By default, a PNG picture called weathermap.png will be
generated in current directory. (see OUTPUTFILE directive to
modify destination) <BR><BR>You can scheduled weathermap4RRD
execution with creating an entry in your crontab. To do that,
type :</P><PRE>$ crontab -e </PRE><PRE>Add the line :
*/5 * * * * /path/to/weathermap > /dev/null 2>&1
</PRE>
<P>An example of configuration file can be found <A
href="http://weathermap4rrd.tropicalex.net/code/weathermap.conf"><STRONG>here</STRONG></A>.</P>
<H4><BR>PHP version</H4>
<P>To run weathermap, you have to call index.php script like
:<BR>http://127.0.0.1/weathermap4rrd-php-1.2/index.php</P>
<P>Of course, you have to replace the path show besides with
the path were you deployed weathermap4rrd.</P>
<P>An example of configuration file can be found <A
href="http://weathermap4rrd.tropicalex.net/code/weathermap.conf"><STRONG>here</STRONG></A>.
</P></TD></TR></TBODY></TABLE></TD>
<TD
style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: rgb(176,176,176) 1px dashed; PADDING-TOP: 5px; BACKGROUND-COLOR: #ffffcc"
vAlign=top scope=col width=300>
<P class=textParagraphHeading>Latest News </P>
<P><SPAN class=textNewsItem><STRONG>Thursday, April 20th, 2006 -
10:13 PM</STRONG><BR>Hi all weathermap users. Sorry, I'm not very
present this last time on forum and development have been freeze for
long weeks now. I'm still alive and I will try to release next
version as soon as possible. Alex</SPAN></P>
<P><SPAN class=textNewsItem><STRONG>Saturday, March 4th, 2006 -
10:43 PM</STRONG><BR>Sorry...you perphaps may encountered connection
problems to weathermap4rrd. Webserver's motherboard was crashed. A
new CUV4X is now in place and everything is working fine.</SPAN></P>
<P><SPAN class=textNewsItem><STRONG>Saturday, February 4th, 2006 -
2:47 PM</STRONG><BR><A
href="http://weathermap4rrd.tropicalex.net/download.php">Weathermap4rrd
editor 0.4beta</A> has been released ! Thanks to Rich that did most
of all changes. See <A
href="http://weathermap4rrd.tropicalex.net/changelog_editor.php">editor's
CHANGELOG</A> for details. A few minor bugs are already known in
this version but we decide to release it. Next release will probably
be done with Weathermap4rrd 2.0 that is the next major step of
development. Even if no specific date is defined, we will do our
best to release a first Release Candidate for midlle of march. All
comments about features or bugs are welcome. <A
href="http://weathermap4rrd.tropicalex.net/download.php">Download
editor</A></SPAN></P>
<P><SPAN class=textNewsItem><STRONG>Sunday, January 1st, 2006 - 3:47
PM</STRONG><BR>With best wishes for a happy New Year!<BR>You was
13326 to visit this website during year 2005 and about 4800 to
download weathermap4rrd tool.Thank you for your support !
<BR><BR>Richard and Alex</SPAN></P>
<P><SPAN class=textNewsItem><STRONG>Sunday, December 18th, 2005 -
3:01 PM</STRONG><BR>Dear weathermap users, <A
href="http://weathermap4rrd.tropicalex.net/download.php">1.2
final</A> is released ! Wahooo, it was so long. Just minor fixes has
been added. See <A
href="http://weathermap4rrd.tropicalex.net/changelog.php">changelog</A>
for details.<BR><BR>Find times to work on project is hard at the end
of this year. Richard worked a lot on editor and had improved it. A
new editor version should be released soon (hope before the end of
the year).<BR><BR>Development of weathermap4RRD V2 is still in
progress. Code rewrite is ended for graph generation and others
stuff. Our efforts will be now oriented to integrate editor
in.<BR><BR>Richard and I wish you a merry Christmas
!</SPAN></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -