jablonka.czprosek.czf

weathermap

Subversion Repositories:
[/] [docs/] [pages/] [changes.html] - Blame information for rev 73

 

Line No. Rev Author Line
11simandlG<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 
4<html lang="en" xml:lang="en">
5<head>
6 <link rel="stylesheet" type="text/css" media="screen" href="weathermap.css" />
7 <meta name="generator" content=
8 "HTML Tidy for Mac OS X (vers 12 April 2006), see www.w3.org" />
9 
10 <title>PHP Weathermap
11v0.91
12 - Changes For This Version</title>
13<style type="text/css" media="print">
14/*<![CDATA[*/
15body { font-size: 12pt; }
16a { color: black; text-decoration: underline; font-weight: normal;}
17/*]]>*/
18</style>
19 
20</head>
21 
22<body>
23 <div id="frame">
24 
25 
26<div class="navcontainer">
27 <ul id="navlist">
28 <li><a href="main.html">Main Page</a></li>
29 <li><a href="main.html#installation">Installation</a></li>
30 <li><a href="main.html#basics">Basics</a></li>
31 <li><a href="faq.html">FAQ and Tips</a></li>
32 <li><a href="main.html#example">Sample Map</a></li>
33 <li><a href="cli-reference.html">CLI Reference</a></li>
34 <li><a href="config-reference.html">Config Reference</a></li>
35 <li><a href="advanced.html">Advanced Topics</a></li>
36 <li><a href="editor.html">Editor</a></li>
37 <li><a href="cacti-plugin.html">Cacti Plugin</a></li>
38 <li><a href="http://www.network-weathermap.com/">Site</a></li>
39 </ul>
40</div>
41 
42<div id="header">
43 <h1>PHP Weathermap
44v0.91
45</h1>
46 <h4>Copyright &copy; 2005-2007 Howard Jones, <tt><a
47href="mailto:howie@thingy.com">howie@thingy.com</a></tt>. (<a
48href="http://www.network-weathermap.com/">Website</a>)</h4>
49</div>
50 
51 
52 <h2><a name="changes091">Changes For This Version (0.9 to 0.91)</a></h2>
53 
54 <p>After all the big changes (below for 0.9), there are a whole bunch of bugs that no-one spotted in the testing, so this release is
55 mostly a clean-up of those. There are a couple of small changes for new features, and a bit more diagnostic stuff for installation problems.</p>
56 
57 <h3>New Features</h3>
58<ul>
59<li>'Quiet Mode' Logging - in the Cacti plugin, there is a new setting to make Weathermap log <em>only</em> errors in the standard 'LOW' logging setting.<li>
60<li>Subtractive Aggregation - if one of the clauses in a <a href="config-reference.html#LINK_TARGET">TARGET</a> line begins with a '-', then that value is subtracted from the result instead of added. This can be useful to calculate a value that couldn't be measured directly. For example, Netscreen firewalls don't give per-policy bandwidth stats, so to find out how much traffic is going to the internet, and how much to a VPN, you can start with the total interface traffic, and take out the VPN traffic (which you can measure), to leave the Internet traffic.</li>
61<li>There is a new <em>check.php</em> script, that verifies some basic requirements of your PHP installation. It's mainly useful during installation, so it's described in the installation instructions.</li>
62<li>A couple of additional variables are available in the 'special string tokens' - 'inscalekey' and 'outscalekey' store the internal names of the <a href="config-reference.html#GLOBAL_SCALE">SCALE</a> line that was triggered for the 'in' and 'out' values of a map object. You can use this to do some things like changing icons based on a value, without needing to write a plugin yourself. It's pretty obscure, but could be handy.</li>
63</ul>
64 
65 <h3>Fixes</h3>
66<ul>
67<li>RRD bug with '-' DS names. This was fixed in 0.9pre3, but somehow slipped through.<li>
68<li>ReadConfig doesn't complain about <a href="config-reference.html#GLOBAL_KEYPOS">KEYPOS</a> DEFAULT -1 -1 (as written by WriteConfig) anymore</li>
69<li>The MRTG plugin made some assumptions that broke handling of MRTG html files on remote systems. It doesn't now.</li>
70<li>NOTES was not fully tested, and broke cactihost: targets, at least.</li>
71<li>KILO was broken - fixed now.</li>
72</ul>
73 
74 <h2><a name="changes09">Changes For This Version (0.82 to 0.9)</a></h2>
75 
76<p>I've divided the changes up into chunks. Most of the serious work was done in the <a href="#structural">Structural Changes</a> section, but there are plenty of things for everyone. These are brief descriptions - see the Config Reference for the full detail. I've mentioned the appropriate configuration keywords if there are any.</p>
77 
78<h3><a name="graphical">Graphical Changes</a></h3>
79<p>These tend to be smaller things, but together they make a lot of useful additions.</p>
80<h4>Link comments</h4>
81<p>You can add a comment string which runs down the side of link arrows. This is intended for use for circuit references, or interface names. There are 4 new directives to make this happen: <a href="config-reference.html#LINK_INCOMMENT">INCOMMENT,</a> <a href="config-reference.html#LINK_OUTCOMMENT">OUTCOMMENT,</a> <a href="config-reference.html#LINK_COMMENTFONT">COMMENTFONT</a> and COMMENTFONTCOLOR. You <em>must</em> use a TrueType <a href="config-reference.html#LINK_COMMENTFONT">COMMENTFONT</a> to use this feature, as none of the other font types allow for rotation of text.</p>
82<h4>Bandwidth Label Positioning</h4>
83<p>You can now move the bandwidth labels (those little boxes) up and down the link arrow. You set a percentage position with BWLABELPOS.</p>
84<h4>Pixel-Offsets</h4>
85<p>You can make links end at arbitrary positions relative to a node now. Previously you could use compass-points, now you can also use pixels for the offsets in a <a href="config-reference.html#LINK_NODES">NODES</a> line</p>
86<h4>JPEG & GIF Support</h4>
87<p>If your GD library supports it, then Weathermap now understands JPEG and GIF files for <a href="config-reference.html#GLOBAL_BACKGROUND">BACKGROUND,</a> <a href="config-reference.html#NODE_ICON">ICON</a> and IMAGEOUTPUTFILE.</p>
88<h4>NOTES &amp; OVERLIBCAPTION</h4>
89<p>You can specify a caption string for the 'popup' overlib window now, per-node/link. You can <em>also</em> have HTML-formatted text in that window, with or without the graph. See <a href="config-reference.html#LINK_NOTES">NOTES</a> and OVERLIBCAPTION.</p>
90<h4>New Legend Styles</h4>
91<p>The new <a href="config-reference.html#GLOBAL_KEYSTYLE">KEYSTYLE</a> directive allows you to choose between 'classic' and two new styles of Legend. The new styles are neater for showing gradient scales, or when you have a <em>lot</em> of different bands.</p>
92<h4>Relative Positioning</h4>
93<p>You can position a node relative to another node. This is handy for maintaining big rows of nodes, where only one needs to be fixed in position now.<p>
94<p>Use it with String Tokens to make captions for your nodes, with additional information.</p>
95 
96<h3><a name="structural">Structural Changes</a></h3>
97<p>The internal structure of Weathermap has changed quite a lot in this version. It started as a few small changes, but each one showed that another was required.</p>
98 
99<h4>Datasource Plugins</h4>
100<p>All the data-reading parts of Weathermap are now in plugins. This is to allow users to add their own external data sources more easily, without having to change the Weathermap code. All the previous <a href="config-reference.html#LINK_TARGET">TARGET</a> strings will work as before, and I've added a few new ones for 0.9:
101<ul>
102<li><strong>static</strong> - if you need to fix a data value, you can do it without an external text file.</li>
103<li><strong>cactihost</strong> - read the up/down status of a host in Cacti</li>
104<li><strong>gauge</strong> - Read RRD values without any special treatment.</li>
105</ul>
106The RRD plugin also has some improvements in dealing with error conditions in this release.
107</p>
108<p>There are planned plugins for Cacti (reading directly from the Cact database), Nagios Host Status, SNMP directly and others.</p>
109 
110<h4>NODE Targets</h4>
111<p>NODEs can have data now. This means you can have them change colour according to a <a href="config-reference.html#GLOBAL_SCALE">SCALE,</a> just like a <a href="config-reference.html#LINK_LINK">LINK</a> does. Since a <a href="config-reference.html#NODE_NODE">NODE</a> only has one value, you can
112choose which one to use (of the two that a <a href="config-reference.html#LINK_TARGET">TARGET</a> provides), with USEVALUE.</p>
113 
114<h4>Multiple SCALEs</h4>
115<p>Because you probably don't want your nodes to change colour with the same values as your links, you can now have multiple <a href="config-reference.html#GLOBAL_SCALE">SCALE</a> sets too. The default one is DEFAULT, but you can define others and use them with <a href="config-reference.html#LINK_USESCALE">USESCALE</a> in a <a href="config-reference.html#NODE_NODE">NODE</a> or <a href="config-reference.html#LINK_LINK">LINK</a> section.</p>
116 
117<h4>String Tokens</h4>
118<p>You can embed information from Weathermap, and from your own data, in almost any string in Weathermap. This allows you to do things like:<ul>
119<li>Show percentage CPU usage in a node LABEL</li>
120<li>Change which <a href="config-reference.html#NODE_ICON">ICON</a> is used depending on a datasource value</li>
121<li>Add extra "sub-NODEs" around a <a href="config-reference.html#NODE_NODE">NODE,</a> with addional information</li>
122<li>Use generic <a href="config-reference.html#LINK_TARGET">TARGET,</a> <a href="config-reference.html#LINK_INFOURL">INFOURL,</a> <a href="config-reference.html#LINK_OVERLIBGRAPH">OVERLIBGRAPH</a> lines in the DEFAULT link and node</li>
123</ul></p>
124 
125<h4>Arbitrary Parameters</h4>
126<p>The new <a href="config-reference.html#GLOBAL_SET">SET</a> directive lets you define new 'variables' per-NODE, per-LINK or for the whole map. These can be used to give fine-tuning parameters to the data source plugins, and also as additional data in String Tokens.</p>
127 
128<h3><a name="cacti">>Cacti Plugin</a></h3>
129<p>Most of the Cacti Plugin changes are bugfixes or for more advanced users.</p>
130 
131<h4>Non-Standard Poller Cycle Times</h4>
132<p>If you are using the "&lt;5 minute poller" patch from TheWitness, then you may not want the time-consuming Weathermap process to run every poller cycle. There is now an option to choose how often Weathermap redraws it's maps, including 'Never'.</p>
133 
134<h4>Async Map Generation</h4>
135<p>If you choose 'Never' above, then you need some way to redraw. The new <tt>weathermap-cacti-rebuild.php</tt> script allows you to run a separate cron job for Weathermap, but in the environment it would have inside the poller process.</p>
136 
137<h4>Recalculate Now</h4>
138<p>If you have your permissions set up correctly, then you can force the redraw of all maps from within the Cacti UI, instead of waiting for a poller cycle.</p>
139 
140<h3><a name="editor">Editor</a></h3>
141<p>There are no new features in the Editor for 0.9, although a few annoying bugs have been squashed. I have big plans for the editor, but they are a whole project by themselves, so I've put it to one side. Otherwise 0.9 would never have appeared :-) Now this version is released, the Editor is one the main focus areas for the next release. </p>
142 
143<h3><a name="bugs">Bugfixes</a></h3>
144<p>There were a lot of bugs fixed along the way. Most were new ones, but a few are things that existed in 0.82 too:
145<ul>
146<li>Wierd bug in HTML_ImageMap if you have a lot of similarly-named NODEs or LINKs.</li>
147<li>Floating-point limits in SCALEs work correctly now. Also, you can specify a 0-0 <a href="config-reference.html#GLOBAL_SCALE">SCALE</a> line and it will always take precedence.</li>
148<li>Cacti plugin doesn't assume 'admin' user always exists, and that users are never deleted.</li>
149<li>Cacti plugin's Cycle mode works in IE now.</li>
150<li>KILO was ignored in some places.</li>
151<li>Editor will let you rename nodes now!</li>
152<li>Editor deals properly with ' in node labels</li>
153<li>Editor deals properly with pathnames containing '\' on Windows.</li>
154<li>Editor lets you pick JPG and GIF images too, since we now support them</li>
155<li>Close-together nodes don't crash the curve-drawing anymore</li>
156</ul>
157</p>
158 
159 
160 </div>
161</body>
162</html>

Powered by WebSVN 2.2.1