top of page

Sugar Warrior Challenge 🚫🍫

Public·115 Sugar Warrior


There are some issues with weathermap cron at the moment, a PR (Weathermap fix for local rrdcached users and cron fix by fbouynot Pull Request #85 librenms-plugins/Weathermap GitHub) is waiting to correct this, you can try it this way:


error seems to be different depending on what map you are renderinge.g some you have loads of depreciation warnings, seem to complete, but then i get empty image. Other weathermaps which are more complex i get a php fatal error

This plugin brings customizeable and modern looking network weathermaps to Grafana. The design remains similar to the well known PHP Network Weathermap, while allowing for interoperability with Grafana, and easy customization.

By default, the Weathermap Editor uses internal defaults and compile-time switches to determine program behavior. However, the program is able to use a configuration file to override some of the predefined settings, if needed. By default, the configuration file does not exist and must be created, although a sample configuration file is provided which can be copied into place. The sample configuration file is /usr/local/groundwork/nms/applications/cacti/plugins/weathermap/editor-config.php-dist, which can be renamed to editor-config.php once it has been edited to reflect your specific requirements.

For a list of the available command-line parameters, execute the weathermap program with the --help command-line argument. For more information about the Weathermap command-line parameters, refer to the online Weathermap documentation. For information on the Cacti plugin, refer to the Cacti NMS chapter.

By default, the map configuration files are stored in and loaded from the /usr/local/groundwork/nms/applications/cacti/plugins/weathermap/configs directory, and that is where the map generator and the Cacti plugin will look for new maps.

The "Data Source" field is primarily used to point to a round-robin database (RRD) file that contains information about the traffic activity on the selected network link. Typically this is a Cacti data source for a specific network interface on a specific device, which includes individual fields for the amount of traffic that has been sent and received by that device. The weathermap generator then maps the sent and received data to the beginning and ending nodes associated with the link, thereby allowing it to correctly associate in-bound and out-bound traffic with the correct node.

With this in mind, I built a network weathermap panel plugin for Grafana (see the example image below)! The visualization itself is built of entirely SVG components, controlled by my own logic (after I got annoyed trying to get D3 to work for me). This means that on top of doing the basic job of taking in bandwidth data and displaying it, you can also customize it in many different ways. I thought I would share it here to get some feedback and also spread the word.

Since NagVis 1.5 it is possible to draw such weathermap style lines which can have more than three colours depending on the current load of e.g. the network interface you like to visualize. There can be a wide colour range of e.g. seven different colours. Take a look at the example image - isn't that beautiful?.

To create weathermap style lines in NagVis you need services which send the correct performance data to Nagios. If you got some then simply place a line service object on the map and choose the correct line type. Now take a look at your map - it should work now.

With PHP Network Weathermap you can create a birds-eye view of networkcomponents from your monitoring system (like LibreNMS, Cacti or anything elsewith an RRD database). It can display simple maps with components and linksbetween, showing up and down traffic, but also complex systems with customcomponents, like Nagios status, temperature or other information. For networkand system administrators seeing the seperate in and out traffic of a link isfine, we can sum up two numbers. A co worker filling the role of service managerasked me if it was possible to sum up in and out and show that, including thescale (different colours depending on link usage). This co worker is notinterested in the seperate up/down link speed but wants to know how much traffica location is using in total. Using a clever workaround, you can display aline's total usage, including the scale. This article also gives some more tipson weathermap, colouring and scale.

The picture below shows a section of a weathermap to a location, where the lineis a 20 mbit line. The first picture is without the total summary. Green means40-50% usage and yellow means 55-70% usage. It is not very clear that the lineis at max capacity if you just see yellow and green:

The weathermap has the concept of "nodes" and "links". A node has one or morelinks and a link is between two nodes. A link has a "target", which points to anRRD file in most cases. There is no math support in the configuration syntax, soyou cannot say "up + down" in the label. But, you can add multiple RRD files tothe "target" of a link, for example when you want to show multiple lines whichform one logical unit.

By replacing the parameters with a dash (-), that part is ignored. So, we canadd the same RRD file two times and specifying the INOCTETS and OUTOCTETS as"in" and placing - as out. The weathermap will add up all the "in" data,which, because we added the same file, is a sum of up and down. Here is anexample, for a 10 mbit line: 041b061a72


Welcome fellow sugar warriors! This group is to try and help...
bottom of page