Skip to content

Releases: howardjones/network-weathermap

Weathermap 0.98a

04 May 11:00
Compare
Choose a tag to compare

This version is for Cacti 0.8.8 ONLY - it doesn't work with Cacti 1.x. That is in development.

This is a roll-up of all the small bugfixes for the last couple of years, especially those that stop Weathermap
working with newer MySQL or PHP versions. There is a more substantial 1.0 release in the works, but I will backport any simple improvements or fixes to 0.98(abcd) releases. There are also small usability changes aimed at reducing repeat "error reports" in the forums.

Also, the license has changed from GPLv2 to MIT - this is intended to make life easier for those integrating Weathermap into something else, and also some enterprise users.

IMPORTANT NOTE - you may need to reset permissions on your users after upgrading, as I've
finally switched to the "new-style" plugin API that's been around for 5+ years. This handles
permissions differently, unfortunately.

IMPORTANT NOTE 2: THIS RELEASE DOES NOT WORK WITH CACTI 1.x! You will want version 1.0+ for that.

0.98a
FIXED - Works with PHP 7.x and 5.6 - removed all mysql_*() function calls, and use PDO instead
FIXED - Blank line issue with RRDtool 1.5+

NOTE: The installable plugin is php-weathermap-0.98a.zip, NOT the "source code" link below.

Weathermap 0.98

29 May 18:35
Compare
Choose a tag to compare

This version is for Cacti 0.8.8 ONLY - it doesn't work with Cacti 1.x. That is in development.

This is a roll-up of all the small bugfixes for the last couple of years, especially those that stop Weathermap
working with newer MySQL or PHP versions. There is a more substantial 1.0 release in the works, but I will backport
any simple improvements or fixes to 0.98(abcd) releases. There are also small usability changes aimed at reducing
repeat "error reports" in the forums.

IMPORTANT NOTE - you may need to reset permissions on your users after upgrading, as I've
finally switched to the "new-style" plugin API that's been around for 5+ years. This handles
permissions differently, unfortunately.

