jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-pre6/] [Documentation/] [changes.html] - Rev 7 Go to most recent revision

Compare with Previous - Blame - Download


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>HotSaNIC - version history</TITLE>
</HEAD>

<BODY bgcolor="#FFFFFF">

<center>
<img src="HotSaNIC-small.gif" width=307 height=107 alt="HotSaNIC"><br>
HTML overview to System and Network Information Center<br>
by 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>
<br>
<hr>
<h2>HotSaNIC version history</h2>
<table border=0 cellpadding=5 width=580>
<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>
  <td>
    <h3>pre6</h3>
    <font color="#ff0000">available via CVS and as snapshot on the project's homepage<br>
    new changelog order since pre6: recent changes first!</font>
    <ul type="disc">
      <li>logging completely rewritten. Verbosity now much better configurable. (2004/07)
      <li>TRAFFIC module now handles &quot;/&quot; characters in devicenames correctly (i.e. to monitor Cisco routers' interfaces)
      <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)
      <li>samples will not be taken if last sampling was &lt;10s ago
      <li>new module option "nodaemon" starts module in foreground for testing and debugging purposes
      <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.
      <li>better timestamped logging output you may select: no, classic (seconds) and human readbale timestamps
      <li>basically configurable main page style (background/text/link colors and background-image)
      <li>new module for NTP servers
      <li>SNMP libraries will be imported directly by HotSaNICmod.pm instead of the module-script
      <li>BIND module corrected! Now shows TRUE values which are NOT multiplied by 10
      <li>database type for BIND module changed from GAUGE to COUNTER (please call update script!)
      <li>supports userdefined global HRULE definitions for each module.
      <li>module-howto added (short docu that might help you building own modules)
      <li>generate valid HTML 3.2 files
      <li>more complex HTML headers
      <li>makeindex scripts use new library for HTML output: HotSaNIChtml.pm
      <li>fixed SNMP routines in system module
      <li>internal handling of settings changed. (settings are now stored in a single hash of vars and arrays)
      <li>added script to easily extend DBs with new datarows
      <li>tools/checkdbs.sh now has some consistency checks and path evaluations, same goes for checkversions.sh
      <li>some bugfixes in MAILQ, SYSTEM (cpu)
      <li>some logging cosmetics to improve readability
      <li>updated documentation
      <li>if AUTOINDEX=yes is configured, makeindex will be called directly after module initialization (switched off by default)
      <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
      <li>"LAST" values will be shown as well in most hourly graphs now
      <li>added fallback to &quot;ps&quot; in HotSaNICparser::get_pid function in case /proc is not available
      <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.
      <li>new funtions in HotSaNICdiagram.pm and HotSaNICparser.pm for comfortable configuration parsing and graph initialisation
      <li>DISKIO supports /proc/partitions and /proc/diskstats as well (support for kernel 2.4 and later)
      <li>consistency check tool &quot;checklibs.sh&quot; added
      <li>checkversions.sh does some path checks
      <li>checkdbs.sh tool may now be called without parameters from any module directory
      <li>WORMS module uses HotSaNIClogparse.pm functions to analyze apache logfiles
      <li>fixed some links pointing to proc.html in SYSTEM makeindex script
      <li>nonexisting SYSTEM-uptime graph removed from &quot;hourly&quot; index
      <li>SENSORS graphs sorted by name instead of DB name
      <li>SENSORS graph scaling changed (now scaled to configured min/max value initially)
      <li>setup bug fixed - now text is displayed BEFORE waiting for the answer (autoflush wasn't set)
      <li>common graph-options in diagrams scripts are stored in an arry now for better maintainance
      <li>all setup scripts converted to PERL
      <li>RRDs::update functions moved to central HotSaNICmod.pm library - improves debugging
      <li>improved log-parsing functions
      <li>added version reports in debug mode
      <li>all diagrams.pl scripts use an @OPTIONS array for common diagram options
      <li>some corrections for SYSTEM's HTML-index files
      </ul>
    <h3>pre5</h3>
    <ul type="disc">
      <li>added MAILQ module to show stats for the Postfix mailserver's queue items
      <li>added a library to handle user interactions
      <li>started to convert setup scripts to perl
      <li>added NETSTAT module to show stats for open TCP sockets
      <li>fixed bugs causing &quot;not a simple integer&quot; errors with rrdtool 1.0.46
      <li>MD5 checksums for tarballs
      <li>new BIND module for BIND nameserver stats
      <li>PING module support for solaris
      <li>SENSOR module supports FreeBSD
      <li>SENSOR module autodetects sensors on setup
      <li>APCUSV module supports &quot;ONBATT&quot; and &quot;REPLACEBATT&quot; status
      <li>SHOUTCAST module supports LWP:: library
      <li>more centralized functions in libraries
      <li>most backtick calls converted to &quot;open&quot; calls
      <li>replaced &quot;pwd&quot; and &quot;find&quot; by PERL's Cwd:: and File::Find
      <li>HotSaNICshellio.pm now handles user-interaction for most modules
      <li>image creation date format corrected
      <li>improved log-format for modules
      <li>improved module version report functions
      <li>all scripts use /usr/bin/env as shell-magic-cookie
      <li>all diagram scripts converted to PERL
      <li>some diagram cosmetics
      <li>tools/warnings.pl has mail capabilities
      <li>debug-info-tool tools/checkversions.sh added
      </ul>
    <h3>pre4</h3>
    <ul type="disc">
      <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.
      <li>modules now have a &quot;.description&quot; file which will be printed when doing the main setup.
      <li>all perl scripts now end with &quot;.pl&quot;
      <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.
      <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>
    For better comparison of diagrams, the initial upper border can be configured. The lower border has been adapted for logarithmic scale.<br>
    Data will be stored in seconds now instead of milliseconds.<br>
    The module should generate no more zombies now.
      <li>SENSORS now has FreeBSD support
      <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.
      <li>APPS now handles applications with &quot;.&quot; in filename correctly
      <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.
      <li>PART module device detection corrected. Automatic excludes list enhanced. Table sorted by devicename.
      <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;
      <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;
      <li>all global libraries from HotSaNIC.pm were split into different files, these are kept in the &quot;./lib/&quot; directory
      <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.
      <li>all read-data.pl scripts support cmdline parameters similar to sysV-style (start/stop/status ...)
      <li>modules' configuration can be reloaded while running
      <li>SOLARIS is now supported by some Modules: apcusv, apps, ping, system (processes, CPU, load, users, swap, mem).
      <li>all diagram scripts are converted to PERL now
      <li>main index now has multi-row support (mainly used for MultiCPU machines and SNMP targets)
      <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...).
      <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).
      <li>fixed bug which produces GIFs instead of PNGs regardless of settings
      <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;
      <li>main setup.pl script shows usage info when called with parameter &quot;?&quot;
      <li>setup will initially guess CONVERTMETHOD now
      <li>some diagram-titles look a bit nicer now
      <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.
      <li>some vital paths will be created automatically now
      <li>all &quot;use diagnostics&quot; and &quot;use warnings&quot; were moved to the libraries, since once loaded they act globally in PERL.
      <li>for better readability in system tools like &quot;ps&quot; or &quot;top&quot;, the module name will be passed as cmdline parameter.
      <li>new PID handling functions implemented
      <li>some shell-calls have been converted to PERL syntax to avoid backticks.
      <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.
      <li>modules are automatically restarted every STIME if not running
      <li>rrdtimer.pl uses an anlternate daemonizing method to avoid shells hanging while logging out (mostly works!)<br>
    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)
      <li>main loop now sleeps more efficiently using less CPU time
      <li>added more debugging verbosity to scheduler
      </ul>
    <h3>pre3</h3>
    <ul type="disc">
      <li>directory structure cleaned up by creating subdirs &quot;modules&quot; &quot;lib&quot; &quot;var&quot;
      <li>modules now run as daemons (saves compilation/configuration time)
      <li>OS-dependent libraries for all modules, fall-back function included
      <li>HotSaNIC.pm split into functional parts
      <li>libraries for much, much more SNMP support than 0.4.0 had
      <li>wrapper script exists to support old modules
      <li>sampling via signal handlers
      <li>many diagrams scripts converted to PERL for speed
      </ul>
    Version 0.5.0-pre3 and later available as .tgz package<br>
    Other versions are only available via anonymous CVS.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v041">0.4.1 - (unreleased)</a><br>new features<br>bugfixes</td>
  <td>
    <ul type="disc">
      <li>data-diskio generates more associative filenames (Thanx Michael Renner for the valuable hints!)
      <li>data-diskio now supports *BSD
      <li>data-networks now has totals for input/output and a summary over the graph's time
      <li>data-traffic now has a summary over the graph's time
      <li>HotSaNIC.pm fixed, the module name was not detected correctly if HotSaNIC resided in subdirs containing &quot;-&quot; chars!<br>
    There are also some comments added to (briefly) explain each function's usage.
      <li>data-traffic trouble with alias interfaces like eth0:0 fixed
      <li>data-ping now has a configurable maximum of parallel processes (settings: PARALLEL=&quot;4&quot;)
      <li>data-shoutcast is a new module to monitor user activities on shoutcast servers
      <li>data-diskio diagrams script converted to PERL
      <li>rrdtimer now logs errors to the main logfile (makes debugging a bit easier)
      <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.
      <li>data-worms now skips .gz and .bz2 files while scanning logs
      <li>data-traffic has been adapted to fix the &quot;ghost graphs&quot; issue when graphing SNMP sources (hope it works now)
      <li>data-traffic graphs interfaces which are &quot;down&quot; as &quot;unknown&quot; instead of a zero line.
      </ul>
    <br>
    All modules now contain dupe-control to check if a process is already running or hangs. (processes running &gt;1h will be killed)<br>
    <br>
    <font color="#FF0000">IMPORTANT NOTICE FOR UPGRADERS:<br>
    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>
    This version is only available via anonymous CVS.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v040">0.4.0 - 20020108</a><br>new features<br>extensions<br>bugfixes</td>
  <td>
    All features of the work version 0.3.6 are included in 0.4.0 plus:<br>
    <ul type="disc">
      <li>data-traffic has been sped-up a bit
      <li>dupe-control checks for PIDs now
      <li>project's contact address has changed to: <a href="mailto:hotsanic@bernisys.prima.de">hotsanic@bernisys.prima.de</a>
      </ul>
    <font color="#FF0000">IMPORTANT NOTICE FOR UPGRADERS:<br>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v036">0.3.6 - 20011217</a><br>new features<br>extensions<br>bugfixes</td>
  <td>
    <ul type="disc">
      <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 ;)
      <li>All graphs now have create-timestamps in their titles
      <li>Bugfix in dnet module: OGR stats will no longer accident'ly be logged as DES.
      <li>Bugfix in ping module: makeindex.pl does no longer generate dead links.
      <li>The ping module now does a statistic analysis of its results to suppress annoying peaks.
      <li>New module: data-networks which uses iptables-accounting to let you know where your traffic goes to/comes from
      <li>data-traffic now supports Open/Free BSD ( Thanks to Matt Burke! )
      <li>data-traffic now supports SNMP (both GetBulk and SNMPwalk method)
      <li>data-traffic's initial scales are set down to 1000 bytes/s for any kind of device (better readable graph at low traffic)
      <li>data-traffic's diagram script has been upgraded to evaluate settings instead of executimg the settings-file
      <li>data-traffic now can show a bits/s legend instead of bytes/s only
      <li>data-network now can show a bits/s legend instead of bytes/s only
      <li>data-part now supports Open/Free BSD ( Thanks to Matt Burke! ) - the resolution is now 1024 bytes.
      <li>data-dnet now supports configurable logfile names ;)
      <li>HotSaNIC.pm (a perl library containing common functions) now exists to eliminate multiple definitions and redundant functions in different modules
      <li>all initializing stuff has been moved from &quot;rrdgraph&quot; to &quot;rrdtimer&quot;
      <li>rrdtimer now has a signal-handler for the TERM signal to properly shut down the daemon
      <li>the whole tool now should be CVS-proof ;)
      <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.
      <li>&quot;compile&quot; now supports option &quot;r&quot; for recompiling (might be necessary after upgrading)
      <li>a new module &quot;data-diskio&quot; exisits which reports I/O stats of the pyhsically installed harddrives
      <li>data-worms has been rewritten completely because it wasn't sampling correctly at all. Should be ok by now.
      <li>data-system now has BSD-support ( Thanks to Matt Burke! )
      <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!
      <li>data-system main CPU stats may be generated in percentage instead of absolute values
      <li>all modules can generate a browser auto-refresh tag now.
      <li>all thumbnail images are moved to the corrosponding subdirs on the webpage to re-gain more overview.
      <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).
      <li>added a directory &quot;tools&quot; where a few helpers could be located.
      <li>tools: makeperlheaders (call if ping module complains about missing syscall.ph)
      <li>stop function in &quot;rrdgraph&quot; script is now BSD-proof :) ( Thanx to Peter Reich! )
      <li>tools: warnings.pl generates warnings if a defined threshold matches (for example 20KB/s on eth0 over the last 5 minutes)
      <li>data-traffic: diagram script converted to perl now
      <li>data-system: shows user-stats now
      <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)
      <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
      <li>rrdtimer: debugging mode also available in daemon-mode (configured in main settings)
      <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;).
      <li>data-system: now with NetBSD support
      <li>data-system: showing processes on FreeBSD 
      </ul>
    plus: many many little bugfixes i forgot to mention here ;)<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v035">0.3.5 - 20010923</a><br>bugfixes<br>new module</td>
  <td>
    Bugfixes:
    <ul type=disc>
      <li>Missing directories in the module-subdirs are now being created as they should be. Sorry for the inconvenience!
      <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)
      </ul>
    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>
    A new module &quot;data-worms&quot;exists which counts the accesses caused by worm-activities in your apache-logfile.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v034">0.3.4 - 20010918</a><br>rrdtimer</td>
  <td>
    I have extended &quot;rrdtimer&quot; a lot!<br>
    <ul type=disc>
      <li>The script now has many sub-routines which will make debugging much easier - well, at least i hope so ;).
      <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;. ;)
      <li>The way you call &quot;rrdtimer&quot; has changed a bit - just type &quot;rrdtimer&quot; on the console to get some help.
      </ul>
    Soon &quot;rrdtimer&quot; will be extended to replace &quot;diagrams&quot; and &quot;convert.sh&quot; as well.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v033">0.3.3 - 20010916</a><br>bugfixes:<br>rrdtimer</td>
  <td>
    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>
    On execution &quot;rrdtimer&quot; checked for existing daemons using the wrong program-name (rrdgraph instead of rrdtimer).<br>
    &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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v032">0.3.2 - 20010915</a><br>bugfixes:<br>rrdtimer<br>sensors:makeindex</td>
  <td>
    I accidently left a debug-line &quot;rrdtimer&quot; script which produces unnecessary output to logfiles.<br>
    The &quot;makeindex.pl&quot; in the sensors-module had to be fixed to generate html indexes for each sensor as well.<br>
    I checked every script for mix-ups of integer and string comparison. There shouldn't be any errors by now.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v031">0.3.1 - 20010911</a><br>bugfixes:<br>rrdtimer<br>ping:makeindex</td>
  <td>
    <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>
    <table cellpadding=10 cellspacing=0 border=0>
      <tr valign=top><td>Symptom:</td>
        <td> If you restart the daemon it may happen that no modules are queried and thus your databases will not be updated.</td></tr>
      <tr valign=top><td>Cause:</td>
        <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>
      <tr valign=top><td>Cure:</td>
        <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>
      <tr valign=top><td>Fix:</td>
        <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>
      </table>
    <br>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v030">0.3.0 - 20010909<br>almost all ;)</td>
  <td>
    Added a module that pings a list of hosts, stores the results in databases and creates nice graphs out of it ;)<br>
    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>
    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>
    I also changed the whole behaviour a bit:<br>
    <font color="#FF0000">ALL CONFIGURATION OPTIONS for MODULES have been moved into the module-directories !!!</font><br>
    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>
    The main &quot;makeindex&quot; script has been converted to perl to let it run faster (and it sure is MUCH faster now!)<br>
    The &quot;compile&quot; script now can uncompile all scripts using the &quot;u&quot; option<br>
    I began to convert some of the modules' &quot;makeindex&quot; scripts to perl to make them run faster<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v026">0.2.6 - 20010805 (obsolete!)<br>modules</td>
  <td>
    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>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v025">0.2.5 - 20010710<br>modules</td>
  <td>
    I changed the index-generation scripts so they generate valid html 3.2 ...<br><br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v024">0.2.4 - 20010607<br>diagrams<br>clearall</td>
  <td>
    The &quot;clearall&quot; script has now an option to remove precompiled binaries created by &quot;compile&quot;<br><br>
    &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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v023">0.2.3 - 20010605<br>rrdtimer<br>modules</td>
  <td>
    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>
    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>
    A speedup has been added:<br><br>
    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>
    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>
    The modules now generate timestamps in the &quot;rrdtimer.err&quot; logfile.<br><br>
    The name of the PID-file is now free configurable in the settings file.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v022">0.2.2 - 20010514<br>rrdtimer<br>databases<br>system</td>
  <td>
    Debugging mode in &quot;rrdtimer&quot; now only shows 4 digits after decimal point for better readability.<br><br>
    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>
    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>
    <font color="#FF0000">IMPORTANT NOTICE FOR UPGRADERS:<br>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v021">0.2.1 - 20010510<br>traffic, dnet, part<br>convert<br>settings</td>
  <td>
    Some bugs were fixed in the traffic, dnet and part modules:<br>
    <ul type=disc>
      <li>the &quot;diagrams&quot; script in the traffic-module produced some errors due to a wrong variable-assignment.
      <li>the &quot;diagrams&quot; script in the part module produced errors because &quot;rrdtool&quot; was called with some parameters mixed up.
      <li>the convert.sh script only converted the graphics from system and dnet. Now it handles all graphics.
      </ul>
    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>
    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>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v020">0.2.0 - 20010509<br>rrdtimer<br>dnet</td>
  <td>
    Well, this is something revolutionary ;)<br>
    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>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v019">0.1.9 - 20010506<br>dnet</td>
  <td>
    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>
    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>
    Ok, these stats are just looking fine right now.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v018">0.1.8 - 20010421<br>diagrams<br>traffic</td>
  <td>
    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>
    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>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v017">0.1.7 - 20010408<br>traffic</td>
  <td>
    further little speed-up was archieved by not using so many temp-files in the traffic-plugin.<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v016">0.1.6 - 20010405<br>read-data<br>settings</td>
  <td>
    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>
    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>
    However, this applies only for the sample-part of the traffic and the partition section for now... but i'm working on it ... ;)<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v015">0.1.5 - 20001219<br>makeindex</td>
  <td>
    Corrected a little bug in the &quot;makeindex&quot; files. Weekly stats indexpage will now be built correctly.<br>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v014">0.1.4 - 20001215<br>makerrd</td>
  <td>
    Corrected a missing settings-call in the &quot;makerrd&quot; scripts which caused the tool to create no databases at all.<br>
    Thanks to Markus Bajohr!<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="v013">0.1.3 - 20001209<br>part</td>
  <td>
    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>
    Thanks to Michael Neumann!<br>
    <br>
    <br>
    <hr>
    </td></tr>
  <tr><td valign=top><a name="pre013">pre 0.1.3</td>
  <td>
    I report changes and bugs since version 0.1.2 - all earlier versions were just like the beginning of all life ;)<br><br>
    o.K. let's see. What can &quot;rrdgraph&quot; do right now ?<br><br>
    The system-plugin ( This was my first plugin. Actually it hasn't been a plugin up to 0.0.1 ) will collect data about:
    <ul type=disc>
      <li>processes (sleeping, running, stopped, zombie)
      <li>CPU time (idle, nice, user, system)
      <li>loadaverage
      <li>memory (free, buffered, shared, cached)
      <li>swapfile (free, used)
      </ul>
    The traffic-plugin will collect data about all your local network interfaces except loopback.<br><br>
    The partitions-plugin collects data about your partition-usage.<br>
    Some bugs have to be fixed here!<br>
    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>
    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>
    <br>
    <br>
    <hr>
    </td></tr>
  </table>
</center>
</BODY>
</HTML>


Powered by WebSVN 2.2.1