├── CHANGELOG.md ├── COPYING ├── INFO ├── LICENSE ├── README.md ├── check.php ├── cli ├── .htaccess ├── README ├── auto-overlib.pl ├── bristle.php ├── cacti-integrate.php ├── cacti-mapper.php ├── convert-to-dsstats.php ├── index.php ├── map-tidyup.php └── upgrade_configs.php ├── configs ├── .htaccess ├── index.php └── simple.conf ├── css ├── editor.css └── weathermap.css ├── docs ├── example │ ├── Gradient_BK_800.png │ ├── Vera.ttf │ ├── VeraBI.ttf │ ├── VeraBd.ttf │ ├── VeraIt.ttf │ ├── VeraMoBI.ttf │ ├── VeraMoBd.ttf │ ├── VeraMoIt.ttf │ ├── VeraMono.ttf │ ├── VeraSe.ttf │ ├── VeraSeBd.ttf │ ├── background.png │ ├── example.conf │ ├── example.html │ ├── example.png │ ├── graph_image.png │ ├── graph_page.html │ ├── my_router.png │ ├── overlib.js │ ├── suite-1.conf │ ├── suite-1.png │ ├── suite-2.conf │ ├── suite-2.png │ └── weathermap.conf ├── fonts │ ├── PTC55F-webfont.ttf │ ├── PTC75F-webfont.ttf │ ├── PTN57F-webfont.ttf │ ├── PTN77F-webfont.ttf │ ├── PTS55F-webfont.ttf │ └── PTS75F-webfont.ttf ├── howto.pdf ├── howto.png ├── images │ ├── arrowstyle-classic.png │ ├── arrowstyle-compact.png │ ├── bwstyle-angled.png │ ├── bwstyle-classic.png │ ├── cacti_mainscreen.png │ ├── cacti_maps_manage.png │ ├── cacti_step1.png │ ├── cacti_step2.png │ ├── cacti_user_manage.png │ ├── cacti_wmap_settings.png │ ├── commentstyle-center.png │ ├── commentstyle-edge.png │ ├── compass-points.png │ ├── contrast.png │ ├── font-sizes.png │ ├── howto-thumb.jpg │ ├── keystyle-classic.png │ ├── keystyle-horizontal.png │ ├── keystyle-inverted.png │ ├── keystyle-tags.png │ ├── keystyle-vertical.png │ ├── labelangle+labeloffset.png │ ├── link-comments.png │ ├── linkoffset-defaults.png │ ├── linkoffset-east50west50.png │ ├── linkoffset-eastwest.png │ ├── linkoffset-parallel.png │ ├── linkoffset-radial.png │ ├── viastyle-angled.png │ ├── viastyle-curved.png │ ├── weathermap-example.png │ └── weathermap-mini.png ├── index.html ├── index.php ├── kube101 │ └── css │ │ └── kube.min.css ├── manual.css └── pages │ ├── advanced.html │ ├── cacti-plugin.html │ ├── changes.html │ ├── cli-reference.html │ ├── config-reference.html │ ├── editor.html │ ├── errorcodes.html │ ├── faq.html │ ├── install-cacti-editor.html │ ├── install-cacti.html │ ├── install-cli-editor.html │ ├── install-cli.html │ ├── main.html │ ├── targets.html │ ├── upgrading.html │ └── weathermap.css ├── images ├── backgrounds │ ├── Gradient_BK_800.png │ ├── background1_950x625_197.jpg │ ├── blueboard1024.png │ ├── bw_gradient_1024.png │ ├── index.php │ ├── uk1024.png │ └── uk1280_720.png ├── icons │ ├── application.png │ ├── application_side_list.png │ ├── application_xp_terminal.png │ ├── bug.png │ ├── comment.png │ ├── control_fastforward_blue.png │ ├── control_pause_blue.png │ ├── control_play_blue.png │ ├── control_rewind_blue.png │ ├── control_stop_blue.png │ ├── cross.png │ ├── emoticon_smile.png │ ├── emoticon_unhappy.png │ ├── error.png │ ├── exclamation.png │ ├── flag_blue.png │ ├── flag_green.png │ ├── flag_orange.png │ ├── flag_pink.png │ ├── flag_purple.png │ ├── flag_yellow.png │ ├── index.php │ ├── monitor.png │ ├── page_white.png │ ├── pencil.png │ ├── tick.png │ ├── world.png │ ├── world_link.png │ ├── wrench.png │ └── wrench_orange.png ├── index.php ├── objects │ ├── Cloud-Filled.png │ ├── Cloud-line.png │ ├── Firewall.png │ ├── HPMini.png │ ├── Host.png │ ├── PAD.png │ ├── Router.png │ ├── WorkgroupSwitch.png │ ├── arista-switch.png │ ├── blue-ball-64.png │ ├── cisco-asa.png │ ├── cisco-nexus.png │ ├── cisco-router-firewall.png │ ├── cisco-router.png │ ├── cisco-switch-l2.png │ ├── cisco-switch-l3-with-rp.png │ ├── cisco-switch-l3.png │ ├── cisco-switch-vss.png │ ├── cloud-v1.png │ ├── cloud-v2.png │ ├── cumulus-router-v2.png │ ├── cumulus-router-v3.png │ ├── cumulus-switch-v2.png │ ├── f5-gtm.png │ ├── f5-ltm.png │ ├── filecabinet.png │ ├── generic-adc-colour-3d.png │ ├── generic-adc-colour.png │ ├── generic-adc-mono.png │ ├── generic-firewall-flat-colour-label-v1-colour.png │ ├── generic-firewall-flat-colour-label-v1-mono.png │ ├── generic-firewall-flat-colour-label-v2-colour.png │ ├── generic-firewall-flat-colour-label-v2-mono.png │ ├── generic-firewall-v1-colour-3d.png │ ├── generic-firewall-v1-colour.png │ ├── generic-firewall-v1-mono.png │ ├── generic-firewall-v2-colour-3d.png │ ├── generic-firewall-v2-colour.png │ ├── generic-gtm-colour-3d.png │ ├── generic-gtm-colour.png │ ├── generic-gtm-mono.png │ ├── generic-router-colour.png │ ├── generic-router-flat-label-colour.png │ ├── generic-router-flat-label-mono.png │ ├── generic-router-mono.png │ ├── generic-router-square-colour-3d.png │ ├── generic-router-square-colour.png │ ├── generic-router-square-mono.png │ ├── generic-server-1.png │ ├── generic-server-2.png │ ├── generic-server-3.png │ ├── generic-switch-flat-l2-label-v1-colour.png │ ├── generic-switch-flat-l2-label-v1-mono.png │ ├── generic-switch-flat-l2-label-v2-colour.png │ ├── generic-switch-flat-l2-label-v2-mono.png │ ├── generic-switch-flat-l3-label-colour.png │ ├── generic-switch-flat-l3-label-mono.png │ ├── generic-switch-l2-v1-colour-3d.png │ ├── generic-switch-l2-v1-colour.png │ ├── generic-switch-l2-v1-mono.png │ ├── generic-switch-l2-v2-colour-3d.png │ ├── generic-switch-l2-v2-colour.png │ ├── generic-switch-l2-v2-mono.png │ ├── generic-switch-l3-colour-3d.png │ ├── generic-switch-l3-colour.png │ ├── generic-switch-l3-mono.png │ ├── green-ball-64.png │ ├── grey-ball-64.png │ ├── hollow32.png │ ├── index.php │ ├── juniper-firewall-router.png │ ├── juniper-router.png │ ├── juniper-switch-l2.png │ ├── juniper-switch-l3.png │ ├── red-ball-64.png │ ├── updown_0.png │ ├── updown_1.png │ ├── updown_2.png │ ├── viptela-vbond.png │ ├── viptela-vedge-square.png │ ├── viptela-vedge.png │ ├── viptela-vmanage.png │ ├── viptela-vsmart.png │ ├── vmware-compute.png │ └── yellow-ball-64.png ├── s_tab_weathermap.gif ├── s_tab_weathermap_red.gif ├── tab_weathermap.gif └── tab_weathermap_red.gif ├── index.php ├── js ├── editor.js ├── idle-timer.min.js ├── jquery.ddslick.js ├── jquery.ui-contextmenu.js ├── map-cycle.js └── weathermap.js ├── lib ├── .htaccess ├── HTML_ImageMap.class.php ├── WMLine.class.php ├── WMPoint.class.php ├── WMVector.class.php ├── WeatherMap.class.php ├── WeatherMap.functions.php ├── WeatherMap.keywords.inc.php ├── WeatherMapLink.class.php ├── WeatherMapNode.class.php ├── datasources │ ├── README.txt │ ├── WeatherMapDataSource_cactihost.php │ ├── WeatherMapDataSource_cactithold.php │ ├── WeatherMapDataSource_dsstats.php │ ├── WeatherMapDataSource_external.php.disabled │ ├── WeatherMapDataSource_fping.php │ ├── WeatherMapDataSource_mrtg.php │ ├── WeatherMapDataSource_rrd.php │ ├── WeatherMapDataSource_skeleton.php.txt │ ├── WeatherMapDataSource_snmp.php │ ├── WeatherMapDataSource_static.php │ ├── WeatherMapDataSource_tabfile.php │ ├── WeatherMapDataSource_time.php │ ├── WeatherMapDataSource_wmdata.php │ └── index.php ├── ds-common.php ├── editor.actions.php ├── editor.inc.php ├── geometry.php ├── index.php ├── poller-common.php ├── post │ ├── WeatherMapPostProcessorExample.php │ └── index.php └── pre │ ├── WeatherMapPreProcessorExample.php │ └── index.php ├── locales ├── LC_MESSAGES │ ├── ar-SA.mo │ ├── bg-BG.mo │ ├── de-DE.mo │ ├── el-GR.mo │ ├── es-ES.mo │ ├── fr-FR.mo │ ├── he-IL.mo │ ├── hi-IN.mo │ ├── index.php │ ├── it-IT.mo │ ├── ja-JP.mo │ ├── ko-KR.mo │ ├── lv-LV.mo │ ├── nl-NL.mo │ ├── pl-PL.mo │ ├── pt-BR.mo │ ├── pt-PT.mo │ ├── ru-RU.mo │ ├── sv-SE.mo │ ├── tr-TR.mo │ ├── vi-VN.mo │ ├── zh-CN.mo │ └── zh-TW.mo ├── build_gettext.sh ├── index.php └── po │ ├── ar-SA.po │ ├── bg-BG.po │ ├── cacti.pot │ ├── de-DE.po │ ├── el-GR.po │ ├── es-ES.po │ ├── fr-FR.po │ ├── he-IL.po │ ├── hi-IN.po │ ├── index.php │ ├── it-IT.po │ ├── ja-JP.po │ ├── ko-KR.po │ ├── lv-LV.po │ ├── nl-NL.po │ ├── pl-PL.po │ ├── pt-BR.po │ ├── pt-PT.po │ ├── ru-RU.po │ ├── sv-SE.po │ ├── tr-TR.po │ ├── vi-VN.po │ ├── zh-CN.po │ └── zh-TW.po ├── output ├── .htaccess └── index.php ├── setup.php ├── weathermap ├── weathermap-cacti-plugin-editor.php ├── weathermap-cacti-plugin-mgmt.php ├── weathermap-cacti-plugin.php └── weathermap-cacti-rebuild.php /INFO: -------------------------------------------------------------------------------- 1 | [info] 2 | name = weathermap 3 | version = 1.3.1 4 | longname = Weathermap Plugin 5 | author = The Cacti Group, Howard Jones 6 | email = developers@cacti.net 7 | homepage = https://cacti.net 8 | compat = 1.2.24 9 | nosync = true 10 | capabilities = online_view:1, online_mgmt:1, offline_view:0, offline_mgmt:0, remote_collect:0 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 thurban 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PHP Network Weathermap 1.0 2 | 3 | This is PHP Network Weathermap fork, version 1.0. The PHP Weathermap was 4 | originally by Howard Jones (howie@thingy.com). As Howie has scaled back his 5 | Cacti plugin development work, we will release this version that incorporates 6 | his core framework from the 0.98 version. In future releases, we will look 7 | to incorporate subequent releases of the WeatherMap core. 8 | 9 | See the docs sub-directory for full HTML documentation, FAQ and example config. 10 | 11 | See CHANGELOG.md for the most recent updates, listed by version. 12 | 13 | See COPYING for the license under which php-weathermap is released. 14 | 15 | ## Compatibility 16 | 17 | This version only works with Cacti 1.2.x onwards. A re-write of the user interface 18 | is being made to make it more compatible with 1.2.x and 1.3.x releases. 19 | 20 | ## Contribute 21 | 22 | Check out the main [Cacti](http://www.cacti.net) web site for downloads, change 23 | logs, release notes and more! 24 | 25 | ## Community forums 26 | 27 | Given the large scope of Cacti, the forums tend to generate a respectable amount 28 | of traffic. Doing your part in answering basic questions goes a long way since 29 | we cannot be everywhere at once. Contribute to the Cacti community by 30 | participating on the [Cacti Community Forums](http://forums.cacti.net). 31 | 32 | For Network Weathermap's core support, there is much more information along with 33 | tutorials and updates available at Howard Jone's site: 34 | 35 | http://www.network-weathermap.com/ 36 | 37 | ## Important Notes 38 | 39 | This version of Weathermap only works with Cacti 1.2.x and above only. 40 | beta, yet non-production use at this time. 41 | 42 | The location of backgrounds and object images has changed! The upgrade script 43 | will attempt to move these backgrounds and images to the new locations, 44 | but you may have some cleanup to do especially if you customized the locations. 45 | 46 | WARNING: Before upgrading make ensure the poller account can move config file 47 | images into into the plugins various images directories. Fail to do so 48 | may result in corrupted config files. 49 | 50 | NOTE: The directories: `cacti-resources` and `editor-resources` have been removed 51 | in favor of the standard `js` and `css` folders. You should remove these 52 | folders after installation. 53 | 54 | WARNING: Since previously the WeatherMap Editor had essentially no security, 55 | this version will be 100% dependent on the Cacti Security model to authorize users. 56 | 57 | NOTE: The Overlib library dependency has been removed in this release. 58 | 59 | When reviewing the plugin in detail, there were so many possible enhancements 60 | that could be incorporated into the tool, but for now, it's really just to 61 | bring the Weathermap plugin fully into the Cacti 1.x and beyond. 62 | 63 | ## GitHub Documentation 64 | 65 | Get involved in creating and editing Cacti Documentation! Fork, change and 66 | submit a pull request to help improve the documentation on 67 | [GitHub](https://github.com/cacti/documentation). 68 | 69 | ## GitHub Development 70 | 71 | Get involved in development of Cacti! Join the developers and community on 72 | [GitHub](https://github.com/cacti)! 73 | 74 | ## Original Weathermap Plugin 75 | 76 | Howard Jones original work can still be found on GitHub at the following location. 77 | 78 | https://github.com/howardjones/network-weathermap 79 | 80 | Howie has done extensive rework of his Weathermap API that we will look to incorporate 81 | in future releases of the Cacti version of the plugin. 82 | 83 | ## Included 3rd Party Component Software 84 | 85 | * ddSlick - A forked and jQueryUI compatible version of the jquery images dropdown 86 | plugin. 87 | 88 | See: https://jquery-plugins.net/ddslick-dropdown-with-images 89 | 90 | * Network-Icons-SVG - A collection of network icons in SVG format converted 91 | to work with Weathermaps PNG format. 92 | 93 | See: https://github.com/aci686/Network-Icons-SVG 94 | 95 | * The Bitstream Vera Open Source fonts (Vera\*.ttf) are copyright Bitstream, Inc. 96 | 97 | See: http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html 98 | 99 | * The manual uses the Kube CSS Framework and ParaType's PT Sans font. 100 | 101 | See: http://imperavi.com/kube/ 102 | See: http://www.fontsquirrel.com/fonts/PT-Sans 103 | 104 | * Some of the icons used in the editor, and also supplied in the images/ folder are 105 | from the excellent Fam Fam Fam Silk Icon collection by Mark James released under 106 | a Creative Commons license. 107 | 108 | See: http://www.famfamfam.com/lab/icons/silk/. 109 | See: http://creativecommons.org/licenses/by/2.5/ 110 | 111 | ----------------------------------------------------------------------------- 112 | Copyright (c) 2004-2024 - The Cacti Group, Inc. 113 | -------------------------------------------------------------------------------- /cli/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Order deny,allow 3 | Deny from all 4 | 5 | -------------------------------------------------------------------------------- /cli/README: -------------------------------------------------------------------------------- 1 | suite-1.conf 2 | suite-2.conf 3 | ============ 4 | These are my test map config files that exercise a fair bit of the 5 | functionality of Weathermap, in a couple of files. The first one 6 | is mostly NODE stuff, and the second is mostly LINK stuff. As such, 7 | they make quite useful demo maps, I guess. suite-1.png and suite-2.png 8 | show what these maps *should* look like. They use quite a few fonts 9 | that I can't supply, but mostly they use Bitstream Vera, which is in 10 | the docs/example directory. 11 | 12 | map-split.php 13 | ============= 14 | 15 | Reads in a map, then writes out 'submaps' of a certain size. Edit the 16 | top of the script to specify the source map, and the required size of 17 | the new maps, and it will chop up your map for you. It doesn't do 18 | anything clever with things like KEYPOS or TITLEPOS, but it will do 19 | NODEs OK. It'll delete any links where only one end is in the final 20 | map, so cross-sheet links will need to be put back in. It also removes 21 | the BACKGROUND image if there is one, since it will (by definition) be 22 | the wrong size for the new maps. 23 | 24 | auto-overlib.pl 25 | =============== 26 | 27 | A small but useful script that takes a weathermap config file with 28 | references to Cacti RRD targets and automatically adds in all the 29 | INFOURL and OVERLIBGRAPH lines it can, where they don't exist. 30 | 31 | You'll need to edit the script to allow it to log in to your Cacti 32 | database. Requires the Perl DBI and DBD::mysql modules. 33 | 34 | Should work with both PHP and perl versions, but not tested with PHP 35 | one. 36 | 37 | cacti-integrate.php 38 | =================== 39 | 40 | A script that reads in a weathermap config file, looks for special SET 41 | variables and uses them to populate as much as it can of TARGET, INFOURL, 42 | OVERLIBGRAPH, and BANDWIDTH. Requires a correct editor-config.php to access 43 | the Cacti database. 44 | 45 | You need SET one of 'cacti_id', 'hostname' or 'address' in each NODE so that 46 | it can find the Cacti Host ID for each node. 47 | 48 | You need to SET one of 'in_interface' or 'out_interface' to the interface name 49 | so that it can figure out which data sources are relevant. The interface name should 50 | match one of ifAlias, ifName or ifDescr from your router. 51 | 52 | More info here: http://forums.cacti.net/about26544.html 53 | 54 | cacti-mapper.php 55 | ================ 56 | 57 | A script that reads interface IPs from Cacti, and then uses Cacti's SNMP data 58 | to fetch a netmask for each interface. It then uses all this info to work out 59 | which interfaces are in the same address range as each other, and produces a 60 | map. The map positions are random, but the connections should be right. You need 61 | to run the results through cacti-integrate.php, to fill in the TARGET lines. 62 | Requires a correct editor-config.php to access the Cacti database. 63 | 64 | bristle.php 65 | ============ 66 | 67 | Generates a section of Weathermap config useful for showing traffic for all switch 68 | ports in a small space. Intended to work with cacti-integrate.php 69 | 70 | More info here: http://forums.cacti.net/post-152500.html#152500 -------------------------------------------------------------------------------- /cli/auto-overlib.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | use DBI; 4 | 5 | # This should be the URL for the base of your cacti install (no trailing slash) 6 | $cacti_base = "http://www.mynet.net/cacti"; 7 | 8 | # How we should access your Cacti database.... 9 | $db_name = "cacti"; 10 | $db_username = "cactiuser"; 11 | $db_password = "somepassword"; 12 | $db_host = "localhost"; 13 | 14 | # 15 | # You shouldn't need to change anything below here 16 | # 17 | 18 | $cacti_graph = "$cacti_base/graph_image.php?local_graph_id=%d&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300"; 19 | $cacti_graphpage = "$cacti_base/graph.php?rra_id=all&local_graph_id=%d"; 20 | 21 | $DSN = "DBI:mysql:database=$db_name:host=$db_host"; 22 | 23 | $dbh = DBI->connect( $DSN, $db_username, $db_password ); 24 | 25 | $inputfile = $ARGV[0]; 26 | $outputfile = $inputfile . ".new"; 27 | 28 | open( INPUT, $inputfile ) || die($!); 29 | open( OUTPUT, ">$outputfile" ); 30 | 31 | while () { 32 | if (m/^\s*LINK\s+(\S+)/i) { 33 | if ( $overlibcount == 0 && $target ne "" ) { 34 | find_graph_urls($target); 35 | } 36 | 37 | $overlibcount = 0; 38 | $target = ""; 39 | } 40 | if (m/^\s*TARGET\s+(\S+\.rrd)/i) { 41 | $target = $1; 42 | } 43 | if (m/^\s*OVERLIBGRAPH\s+(\S+)/i) { 44 | $overlibcount++; 45 | } 46 | 47 | print OUTPUT $_; 48 | } 49 | 50 | # for the last LINK 51 | if ( $overlibcount == 0 && $target ne "" ) { 52 | find_graph_urls($target); 53 | } 54 | 55 | close(OUTPUT); 56 | close(INPUT); 57 | 58 | print "\nNew config file is saved in $outputfile\n"; 59 | 60 | sub find_graph_urls { 61 | my ($target) = shift; 62 | 63 | # $dbh is global 64 | my ( @bits, $SQL, $sth, $data ); 65 | my ( $data_template_id, $local_data_id, $count, $output ); 66 | my ( $local_graph_id, $title, $graph_url, $graphpage_url ); 67 | 68 | # we've reached the next link entry, and there's work to be done 69 | @bits = split( /\//, $target ); 70 | $target = $bits[-1]; 71 | print "Find a graph for $target\n"; 72 | 73 | $SQL = "select local_data_id from data_template_data where data_source_path like '%".$target."' LIMIT 1"; 74 | $sth = $dbh->prepare($SQL); 75 | $sth->execute(); 76 | $data = $sth->fetchrow_hashref(); 77 | $local_data_id = $$data{local_data_id}; 78 | $sth->finish(); 79 | 80 | $SQL = 81 | "SELECT id FROM data_template_rrd WHERE local_data_id=$local_data_id LIMIT 1"; 82 | $sth = $dbh->prepare($SQL); 83 | $sth->execute(); 84 | $data = $sth->fetchrow_hashref(); 85 | $data_template_rrd_id = $$data{id}; 86 | $sth->finish(); 87 | 88 | $SQL = 89 | "SELECT DISTINCT graph_templates_item.local_graph_id,title_cache FROM graph_templates_item,graph_templates_graph WHERE task_item_id=$data_template_rrd_id and graph_templates_graph.local_graph_id = graph_templates_item.local_graph_id"; 90 | $sth = $dbh->prepare($SQL); 91 | $sth->execute(); 92 | $count = 0; 93 | $output = ""; 94 | while ( $data = $sth->fetchrow_hashref() ) { 95 | $local_graph_id = $$data{local_graph_id}; 96 | $title = $$data{title_cache}; 97 | $graph_url = sprintf( $cacti_graph, $local_graph_id ); 98 | $graphpage_url = sprintf( $cacti_graphpage, $local_graph_id ); 99 | $output .= "\t# POSSIBLE OVERLIBGRAPH ($title) \n"; 100 | $output .= "\t# OVERLIBGRAPH $graph_url\n"; 101 | $output .= "\t# INFOURL $graphpage_url\n"; 102 | $count++; 103 | } 104 | $sth->finish(); 105 | if ( $count == 1 ) { 106 | print " Single option. Adding it.\n"; 107 | print OUTPUT 108 | "\t#Automatically made. Graph is ID $local_graph_id: $title\n"; 109 | print OUTPUT "\tOVERLIBGRAPH $graph_url\n"; 110 | print OUTPUT "\tINFOURL $graphpage_url\n"; 111 | } 112 | else { 113 | print " Multiple options. Adding them as comments.\n"; 114 | print OUTPUT $output; 115 | } 116 | 117 | print OUTPUT "\n\n"; 118 | 119 | } 120 | -------------------------------------------------------------------------------- /cli/bristle.php: -------------------------------------------------------------------------------- 1 | $halfway) { 72 | $offset = ($n - 24 - 1 - $quarter)*8; 73 | } else { 74 | // The first 24 ports grow up instead of down 75 | $offset = ($n - 1 - $quarter)*8; 76 | $voffset = -$voffset; 77 | $voffset2 = -$voffset2; 78 | } 79 | 80 | $target = 'tgt?'; 81 | $infourl = 'info?'; 82 | $overliburl = 'over?'; 83 | 84 | printf("NODE %s\n\tPOSITION %s %d %d\n\tSET cacti_id %d\n\n", $nodename,$switchname,$offset,$voffset, $cacti_host_id); 85 | 86 | printf("LINK %s\n\tNODES %s:%d:%d %s\n\tBWLABEL none\n\tWIDTH 2\n\tARROWSTYLE compact\n\tOUTLINECOLOR none\n", $linkname, $switchname, $offset, $voffset2, $nodename); 87 | 88 | $interfacename = sprintf($interfacepattern,$n); 89 | 90 | print "\tSET out_interface $interfacename"; 91 | 92 | # printf("\tINFOURL %s\n\tOVERLIBGRAPH %s\n\tTARGET %s\n", $infourl, $overliburl, $target ); 93 | print "\n\n"; 94 | } 95 | 96 | print "# Now run this output through cacti-integrate.php to add all the INFOURL and TARGET lines"; 97 | 98 | -------------------------------------------------------------------------------- /cli/index.php: -------------------------------------------------------------------------------- 1 | 0) { 66 | foreach ($options as $arg => $value) { 67 | switch ($arg) { 68 | case 'debug': 69 | $weathermap_debugging = true; 70 | 71 | break; 72 | case 'help': 73 | case 'H': 74 | case 'h': 75 | display_help(); 76 | 77 | exit(); 78 | 79 | break; 80 | case 'version': 81 | case 'V': 82 | case 'v': 83 | display_version(); 84 | 85 | exit(); 86 | 87 | break; 88 | default: 89 | print 'ERROR: Invalid Parameter ' . $arg . PHP_EOL . PHP_EOL; 90 | 91 | display_help(); 92 | 93 | exit(1); 94 | } 95 | } 96 | } 97 | 98 | print 'About to repair maps' . PHP_EOL; 99 | weathermap_repair_maps(); 100 | print 'Done repairing maps' . PHP_EOL; 101 | 102 | function display_help() { 103 | display_version(); 104 | 105 | print 'upgrade_configs.php: [ --debug ] ' . PHP_EOL . PHP_EOL; 106 | print ' --debug - Enable debugging output' . PHP_EOL; 107 | } 108 | 109 | function display_version() { 110 | global $config; 111 | 112 | if (!function_exists('plugin_weathermap_version')) { 113 | include_once($config['base_path'] . '/plugins/weathermap/setup.php'); 114 | } 115 | 116 | $info = plugin_weathermap_version(); 117 | 118 | print 'Weathermap Config Upgrade Utility, The Cacti Group, Inc., Version ' . $info['version'] . ', ' . WM_COPYRIGHT_YEARS . PHP_EOL; 119 | } 120 | 121 | -------------------------------------------------------------------------------- /configs/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Order deny,allow 3 | Deny from all 4 | 5 | -------------------------------------------------------------------------------- /configs/index.php: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 |
6 |And this would normally be a page within your Cacti or MRTG system.
17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/example/my_router.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/example/my_router.png -------------------------------------------------------------------------------- /docs/example/suite-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/example/suite-1.png -------------------------------------------------------------------------------- /docs/example/suite-2.conf: -------------------------------------------------------------------------------- 1 | # Automatically generated by php-weathermap v0.91 2 | 3 | BACKGROUND images/uk1024.png 4 | 5 | FONTDEFINE 92 VeraIt 7 6 | FONTDEFINE 102 Vera 8 7 | 8 | TITLE Test Suite 2 - Nodes 9 | HTMLOUTPUTFILE suite-2.html 10 | IMAGEOUTPUTFILE suite-2.png 11 | TIMEPOS 5 15 Created: %b %d %Y %H:%M:%S 12 | 13 | KEYPOS DEFAULT -1 -1 Traffic Load 14 | KEYTEXTCOLOR 0 0 0 15 | KEYBGCOLOR 255 255 255 16 | BGCOLOR 192 192 192 17 | TITLECOLOR 0 0 0 18 | TIMECOLOR 255 255 255 19 | SCALE DEFAULT 1 10 140 0 255 20 | SCALE DEFAULT 10 25 32 32 255 21 | SCALE DEFAULT 25 40 0 192 255 22 | SCALE DEFAULT 40 55 0 240 0 23 | SCALE DEFAULT 55 70 240 240 0 24 | SCALE DEFAULT 70 85 255 192 0 25 | SCALE DEFAULT 85 100 255 0 0 26 | 27 | 28 | # End of global section 29 | 30 | # DEFAULT definitions: 31 | NODE DEFAULT 32 | LABEL {node:this:name} 33 | ICON 64 64 images/hollow32.png 34 | LABELOFFSET S 35 | OVERLIBWIDTH 400 36 | OVERLIBHEIGHT 200 37 | LABELBGCOLOR none 38 | LABELFONTCOLOR 255 255 255 39 | LABELOUTLINECOLOR none 40 | LABELFONTSHADOWCOLOR 0 0 0 41 | MAXVALUE 100 42 | SET sigdigits 1 43 | 44 | LINK DEFAULT 45 | OVERLIBWIDTH 400 46 | OVERLIBHEIGHT 200 47 | BWLABEL bits 48 | BWFONT 102 49 | COMMENTFONT 92 50 | WIDTH 5 51 | BANDWIDTH 100M 52 | 53 | 54 | # End of DEFAULTS section 55 | 56 | # Node definitions: 57 | NODE Centre 58 | POSITION 500 400 59 | 60 | NODE NorthEast 61 | POSITION 700 200 62 | 63 | NODE NorthEast_telnet 64 | LABEL 65 | INFOURL telnet://northeast/ 66 | ICON 16 16 images/application_xp_terminal.png 67 | POSITION NorthEast 44 -25 68 | 69 | NODE NorthEast_www 70 | LABEL 71 | INFOURL http://northeast/ 72 | ICON 16 16 images/application_side_list.png 73 | POSITION NorthEast 44 -5 74 | 75 | NODE North 76 | LABEL {node:this:sigdigits} 77 | POSITION 500 200 78 | 79 | NODE South 80 | POSITION 500 600 81 | 82 | NODE West 83 | POSITION 300 400 84 | 85 | NODE East 86 | POSITION 700 400 87 | 88 | NODE SouthEast 89 | POSITION 749 720 90 | 91 | NODE SouthWest 92 | POSITION 300 600 93 | 94 | NODE NorthWest 95 | POSITION 300 200 96 | 97 | NODE node20 98 | POSITION 100 200 99 | MAXVALUE 50 100 | 101 | NODE node30 102 | POSITION 100 400 103 | MAXVALUE 30 60 104 | 105 | NODE node100 106 | LABELOFFSET C 107 | POSITION 900 200 108 | 109 | NODE node101 110 | LABELOFFSET C 111 | POSITION 695 305 112 | 113 | NODE node102 114 | LABELBGCOLOR 32 32 32 115 | LABELOUTLINECOLOR 255 255 255 116 | POSITION 900 600 117 | 118 | 119 | # End of NODE section 120 | 121 | # Link definitions: 122 | LINK Link1 123 | ARROWSTYLE compact 124 | NODES Centre:N North:S 125 | 126 | LINK Link2 127 | ARROWSTYLE compact 128 | NODES Centre:E East:W 129 | 130 | LINK Link3 131 | ARROWSTYLE 2 1 132 | NODES Centre:S South:N 133 | 134 | LINK Link4 135 | ARROWSTYLE 3 2 136 | NODES Centre:W West:E 137 | 138 | LINK Link5 139 | ARROWSTYLE 6 2 140 | NODES Centre:NW NorthWest:SE 141 | 142 | LINK Link6 143 | ARROWSTYLE compact 144 | BWOUTLINECOLOR none 145 | BWBOXCOLOR none 146 | NODES Centre:NE NorthEast:SW 147 | 148 | LINK Link7 149 | NODES Centre:SE SouthEast:NW 150 | 151 | LINK Link8 152 | NODES Centre:SW SouthWest:NE 153 | 154 | LINK Link9 155 | NODES NorthWest:N NorthEast:N 156 | VIA 500 100 157 | 158 | LINK Link9a 159 | NODES NorthWest:NE NorthEast:NW 160 | VIA 500 130 161 | 162 | LINK middles 163 | NODES NorthWest node20 164 | 165 | LINK numeric 166 | NODES node20:10:10 node30:-10:-10 167 | 168 | LINK loop1 169 | NODES East:N East:S 170 | VIA 750 300 171 | VIA 800 400 172 | VIA 750 500 173 | 174 | LINK parallel_1 175 | NODES SouthWest:32:-12 South:-32:-12 176 | 177 | LINK parallel_2 178 | BWLABELPOS 20 80 179 | NODES SouthWest:32:12 South:-32:12 180 | 181 | LINK longloop 182 | INCOMMENT This is a comment for the in-side of the link. 183 | OUTCOMMENT MXUK1122 184 | NODES South:SW West:SW 185 | VIA 300 740 186 | VIA 200 740 187 | VIA 200 600 188 | 189 | LINK nooutline 190 | OUTLINECOLOR none 191 | NODES node100:W node101:W 192 | VIA 840 300 193 | 194 | LINK withoutline 195 | OUTLINECOLOR 255 0 0 196 | NODES node100:E node101:E 197 | VIA 960 300 198 | 199 | LINK uni 200 | NODES node100:S node101:N 201 | SET bwlabel_padding 5 202 | 203 | 204 | # End of LINK section 205 | 206 | # That's All Folks! 207 | -------------------------------------------------------------------------------- /docs/example/suite-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/example/suite-2.png -------------------------------------------------------------------------------- /docs/example/weathermap.conf: -------------------------------------------------------------------------------- 1 | # 2 | # A minimal config file to get you started. 3 | # - see also the docs/example folder. 4 | # - and configs/simple.conf 5 | 6 | HTMLSTYLE overlib 7 | WIDTH 800 8 | HEIGHT 600 9 | 10 | HTMLOUTPUTFILE weathermap.html 11 | IMAGEOUTPUTFILE weathermap.png 12 | 13 | NODE node1 14 | POSITION 200 200 15 | LABEL node1 16 | 17 | NODE node2 18 | POSITION 500 200 19 | LABEL node2 20 | 21 | LINK firstlink 22 | NODES node1 node2 23 | BANDWIDTH 30M 24 | -------------------------------------------------------------------------------- /docs/fonts/PTC55F-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/fonts/PTC55F-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/PTC75F-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/fonts/PTC75F-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/PTN57F-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/fonts/PTN57F-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/PTN77F-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/fonts/PTN77F-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/PTS55F-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/fonts/PTS55F-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/PTS75F-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/fonts/PTS75F-webfont.ttf -------------------------------------------------------------------------------- /docs/howto.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/howto.pdf -------------------------------------------------------------------------------- /docs/howto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/howto.png -------------------------------------------------------------------------------- /docs/images/arrowstyle-classic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/arrowstyle-classic.png -------------------------------------------------------------------------------- /docs/images/arrowstyle-compact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/arrowstyle-compact.png -------------------------------------------------------------------------------- /docs/images/bwstyle-angled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/bwstyle-angled.png -------------------------------------------------------------------------------- /docs/images/bwstyle-classic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/bwstyle-classic.png -------------------------------------------------------------------------------- /docs/images/cacti_mainscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/cacti_mainscreen.png -------------------------------------------------------------------------------- /docs/images/cacti_maps_manage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/cacti_maps_manage.png -------------------------------------------------------------------------------- /docs/images/cacti_step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/cacti_step1.png -------------------------------------------------------------------------------- /docs/images/cacti_step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/cacti_step2.png -------------------------------------------------------------------------------- /docs/images/cacti_user_manage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/cacti_user_manage.png -------------------------------------------------------------------------------- /docs/images/cacti_wmap_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/cacti_wmap_settings.png -------------------------------------------------------------------------------- /docs/images/commentstyle-center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/commentstyle-center.png -------------------------------------------------------------------------------- /docs/images/commentstyle-edge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/commentstyle-edge.png -------------------------------------------------------------------------------- /docs/images/compass-points.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/compass-points.png -------------------------------------------------------------------------------- /docs/images/contrast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/contrast.png -------------------------------------------------------------------------------- /docs/images/font-sizes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/font-sizes.png -------------------------------------------------------------------------------- /docs/images/howto-thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/howto-thumb.jpg -------------------------------------------------------------------------------- /docs/images/keystyle-classic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/keystyle-classic.png -------------------------------------------------------------------------------- /docs/images/keystyle-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/keystyle-horizontal.png -------------------------------------------------------------------------------- /docs/images/keystyle-inverted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/keystyle-inverted.png -------------------------------------------------------------------------------- /docs/images/keystyle-tags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/keystyle-tags.png -------------------------------------------------------------------------------- /docs/images/keystyle-vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/keystyle-vertical.png -------------------------------------------------------------------------------- /docs/images/labelangle+labeloffset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/labelangle+labeloffset.png -------------------------------------------------------------------------------- /docs/images/link-comments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/link-comments.png -------------------------------------------------------------------------------- /docs/images/linkoffset-defaults.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/linkoffset-defaults.png -------------------------------------------------------------------------------- /docs/images/linkoffset-east50west50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/linkoffset-east50west50.png -------------------------------------------------------------------------------- /docs/images/linkoffset-eastwest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/linkoffset-eastwest.png -------------------------------------------------------------------------------- /docs/images/linkoffset-parallel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/linkoffset-parallel.png -------------------------------------------------------------------------------- /docs/images/linkoffset-radial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/linkoffset-radial.png -------------------------------------------------------------------------------- /docs/images/viastyle-angled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/viastyle-angled.png -------------------------------------------------------------------------------- /docs/images/viastyle-curved.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/viastyle-curved.png -------------------------------------------------------------------------------- /docs/images/weathermap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/weathermap-example.png -------------------------------------------------------------------------------- /docs/images/weathermap-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cacti/plugin_weathermap/103fd534aea3e7adf2e65a53f022296bec5e3023/docs/images/weathermap-mini.png -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |New 25 | Users should start here.
26 | 27 |New in 0.97b, there is a Security Notes section that you should read.
29 | 30 |There are several sections, including 31 | Introduction, 32 | Installation, 33 | The Basics, 34 | FAQ, 35 | Reference, and 36 | Advanced Topics. There are seperate 37 | pages for the 38 | Cacti Plugin, and for the 39 | optional web-based editor. There is also a 40 | reference page for 41 | all the error codes that Weathermap can 42 | produce, with an explanation, and another 43 | reference for the built-in datasource 44 | plugins.
45 | 46 |For existing users, there's an overview to the 47 | changes from the previous version, and a 48 | guide to upgrading.
49 | 50 |There are also a growing number of articles at 51 | network-weathermap.com 52 | about specific tricks and techniques for making your own maps, including 53 | animation, non-network maps and more!
54 | 55 |What I'm trying to say is 56 | RTFM, 57 | but in a more polite way! 58 | :-) I put a fair amount of my own time and effort into writing the 59 | program, and then a whole bunch 60 | more into writing the manual and other documentation - more than a thousand hours by now. I also spend my 61 | spare time supporting Weathermap users [I'm one of the all-time most active users on the Cacti forums], but a lot of questions asked are 62 | answered in the manual, or worse still, in the FAQ section. 63 | Please take a look.
64 | 65 |If you are more visually-minded, like me, then the following might also help:
68 | 69 |Diagram explaining a lot of the basic map
76 | formatting commands. Look in the
77 | Configuration Reference
78 | for more information on the commands mentioned.
79 |
80 |
Larger version |
81 | PDF version
Sample output from php-weathermap, using data
90 | collected by Cacti and MRTG.
91 |
92 |
Larger version
This is from the Example Map section of the manual.
94 |Make a backup of your working weathermap directory before you do 49 | this! Just in case you do need to roll back.
50 | 51 |You should be able to upgrade from any previous version by simply 52 | unpacking the new one over the top. The files that will need to be changed 53 | afterwards are the same ones you edited when you first installed: 54 | 55 |
Any necessary database updates for Cacti users should be taken care of 67 | automatically.
68 | 69 |