Feature: Worldmap line color flexibility#259
Conversation
|
The feature here also sounds good. I'm asking myself some questions about it: 1.) At the moment we have two modes for coloring condition dependent lines: a) set the color depending on the status and b) set the color depending on the perfdata for weather map lines. These are currently configured with the option With this new option we should consider how to switch this consistently. Does it e.g. make sense to introduce another line_type here? Or does it limit it too much and we should rather add an option 2.) So far all line options have the prefix 3.) Should we then not make the border configurable analogous to the line color? e.g. with these options |
|
Re (2) yes I do agree to name Re (1) and (3) I haven't used weathermap-based colors so far thus I've ignored that feature at all. are those coloured by perfdata? Then maybe only having |
What?
Line colors have been colored either statically (color, border) or by nagios-state (green=OK, yellow=warning, red=down). This PR adds flexibility to configure both coloring approaches together.

Why?
We need the map to serve both documentation and monitoring purposes.
How?
The
lineobjects have a couple of new configuration options:Now, setting
fixed_color=yesandstateful_outline=(any value except none)does the trick.