jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-pre6/] [Documentation/] [changes.html] - Blame information for rev 32

 

Line No. Rev Author Line
11simandl<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2<HTML>
3<HEAD>
4<TITLE>HotSaNIC - version history</TITLE>
5</HEAD>
6 
7<BODY bgcolor="#FFFFFF">
8 
9<center>
10<img src="HotSaNIC-small.gif" width=307 height=107 alt="HotSaNIC"><br>
11HTML overview to System and Network Information Center<br>
12by Bernd Pissny ( <a href="mailto:hotsanic@bernisys.prima.de">hotsanic@bernisys.prima.de</a> / <a href="http://www.bernisys.prima.de">http://www.bernisys.prima.de</a> )<br>
13<br>
14<hr>
15<h2>HotSaNIC version history</h2>
16<table border=0 cellpadding=5 width=580>
17<tr><td valign=top><a name="v050">0.5.0 - (pre-released)</a><br>new features:<br>solaris support<br>more *BSD support<br>bugfixes<br>better HTML output<br>better logging output</td>
18 <td>
19 <h3>pre6</h3>
20 <font color="#ff0000">available via CVS and as snapshot on the project's homepage<br>
21 new changelog order since pre6: recent changes first!</font>
22 <ul type="disc">
23 <li>logging completely rewritten. Verbosity now much better configurable. (2004/07)
24 <li>TRAFFIC module now handles &quot;/&quot; characters in devicenames correctly (i.e. to monitor Cisco routers' interfaces)
25 <li>sampling will be throttled when last sample took too long. This avoids possible high load when consuming shell-commands are needed for sampling (for example the &quot;mailq&quot; command)
26 <li>samples will not be taken if last sampling was &lt;10s ago
27 <li>new module option "nodaemon" starts module in foreground for testing and debugging purposes
28 <li>HTML frames support: makeindex.pl generates additional page &quot;frame.html&quot; which embeds &quot;index.html&quot; and &quot;menu.html&quot; to improve navigation.
29 <li>better timestamped logging output you may select: no, classic (seconds) and human readbale timestamps
30 <li>basically configurable main page style (background/text/link colors and background-image)
31 <li>new module for NTP servers
32 <li>SNMP libraries will be imported directly by HotSaNICmod.pm instead of the module-script
33 <li>BIND module corrected! Now shows TRUE values which are NOT multiplied by 10
34 <li>database type for BIND module changed from GAUGE to COUNTER (please call update script!)
35 <li>supports userdefined global HRULE definitions for each module.
36 <li>module-howto added (short docu that might help you building own modules)
37 <li>generate valid HTML 3.2 files
38 <li>more complex HTML headers
39 <li>makeindex scripts use new library for HTML output: HotSaNIChtml.pm
40 <li>fixed SNMP routines in system module
41 <li>internal handling of settings changed. (settings are now stored in a single hash of vars and arrays)
42 <li>added script to easily extend DBs with new datarows
43 <li>tools/checkdbs.sh now has some consistency checks and path evaluations, same goes for checkversions.sh
44 <li>some bugfixes in MAILQ, SYSTEM (cpu)
45 <li>some logging cosmetics to improve readability
46 <li>updated documentation
47 <li>if AUTOINDEX=yes is configured, makeindex will be called directly after module initialization (switched off by default)
48 <li>data-smpling will be triggered directly after startup to initialize all DBs properly, diagrams will be built 30sec after start, thumbnails will follow 60sec after start
49 <li>"LAST" values will be shown as well in most hourly graphs now
50 <li>added fallback to &quot;ps&quot; in HotSaNICparser::get_pid function in case /proc is not available
51 <li>diagram scripts improved: colors configurable, better initial scaling, alternative fixed scaling, alternative logarithmic scaling possible for modules that don't show negative values, commandline options available (call with option "h" for help), better unit handling for bytes/bits, several SI units etc.
52 <li>new funtions in HotSaNICdiagram.pm and HotSaNICparser.pm for comfortable configuration parsing and graph initialisation
53 <li>DISKIO supports /proc/partitions and /proc/diskstats as well (support for kernel 2.4 and later)
54 <li>consistency check tool &quot;checklibs.sh&quot; added
55 <li>checkversions.sh does some path checks
56 <li>checkdbs.sh tool may now be called without parameters from any module directory
57 <li>WORMS module uses HotSaNIClogparse.pm functions to analyze apache logfiles
58 <li>fixed some links pointing to proc.html in SYSTEM makeindex script
59 <li>nonexisting SYSTEM-uptime graph removed from &quot;hourly&quot; index
60 <li>SENSORS graphs sorted by name instead of DB name
61 <li>SENSORS graph scaling changed (now scaled to configured min/max value initially)
62 <li>setup bug fixed - now text is displayed BEFORE waiting for the answer (autoflush wasn't set)
63 <li>common graph-options in diagrams scripts are stored in an arry now for better maintainance
64 <li>all setup scripts converted to PERL
65 <li>RRDs::update functions moved to central HotSaNICmod.pm library - improves debugging
66 <li>improved log-parsing functions
67 <li>added version reports in debug mode
68 <li>all diagrams.pl scripts use an @OPTIONS array for common diagram options
69 <li>some corrections for SYSTEM's HTML-index files
70 </ul>
71 <h3>pre5</h3>
72 <ul type="disc">
73 <li>added MAILQ module to show stats for the Postfix mailserver's queue items
74 <li>added a library to handle user interactions
75 <li>started to convert setup scripts to perl
76 <li>added NETSTAT module to show stats for open TCP sockets
77 <li>fixed bugs causing &quot;not a simple integer&quot; errors with rrdtool 1.0.46
78 <li>MD5 checksums for tarballs
79 <li>new BIND module for BIND nameserver stats
80 <li>PING module support for solaris
81 <li>SENSOR module supports FreeBSD
82 <li>SENSOR module autodetects sensors on setup
83 <li>APCUSV module supports &quot;ONBATT&quot; and &quot;REPLACEBATT&quot; status
84 <li>SHOUTCAST module supports LWP:: library
85 <li>more centralized functions in libraries
86 <li>most backtick calls converted to &quot;open&quot; calls
87 <li>replaced &quot;pwd&quot; and &quot;find&quot; by PERL's Cwd:: and File::Find
88 <li>HotSaNICshellio.pm now handles user-interaction for most modules
89 <li>image creation date format corrected
90 <li>improved log-format for modules
91 <li>improved module version report functions
92 <li>all scripts use /usr/bin/env as shell-magic-cookie
93 <li>all diagram scripts converted to PERL
94 <li>some diagram cosmetics
95 <li>tools/warnings.pl has mail capabilities
96 <li>debug-info-tool tools/checkversions.sh added
97 </ul>
98 <h3>pre4</h3>
99 <ul type="disc">
100 <li>completely new concept! The directory structure has been changed a lot, all modules are kept in a subdirectory now. The modules now run as single daemons, the main script uses signalling techniques to control the modules. This saves a lot of compilation time on every SAMPLE call. To avoid too many modules running parallel, a random scheduler has been added.
101 <li>modules now have a &quot;.description&quot; file which will be printed when doing the main setup.
102 <li>all perl scripts now end with &quot;.pl&quot;
103 <li>the SYSTEM module is now configurable to enable or disable some of its specific targets. New targets &quot;interrupts&quot; and &quot;uptime&quot; have been added. Basic OS X support (testing). MultiCPU systems fully supported. swap stats are now stored in mem.rrd, loadavg.rrd has been renamed to load.rrd. New method gathering mem and swap info on NetBSD. Comments have been added for later addition of kernel &gt;2.4 support.
104 <li>the protocol used by the PING module is now configurable. You can also configure it to use the ping shellcommand instead of Net::Ping. The minimum number of pings to be sent is 5 now. Timing will be done by Time::HiRes (if available) and does a fallback to the previous sysdcall. If no HiRes timers are available, you will get an error message.<br>
105 For better comparison of diagrams, the initial upper border can be configured. The lower border has been adapted for logarithmic scale.<br>
106 Data will be stored in seconds now instead of milliseconds.<br>
107 The module should generate no more zombies now.
108 <li>SENSORS now has FreeBSD support
109 <li>TRAFFIC module now with OS X support. Devices are no longer configured multiple times. Taken down BSD interfaces handled correctly. Don't use DNS lookups anymore when using netstat. BSD setup patched.
110 <li>APPS now handles applications with &quot;.&quot; in filename correctly
111 <li>DISKIO now with basic kernel 2.4 device autodetection. Some excludes applied in devicelist (fd* md*). Module seems to worn on FreeBSD now. Some comments have been added for later implementation of new Kernel 2.4 &quot;/proc/partitions&quot; support.
112 <li>PART module device detection corrected. Automatic excludes list enhanced. Table sorted by devicename.
113 <li>Within each module each Operating system will be handled by an own library in the &quot;./modules/&lt;modname&gt;/platform/&quot; directory. There's also a lib &quot;common.pm&quot; that handles all common functions and a fallback library &quot;default.pm&quot;
114 <li>HotSaNIC.pm is obsolete now, but is still there to support modules written on older versions. To adapt older modules to new concept, there's a wrapper script available under &quot;./tools/&quot;
115 <li>all global libraries from HotSaNIC.pm were split into different files, these are kept in the &quot;./lib/&quot; directory
116 <li>all global functions in the read-data.pl scripts have benn moved into the new HotSaNICmod.pm library. read-data.pl just initializes the module - the main loops, help texts etc are in the library.
117 <li>all read-data.pl scripts support cmdline parameters similar to sysV-style (start/stop/status ...)
118 <li>modules' configuration can be reloaded while running
119 <li>SOLARIS is now supported by some Modules: apcusv, apps, ping, system (processes, CPU, load, users, swap, mem).
120 <li>all diagram scripts are converted to PERL now
121 <li>main index now has multi-row support (mainly used for MultiCPU machines and SNMP targets)
122 <li>instead of using the shell-magic cookie (#! ...) directly, we use &quot;#!/usr/bin/env ...&quot; to avoid conflicts on some systems. This makes the Automake system obsolete (saves us work...).
123 <li>a lot more SNMP support had been addeed - all SNMP related core-functions are in the &quot;./lib/HotSaNICsnmp.pm&quot; file. These should be quite compatible with quite many SNMP daemons. If Net::SNMP isn't found, the system does a fallback to the shell binaries. (snmpget, snmpwalk, snmpbulkget, snmpbulkwalk).
124 <li>fixed bug which produces GIFs instead of PNGs regardless of settings
125 <li>all logfiles moved to the new &quot;./var/log/&quot; directory, PID files went in &quot;./var/run/&quot;, all settings are linked in &quot;./var/settings/&quot; by the main setup script. Modules store their temp. data in &quot;./var/modules/&lt;modname&gt;/&quot;
126 <li>main setup.pl script shows usage info when called with parameter &quot;?&quot;
127 <li>setup will initially guess CONVERTMETHOD now
128 <li>some diagram-titles look a bit nicer now
129 <li>some files were moved and renamed, so when upgrading it may be necessary to re-run the main &quot;setup.pl -g&quot; to re-generate the rrdgraph script.
130 <li>some vital paths will be created automatically now
131 <li>all &quot;use diagnostics&quot; and &quot;use warnings&quot; were moved to the libraries, since once loaded they act globally in PERL.
132 <li>for better readability in system tools like &quot;ps&quot; or &quot;top&quot;, the module name will be passed as cmdline parameter.
133 <li>new PID handling functions implemented
134 <li>some shell-calls have been converted to PERL syntax to avoid backticks.
135 <li>the main diagrams script has been converted to PERL. It now generates some console-output when running( some people were confused by the previous behaviour of it running silently in the background). The logfile will now be handled by rrdtimer.
136 <li>modules are automatically restarted every STIME if not running
137 <li>rrdtimer.pl uses an anlternate daemonizing method to avoid shells hanging while logging out (mostly works!)<br>
138 sending a HUP to rrdtimer, the modules will also be terminated, sending USR2 only the modules will be terminated (and will be restarted after STIME)
139 <li>main loop now sleeps more efficiently using less CPU time
140 <li>added more debugging verbosity to scheduler
141 </ul>
142 <h3>pre3</h3>
143 <ul type="disc">
144 <li>directory structure cleaned up by creating subdirs &quot;modules&quot; &quot;lib&quot; &quot;var&quot;
145 <li>modules now run as daemons (saves compilation/configuration time)
146 <li>OS-dependent libraries for all modules, fall-back function included
147 <li>HotSaNIC.pm split into functional parts
148 <li>libraries for much, much more SNMP support than 0.4.0 had
149 <li>wrapper script exists to support old modules
150 <li>sampling via signal handlers
151 <li>many diagrams scripts converted to PERL for speed
152 </ul>
153 Version 0.5.0-pre3 and later available as .tgz package<br>
154 Other versions are only available via anonymous CVS.<br>
155 <br>
156 <br>
157 <hr>
158 </td></tr>
159 <tr><td valign=top><a name="v041">0.4.1 - (unreleased)</a><br>new features<br>bugfixes</td>
160 <td>
161 <ul type="disc">
162 <li>data-diskio generates more associative filenames (Thanx Michael Renner for the valuable hints!)
163 <li>data-diskio now supports *BSD
164 <li>data-networks now has totals for input/output and a summary over the graph's time
165 <li>data-traffic now has a summary over the graph's time
166 <li>HotSaNIC.pm fixed, the module name was not detected correctly if HotSaNIC resided in subdirs containing &quot;-&quot; chars!<br>
167 There are also some comments added to (briefly) explain each function's usage.
168 <li>data-traffic trouble with alias interfaces like eth0:0 fixed
169 <li>data-ping now has a configurable maximum of parallel processes (settings: PARALLEL=&quot;4&quot;)
170 <li>data-shoutcast is a new module to monitor user activities on shoutcast servers
171 <li>data-diskio diagrams script converted to PERL
172 <li>rrdtimer now logs errors to the main logfile (makes debugging a bit easier)
173 <li>data-part samples configured drives only (more convenient on systems using autofs)<br>It also checks if NFS partitions are configured and scans them on demand. This reduces deadlocks.
174 <li>data-worms now skips .gz and .bz2 files while scanning logs
175 <li>data-traffic has been adapted to fix the &quot;ghost graphs&quot; issue when graphing SNMP sources (hope it works now)
176 <li>data-traffic graphs interfaces which are &quot;down&quot; as &quot;unknown&quot; instead of a zero line.
177 </ul>
178 <br>
179 All modules now contain dupe-control to check if a process is already running or hangs. (processes running &gt;1h will be killed)<br>
180 <br>
181 <font color="#FF0000">IMPORTANT NOTICE FOR UPGRADERS:<br>
182 The database in the diskio module has changed!</font> - You will need to run the update script in the module's subdir in order to adapt the databases and the webpage. Otherwhise you will get some missing images, dead links and strangely high I/O-values or maybe in some cases a zero-line.<br>
183 This version is only available via anonymous CVS.<br>
184 <br>
185 <br>
186 <hr>
187 </td></tr>
188 <tr><td valign=top><a name="v040">0.4.0 - 20020108</a><br>new features<br>extensions<br>bugfixes</td>
189 <td>
190 All features of the work version 0.3.6 are included in 0.4.0 plus:<br>
191 <ul type="disc">
192 <li>data-traffic has been sped-up a bit
193 <li>dupe-control checks for PIDs now
194 <li>project's contact address has changed to: <a href="mailto:hotsanic@bernisys.prima.de">hotsanic@bernisys.prima.de</a>
195 </ul>
196 <font color="#FF0000">IMPORTANT NOTICE FOR UPGRADERS:<br>
197 The database in the traffic module has changed!</font> - You will need to run the update script in the module's subdir in order to adapt the databases. Otherwhise you will get strangely high traffic values or maybe in some cases a zero-line.<br>
198 <br>
199 <br>
200 <hr>
201 </td></tr>
202 <tr><td valign=top><a name="v036">0.3.6 - 20011217</a><br>new features<br>extensions<br>bugfixes</td>
203 <td>
204 <ul type="disc">
205 <li> The main settings now contain a switch to select the format of the generated images (.gif or .png). If you already have built own modules, please take care that they use the new feature ;)
206 <li>All graphs now have create-timestamps in their titles
207 <li>Bugfix in dnet module: OGR stats will no longer accident'ly be logged as DES.
208 <li>Bugfix in ping module: makeindex.pl does no longer generate dead links.
209 <li>The ping module now does a statistic analysis of its results to suppress annoying peaks.
210 <li>New module: data-networks which uses iptables-accounting to let you know where your traffic goes to/comes from
211 <li>data-traffic now supports Open/Free BSD ( Thanks to Matt Burke! )
212 <li>data-traffic now supports SNMP (both GetBulk and SNMPwalk method)
213 <li>data-traffic's initial scales are set down to 1000 bytes/s for any kind of device (better readable graph at low traffic)
214 <li>data-traffic's diagram script has been upgraded to evaluate settings instead of executimg the settings-file
215 <li>data-traffic now can show a bits/s legend instead of bytes/s only
216 <li>data-network now can show a bits/s legend instead of bytes/s only
217 <li>data-part now supports Open/Free BSD ( Thanks to Matt Burke! ) - the resolution is now 1024 bytes.
218 <li>data-dnet now supports configurable logfile names ;)
219 <li>HotSaNIC.pm (a perl library containing common functions) now exists to eliminate multiple definitions and redundant functions in different modules
220 <li>all initializing stuff has been moved from &quot;rrdgraph&quot; to &quot;rrdtimer&quot;
221 <li>rrdtimer now has a signal-handler for the TERM signal to properly shut down the daemon
222 <li>the whole tool now should be CVS-proof ;)
223 <li>some &quot;setup&quot; scripts now exist to create initial configurations easier. They are called automatically by the main &quot;setup.pl&quot; script.
224 <li>&quot;compile&quot; now supports option &quot;r&quot; for recompiling (might be necessary after upgrading)
225 <li>a new module &quot;data-diskio&quot; exisits which reports I/O stats of the pyhsically installed harddrives
226 <li>data-worms has been rewritten completely because it wasn't sampling correctly at all. Should be ok by now.
227 <li>data-system now has BSD-support ( Thanks to Matt Burke! )
228 <li>data-system now supports sampling CPU stats for multi-CPU machines (images are being generated, but the index.html will not yet be created - But i'm working on it...) - Thanks Aide Florent for the ideas and some support!
229 <li>data-system main CPU stats may be generated in percentage instead of absolute values
230 <li>all modules can generate a browser auto-refresh tag now.
231 <li>all thumbnail images are moved to the corrosponding subdirs on the webpage to re-gain more overview.
232 <li>HotSaNIC.pm now contains a parser function for the settings. All modules have been adapted to use this function instead of parsing the lines on their own (read-data.pl and makeindex.pl are affected).
233 <li>added a directory &quot;tools&quot; where a few helpers could be located.
234 <li>tools: makeperlheaders (call if ping module complains about missing syscall.ph)
235 <li>stop function in &quot;rrdgraph&quot; script is now BSD-proof :) ( Thanx to Peter Reich! )
236 <li>tools: warnings.pl generates warnings if a defined threshold matches (for example 20KB/s on eth0 over the last 5 minutes)
237 <li>data-traffic: diagram script converted to perl now
238 <li>data-system: shows user-stats now
239 <li>all modules: main options are being transfered to the read-data scripts by rrdtimer as commandline-arguments (saves parsing of mein settings over and over for some scripts)
240 <li>setup.pl: option &quot;y&quot; tells the script that it shall use all available modules, settings are being backed-up instead of creating a settings.new file and leaving the original untouched
241 <li>rrdtimer: debugging mode also available in daemon-mode (configured in main settings)
242 <li>all modules: dupe control added. If a module is already running, don't start it again until the old instance exits (control-file: &quot;running.dat&quot;).
243 <li>data-system: now with NetBSD support
244 <li>data-system: showing processes on FreeBSD
245 </ul>
246 plus: many many little bugfixes i forgot to mention here ;)<br>
247 <br>
248 <br>
249 <hr>
250 </td></tr>
251 <tr><td valign=top><a name="v035">0.3.5 - 20010923</a><br>bugfixes<br>new module</td>
252 <td>
253 Bugfixes:
254 <ul type=disc>
255 <li>Missing directories in the module-subdirs are now being created as they should be. Sorry for the inconvenience!
256 <li>I corrected some misbehavior with directories containing spaces. (correction may not affect every module yet - remember that the project is still in ALPHA state)
257 </ul>
258 enhanced logging - timestamps are now present in some modules and logfiles get rotated when they reach the configured size. (at the moment only one backup is kept - cyclic backups will be implemented soon.)<br>
259 A new module &quot;data-worms&quot;exists which counts the accesses caused by worm-activities in your apache-logfile.<br>
260 <br>
261 <br>
262 <hr>
263 </td></tr>
264 <tr><td valign=top><a name="v034">0.3.4 - 20010918</a><br>rrdtimer</td>
265 <td>
266 I have extended &quot;rrdtimer&quot; a lot!<br>
267 <ul type=disc>
268 <li>The script now has many sub-routines which will make debugging much easier - well, at least i hope so ;).
269 <li>The main &quot;makeindex.pl&quot; now has been integrated into &quot;rrdtimer&quot; to get the whole thing more compact. To generate the html index-files just type &quot;rrdtimer&nbsp;i&quot; - that's all. I left the &quot;makeindex.pl&quot; in this directory for compatibility, but this is just a shellscript that calls &quot;rrdtimer&nbsp;i&quot;. ;)
270 <li>The way you call &quot;rrdtimer&quot; has changed a bit - just type &quot;rrdtimer&quot; on the console to get some help.
271 </ul>
272 Soon &quot;rrdtimer&quot; will be extended to replace &quot;diagrams&quot; and &quot;convert.sh&quot; as well.<br>
273 <br>
274 <br>
275 <hr>
276 </td></tr>
277 <tr><td valign=top><a name="v033">0.3.3 - 20010916</a><br>bugfixes:<br>rrdtimer</td>
278 <td>
279 I found a proper name for my tool: From now on it shall be called &quot;HotSaNIC&quot; which stands for &quot;HTML overview to System and Network Information Center&quot;.<br>
280 On execution &quot;rrdtimer&quot; checked for existing daemons using the wrong program-name (rrdgraph instead of rrdtimer).<br>
281 &quot;rrdtimer&quot; doesn't any longer just execute &quot;read-data&quot;, but also checks for uncompiled &quot;read-data.pl&quot; scripts, too - while &quot;read-data&quot; has the highest priority.<br>
282 <br>
283 <br>
284 <hr>
285 </td></tr>
286 <tr><td valign=top><a name="v032">0.3.2 - 20010915</a><br>bugfixes:<br>rrdtimer<br>sensors:makeindex</td>
287 <td>
288 I accidently left a debug-line &quot;rrdtimer&quot; script which produces unnecessary output to logfiles.<br>
289 The &quot;makeindex.pl&quot; in the sensors-module had to be fixed to generate html indexes for each sensor as well.<br>
290 I checked every script for mix-ups of integer and string comparison. There shouldn't be any errors by now.<br>
291 <br>
292 <br>
293 <hr>
294 </td></tr>
295 <tr><td valign=top><a name="v031">0.3.1 - 20010911</a><br>bugfixes:<br>rrdtimer<br>ping:makeindex</td>
296 <td>
297 <font color="#FF0000"><font size=+3>ATTENTION!</font><br>There is a rather serious BUG in versions &lt; 0.3.1 !<br>Please upgrade to version 0.3.1.</font><br>
298 <table cellpadding=10 cellspacing=0 border=0>
299 <tr valign=top><td>Symptom:</td>
300 <td> If you restart the daemon it may happen that no modules are queried and thus your databases will not be updated.</td></tr>
301 <tr valign=top><td>Cause:</td>
302 <td>This is because i mistakenly used &quot;le&quot; to compare two integer values instead of using &quot;&lt;=&quot; under PERL. Sinc e i initially compare &quot;120&quot; with a timer-value which begins with &quot;1000&quot;, PERL states that &quot;120&quot; is GREATER than &quot;1000.*&quot; - which is absolutely correct in a string context. Thanks to Bodo, Peter and Robert for the hint that made up my mind. :)</td></tr>
303 <tr valign=top><td>Cure:</td>
304 <td>You may prevent this &quot;overflow&quot; by editing the &quot;rrdtimer&quot; script and simply exchanging all occurences of &quot;&nbsp;le&nbsp;&quot; by &quot;&nbsp;&lt;=&nbsp;&quot;.</td></tr>
305 <tr valign=top><td>Fix:</td>
306 <td>I have fixed this in version 0.3.1 and to be on the safe side i initialise &quot;$last&quot; with &quot;$now-100&quot; and &quot;$lastscan&quot; with &quot;$now-1000&quot; instead of zero. That should do it for a really really long time now ;).</td></tr>
307 </table>
308 <br>
309 The &quot;makeindex.pl&quot; in the ping-module had to be fixed a bit. Now it generates index-files properly again. Some bugs may occure since i will change the script's syntaxes and variables a bit to make it possible in future to create a library with global functions which are commonly used in the modules' scripts.<br>
310 <br>
311 <br>
312 <hr>
313 </td></tr>
314 <tr><td valign=top><a name="v030">0.3.0 - 20010909<br>almost all ;)</td>
315 <td>
316 Added a module that pings a list of hosts, stores the results in databases and creates nice graphs out of it ;)<br>
317 The sensors module has been (almost ...) completely rewritten to give you full support to all sensor-types. BUT! You have to know how these sensors are represented in the /proc filesystem and how they have to be treated properly. The module just helps to gather the data. WHICH it shall gather ... well, that's about up to you. But if you have some idea what /proc is and where sensors are located it should be no trouble at all to configure the module. Hint: some sensors need proper scaling! This is (poorly) described in the settings file. You should read the lm_sensors howto to get the idea of what's happening and put the correct scaling-values in the settigs. Remember: Just use plain floating point numbers, not fractions like in lm_sensors!<br>
318 The partition-plugin has been altered to support NFS volumes (and other) as well. To achieve this the &quot;settings&quot; file had to be adapted and the names of the databases have changed. Simply rename the old databases to keep your old recordings.<br>
319 I also changed the whole behaviour a bit:<br>
320 <font color="#FF0000">ALL CONFIGURATION OPTIONS for MODULES have been moved into the module-directories !!!</font><br>
321 This makes it a bit easier to install or remove modules without fiddling with the main config, WHICH STILL RESIDES IN THE MAIN DIRECTORY!<br>
322 The main &quot;makeindex&quot; script has been converted to perl to let it run faster (and it sure is MUCH faster now!)<br>
323 The &quot;compile&quot; script now can uncompile all scripts using the &quot;u&quot; option<br>
324 I began to convert some of the modules' &quot;makeindex&quot; scripts to perl to make them run faster<br>
325 <br>
326 <br>
327 <hr>
328 </td></tr>
329 <tr><td valign=top><a name="v026">0.2.6 - 20010805 (obsolete!)<br>modules</td>
330 <td>
331 Added a module that gives you very primitive lm_sensors support (just the gl518sm sensors for now) It will sure take some time to get these to work properly...<br>
332 The swap-space readings in the system-module are extended by a &quot;max usage&quot; line which plots over the whole thing to give you a hint about the &quot;real&quot; usage. This maybe helps a bit in structuring your system.<br><br>
333 <br>
334 <br>
335 <hr>
336 </td></tr>
337 <tr><td valign=top><a name="v025">0.2.5 - 20010710<br>modules</td>
338 <td>
339 I changed the index-generation scripts so they generate valid html 3.2 ...<br><br>
340 <br>
341 <br>
342 <hr>
343 </td></tr>
344 <tr><td valign=top><a name="v024">0.2.4 - 20010607<br>diagrams<br>clearall</td>
345 <td>
346 The &quot;clearall&quot; script has now an option to remove precompiled binaries created by &quot;compile&quot;<br><br>
347 &quot;diagrams&quot; now checks if it has been called before and if maybe it's stalled somehow and kills it's evil brother ;)<br><br>
348 <br>
349 <br>
350 <hr>
351 </td></tr>
352 <tr><td valign=top><a name="v023">0.2.3 - 20010605<br>rrdtimer<br>modules</td>
353 <td>
354 Previously &quot;rrdtimer&quot; called all existing modules parallel, but this behaviour may cause problems on some systems, so i changed the default behaviour to call all modules in a sequence. The parallel mode is still available and can be activated by calling &quot;rrdtimer p&quot;<br><br>
355 An additional module called &quot;networks&quot; has been created. It uses ipchains to measure the traffic to dedicated networks and evaluates these traffic samples pretty much like the &quot;traffic&quot; module - except min/max plots which would be quite a thing to implement properly. Maybe this will come some day as an option, but i don't think so right now.<br>
356 A speedup has been added:<br><br>
357 Try to run the &quot;compile&quot; script to compile all modules via &quot;perlcc&quot;. This may give you a major speedup ( about 2-3x ) because the perl modules don't have to be compiled over and over again before they are executed ( this happens each 10 seconds ) - but be aware that errors may occur if some important perl-libraries are missing! In that case you have got to live with it and reconstruct the &quot;read-data&quot; scripts in each module directory.<br><br>
358 I changed the global behaviour a bit. &quot;rrdtimer&quot; now calls the diagram scripts itself - so cron-entries aren't needed anymore.<br><br>
359 The modules now generate timestamps in the &quot;rrdtimer.err&quot; logfile.<br><br>
360 The name of the PID-file is now free configurable in the settings file.<br>
361 <br>
362 <br>
363 <hr>
364 </td></tr>
365 <tr><td valign=top><a name="v022">0.2.2 - 20010514<br>rrdtimer<br>databases<br>system</td>
366 <td>
367 Debugging mode in &quot;rrdtimer&quot; now only shows 4 digits after decimal point for better readability.<br><br>
368 All databases have been moved to a subdirectory &quot;rrd/&quot; in each module-subdirectory. So please move the .rrd files into each module's subdir to the corrosponding &lt;module-dir&gt;/rrd/ subdir.<br><br>
369 Additional logging-functionality for system-module. Now the loadavg values for the 5min and 15min average are logged as well. The process-stats show an additional value &quot;disc&quot; representing processes being swapped to disc at this time.<br><br>
370 <font color="#FF0000">IMPORTANT NOTICE FOR UPGRADERS:<br>
371 Be sure to run &quot;update.pl&quot; after you installed the new data-system module! The system.rrd database has to be split to add the new logging-channels!</font> Another possibility is to just let the new scripts run and remove system.rrd, but all previously sampled data will be lost by doing so!<br>
372 <br>
373 <br>
374 <hr>
375 </td></tr>
376 <tr><td valign=top><a name="v021">0.2.1 - 20010510<br>traffic, dnet, part<br>convert<br>settings</td>
377 <td>
378 Some bugs were fixed in the traffic, dnet and part modules:<br>
379 <ul type=disc>
380 <li>the &quot;diagrams&quot; script in the traffic-module produced some errors due to a wrong variable-assignment.
381 <li>the &quot;diagrams&quot; script in the part module produced errors because &quot;rrdtool&quot; was called with some parameters mixed up.
382 <li>the convert.sh script only converted the graphics from system and dnet. Now it handles all graphics.
383 </ul>
384 I played a bit with the settings-file and some of the scripts. Now there is a configuration-entry to set where logfiles will be stored.<br>
385 Then i altered the behaviour of the DNET-module. Now you can configure networks and their names to receive better readable statistics for dynamic IPs. This is done in the &quot;data-dnet&quot; subdir using a file called &quot;networks.cf&quot;<br>
386 Some speed-ups were achieved by using hashes to store multiline values and by changing file-access behaviours a bit. Saved about 10% execution-time :)<br><br>
387 <br>
388 <br>
389 <hr>
390 </td></tr>
391 <tr><td valign=top><a name="v020">0.2.0 - 20010509<br>rrdtimer<br>dnet</td>
392 <td>
393 Well, this is something revolutionary ;)<br>
394 I had the time to read the PERL-FAQs and found some interesting aspects like daemonizing (i.e. fork into background) and other stuff. So I decided to completely rewrite the main script. This is no longer bash, but plain PERL! Included are some features like a debug-mode with different debug-levels to get your modules straight. Just experiment with it if you like. :)<br>
395 Some changes were made to the dnet module as well. I've rewritten the routines into PERL now and i hope they will do what they are supposed to. I don't quite know, so please inform me if anything goes wrong there.<br>
396 <br>
397 <br>
398 <hr>
399 </td></tr>
400 <tr><td valign=top><a name="v019">0.1.9 - 20010506<br>dnet</td>
401 <td>
402 I had some spare-time to spend, so while I was chatting on ICQ, I decided to give myself a little push and have almost completely re-written the core of the DNET module in PERL. Speed-up seems to be a factor of about 10, though this was not really needed since the module gets called only once a day anyway. But major speed-up has been achieved in building the initial databases which will reach back a couple of months ... these are about 400 (for each host !) database updates sequentially and this took quite a while back in BASH ;)<br>
403 I also discovered and removed a little bug in this module. When a host has not sent any block the last day, then the database would have taken the values of the day before. This looks rather impressive in the statistics, but is of course dramatically wrong :)<br>
404 Ok, these stats are just looking fine right now.<br>
405 <br>
406 <br>
407 <hr>
408 </td></tr>
409 <tr><td valign=top><a name="v018">0.1.8 - 20010421<br>diagrams<br>traffic</td>
410 <td>
411 some changes were made in the &quot;diagrams&quot; scripts. Now the diagrams are created in &quot;interlace&quot; gif mode, which will improve the load-behaviour of the webpage.<br>
412 I also tuned in some additional &quot;rrdtool&quot;-features - now the byte-oriented graphs have a legend on the Y-axis and 1K is calculated by 1024 and not 1000 as before.<br>
413 The traffic module now can cope with asymmetric interfaces as well, the MAX<interface> option in the settings-file has a new syntax to set in and out speed independant (of course as before in bits/s)<br>
414 <br>
415 <br>
416 <hr>
417 </td></tr>
418 <tr><td valign=top><a name="v017">0.1.7 - 20010408<br>traffic</td>
419 <td>
420 further little speed-up was archieved by not using so many temp-files in the traffic-plugin.<br>
421 <br>
422 <br>
423 <hr>
424 </td></tr>
425 <tr><td valign=top><a name="v016">0.1.6 - 20010405<br>read-data<br>settings</td>
426 <td>
427 A little speed-up was archieved by doing some changes in the &quot;read-data&quot; scripts for the system and the partition plug-in. Some awful shell-calls were replaced by PERL calls which do not write in sample-files any more, but directly into the PERL-array :).<br>
428 Also some new setting-file entries exist now to tell the program which interfaces/devices are to sample and which stat-graphs are to be bulit.<br>
429 However, this applies only for the sample-part of the traffic and the partition section for now... but i'm working on it ... ;)<br>
430 <br>
431 <br>
432 <hr>
433 </td></tr>
434 <tr><td valign=top><a name="v015">0.1.5 - 20001219<br>makeindex</td>
435 <td>
436 Corrected a little bug in the &quot;makeindex&quot; files. Weekly stats indexpage will now be built correctly.<br>
437 The &quot;makeindex&quot; script now removes all temporary files it creates. It also doesn't nag about existing directories, it just silently creates them if needed.<br>
438 <br>
439 <br>
440 <hr>
441 </td></tr>
442 <tr><td valign=top><a name="v014">0.1.4 - 20001215<br>makerrd</td>
443 <td>
444 Corrected a missing settings-call in the &quot;makerrd&quot; scripts which caused the tool to create no databases at all.<br>
445 Thanks to Markus Bajohr!<br>
446 <br>
447 <br>
448 <hr>
449 </td></tr>
450 <tr><td valign=top><a name="v013">0.1.3 - 20001209<br>part</td>
451 <td>
452 I just corrected a bug in the part-plugin which caused the script to create numerous databases with no further use, but a lot of load while building the graphs ...<br>
453 Thanks to Michael Neumann!<br>
454 <br>
455 <br>
456 <hr>
457 </td></tr>
458 <tr><td valign=top><a name="pre013">pre 0.1.3</td>
459 <td>
460 I report changes and bugs since version 0.1.2 - all earlier versions were just like the beginning of all life ;)<br><br>
461 o.K. let's see. What can &quot;rrdgraph&quot; do right now ?<br><br>
462 The system-plugin ( This was my first plugin. Actually it hasn't been a plugin up to 0.0.1 ) will collect data about:
463 <ul type=disc>
464 <li>processes (sleeping, running, stopped, zombie)
465 <li>CPU time (idle, nice, user, system)
466 <li>loadaverage
467 <li>memory (free, buffered, shared, cached)
468 <li>swapfile (free, used)
469 </ul>
470 The traffic-plugin will collect data about all your local network interfaces except loopback.<br><br>
471 The partitions-plugin collects data about your partition-usage.<br>
472 Some bugs have to be fixed here!<br>
473 For example network-mounted directories will be saved under just a part of their name. This may cause serious problems if there are two similar paths... I haven't checked yet, but I guess it will.<br>
474 For now I will override this bug by filtering out all network-mounted filesystems. Later i'll try to convert the &quot;/&quot; in the device-pathnames to &quot;_&quot; and hopefully all will be fine in future...<br>
475 <br>
476 <br>
477 <hr>
478 </td></tr>
479 </table>
480</center>
481</BODY>
482</HTML>
483 

Powered by WebSVN 2.2.1