0.98
FIXED - MySQL error in table-creation. MySQL 5.6 is fussier.
FIXED - Editor 'delete link' broken
FIXED - KILO was ignored when processing %k in special tokens
FIXED - Various fixes for PHP deprecated or strict-mode warnings
FIXED - Line-ending trimming in 'external script' data source
FIXED - rounding error 'kinks' in angled VIA links
FIXED - Config file path validation issue in editor (CVE-2013-3739)
FIXED - Cloning a templated node in editor retains the template in the clone
FIXED - cacti_use_ifspeed incorrect when interfaces > 20M and ifhighspeed available
FIXED - More PHP 5.3/5.4/strict related errors (split -> explode)
CHANGE - Finally switch to "new-style" plugin API.
CHANGE - Editor data picker improved sort (thanks shd)
CHANGE - (Cacti plugin only) images are written to a temporary file first, to avoid displaying half-written images
CHANGE - Editor no longer uses editor-config.php
ADDED - Weathermap will use anti-aliasing if your GD supports it (php-bundled GD doesn't) (thanks shd)
ADDED - Special token formatting can handle timeticks and time_t formatting (%T and %t respectively)
ADDED - new DATAOUTPUTFILE allows collected data to be written to a file for later use (automatically enabled in Cacti)
ADDED - new wmdata: datasource plugin can read data from files produced by DATAOUTPUTFILE
ADDED - IMAGEOUTPUTFILE and HTMLOUTPUTFILE are honoured in Cacti poller as a location for a second copy of those files.
ADDED - Editor 'tidy link' function replaces Vert & Horiz, and does much nicer job
ADDED - 'retidy' option in editor to recalculate all links previously positioned with 'tidy'.
ADDED - KEYBGCOLOR and KEYOUTLINECOLOR both accept 'none'
ADDED - command-line weathermap has new --no-warn option to disable warnings
ADDED - AICONFILLCOLOR accepts 'none' for drawing giant transparent shapes.
ADDED - Extra warning for Boost users about poller_output
ADDED - if there are actually 0 maps in the database, the 'Weathermaps' tab gives some basic instructions.
ADDED - Cacti data picker in editor tracks most recently used hosts (thanks Zdolny)
ADDED - New permission in Cacti: edit maps. Maps can be edited by authorized users without needing to enable the editor in the source code.

Weathermap 0.97c

24 May 09:52
Compare
Choose a tag to compare

0.97c has no additional changes - it's just 0.97b with some silly errors fixed, and all
the CSS files included with the correct paths. There were also reports of problems with the
actual zip file.

Weathermap 0.97b

24 May 08:12
Compare
Choose a tag to compare

0.97b FIXED - absolute SCALE definitions didn't support K (thanks wwwdrich)
FIXED - memory leak in poller code. Memory usage is MUCH lower now.
FIXED - updated mysql schema commands to use modern ENGINE instead of TYPE;
FIXED - static datasource plugin honours KILO
FIXED - check-gdbug.php shouldn't complain about empty ob_flush buffers anymore
FIXED - SNMP DS should deal better with non-numeric (and blank) return values
FIXED - NINK colours were exchanged (thanks Deathwing00!)
FIXED - WriteConfig (i.e. editor) won't 'lose' absolute keyword from
FIXED - fixed some function-name clashes with other plugins
FIXED - PHP 5.3/5.4/strict related errors ("Creating default object from empty value")
CHANGE - editor snap function improved (snap to nearest point) (thanks Andreas Braun)
CHANGE - the Cacti UI will warn you about fundamental file permissions problems
CHANGE - editor ignores attempts to rename nodes to have space in names
CHANGE - Moved all PHP that doesn't need to be web-accessible into lib
CHANGE - Editor won't deal with config files that don't have a .conf extension
CHANGE - Manual updates for changes in Cacti, and improvements in styling. Security section added.
CHANGE - General improvements in input validation and output escaping in editor
CHANGE - 'External Script' datasource plugin is disabled by default in new installs (NOT upgrades though!)
ADDED - Caching for cacti data fetched by dsstats and rrdtool/poller_output DS plugins
ADDED - Ability to disable any warning with 'SET nowarn_WMxxx 1'
ADDED - .htaccess files added for directories that don't need to be web-accessible - needs "AllowOverride Limit" or "AllowOverride All" in your Apache config.

Weathermap 0.97a

24 May 08:14
Compare
Choose a tag to compare

0.97a FIXED - Incorrect action URL in 'map selector' combo box for Cacti users.
FIXED - cacti_graph_id set to 0 instead of ID, by rrd/poller_output and dsstats plugins (thanks sh0x)
FIXED - 'classic' legend drew 'hidden' colour values for things like key background colour. (thanks jmayniac)
FIXED - PHP 5.3 deprecated code in HTML_Imagemap.class.php
FIXED - 'Show Only First' option ignored in Cacti (thanks inko_nick)
FIXED - Editor deals with overlapping nodes on different ZORDERS properly.
FIXED - "property of non-object in editor.php line 466" while editing map properties (thanks to iNeo)
FIXED - no-data option on command-line didn't work
FIXED - Clone Node was broken in 0.97
FIXED - Maps with per-user permissions show up multiple times in map selector
FIXED - Removed incorrect warning about imagefilter and USEICONSCALE.
FIXED - string escaping bug with editor and direct config changes (thanks uhtred)
FIXED - --imageuri was ignored on command-line (thanks Marcus Stögbauer)
FIXED - links with targets containing spaces are broken by the editor (thanks Andreas Braun)
FIXED - deprecated jQuery function call in cacti-pick.php (thanks again Andreas Braun)
CHANGE - Group sorting is a bit more logical and the presentation nicer.
CHANGE - cacti-integrate.php uses getopt to take more command-line params
CHANGE - Updated jQuery to latest version
CHANGE - Number formatting will pick 1G over 1000M (and similar) (thanks cerbum)
CHANGE - The editor is disabled by default - see top of editor.php (and install guide)
ADDED - LINK WIDTH accepts decimals
ADDED - cacti-integrate.php can generate DSStats TARGETs too
ADDED - Simple VIA editing in editor (thanks to Zdolny)
ADDED - SCALE can accept G,M,K,T,m,u,n suffixes (for absolute scales)

Weathermap 0.97

24 May 08:14
Compare
Choose a tag to compare

0.97 FIXED - RRD Aggregation regexp was failing (thanks to shd)
FIXED - Scale numerals honour locale (thanks again, shd)
FIXED - THold plugin check failed with Thold 0.4.1 (PA 2.x, actually)
FIXED - Uninitialized variable in ReadData when plugin is disabled
FIXED - Zero-length link check didn't include offsets (thanks Ryan Botoluzzi)
FIXED - Cacti-pick should get right rra path for packagers that move the rra directory (e.g. Ubuntu, Debian again)
FIXED - DS plugins that return one value and a null should work properly
FIXED - "Strange" characters (e.g. /) in NODE and LINK names broke the imagemap.
FIXED - Map Style settings in editor were broken after internal defaults changes
FIXED - Imagemap no longer contains areas with no href defined
FIXED - SPLITPOS was ignored with VIASTYLE angled (thanks to uhtred)
FIXED - 'AICONOUTLINECOLOR none' is actually valid now (thanks to mgb & Leathon)
FIXED - readdir() loop never stops, on some systems (thanks to jerebernard)
FIXED - bad regexp in the MRTG DS plugin (thanks to Matt McMahon)
FIXED - 0.96 had a new 'time' DS plugin - now documented!
FIXED - NCFPC now only complains about missing scale lines on NODEs for the variable that is in use.
ADDED - USEICONSCALE no longer has special dependencies - and the colours are nicer too.
ADDED - Option of a dropdown selector to navigate between maps (in full-size view)
ADDED - Maps can be organised into groups in Cacti plugin. These appear
as tabs in the UI for viewing maps.
ADDED - Extra variables can be defined per-group, so all maps in a group can have similar settings (e.g. a "24hr average" tab).
ADDED - INCLUDE keyword to include a file of common definitions (based on work by BorisL)
(NOTE: this can confuse the editor sometimes - see the manual page for INCLUDE)
ADDED - Warning for maps that contain OVERLIBGRAPH but not 'HTMLSTYLE overlib'
ADDED - Warning for use of TEMPLATE not as the first line of an object (overwrites settings otherwise)
ADDED - SCALE will accept values below 0, and also above 100
ADDED - USESCALE has two new options: absolute and percent, which allows you to have a SCALE of absolute values
ADDED - New datasource plugin to support statistics from TheWitness's DSStats Cacti Plugin. This gets you daily,weekly,monthly and annual stats with no complicated rrdtool stuff.
ADDED - New converter to take a rrdtool-based map config and make it into a DSStats-based one
ADDED - static datasource can be used for negative values
ADDED - SNMP datasource has configurable timeout and retry values.
ADDED - SNMP datasource has option to give up on a failing host
ADDED - LABELOFFSET supports percentage compass offsets and radial offsets, like NODES does.
ADDED - Percentage compass offsets (NODES and LABELOFFSET) support > 100% offsets