Rrdtool colors: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== Known nice color set === Stolen from Zenoss when it was still a real OS NMS.. They had good taste back then. Use this array of colors: <pre> colors = ( '#00cc00', '#0000ff', '#00ffff', '#ff0000', '#ff9900', '#cc0000', '#0000cc', '#0080c0', '#8080c0', '#ff0080', '#800080', '#0000a0', '#408080', '#808000', '#000000', '#00ff00', '#fb31fb', '#0080ff', '#ff8000', '#800000', ) </pre> These are the default properties...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
=== Known nice color set === | === Known nice color set === | ||
Stolen from Zenoss when it was still a real OS NMS.. They had good taste back then. | Stolen from Zenoss when it was still a real OS NMS.. They had good taste back then. | ||
Use this array of colors: | Use this array of colors: | ||
For things like thresholds, REVERSE the array. It appears they made a complementary color scheme | |||
<pre> | <pre> | ||
colors = ( | colors = ( |
Latest revision as of 18:27, 28 May 2023
Known nice color set
Stolen from Zenoss when it was still a real OS NMS.. They had good taste back then.
Use this array of colors: For things like thresholds, REVERSE the array. It appears they made a complementary color scheme
colors = ( '#00cc00', '#0000ff', '#00ffff', '#ff0000', '#ff9900', '#cc0000', '#0000cc', '#0080c0', '#8080c0', '#ff0080', '#800080', '#0000a0', '#408080', '#808000', '#000000', '#00ff00', '#fb31fb', '#0080ff', '#ff8000', '#800000', )
These are the default properties that Zenoss used to use. They are generic, but a good starting point
_properties = ( {'id':'dsnames', 'type':'lines', 'mode':'w'}, {'id':'sequence', 'type':'int', 'mode':'w'}, {'id':'height', 'type':'int', 'mode':'w'}, {'id':'width', 'type':'int', 'mode':'w'}, {'id':'units', 'type':'string', 'mode':'w'}, {'id':'linewidth', 'type':'int', 'mode':'w'}, {'id':'log', 'type':'boolean', 'mode':'w'}, {'id':'base', 'type':'boolean', 'mode':'w'}, {'id':'stacked', 'type':'boolean', 'mode':'w'}, {'id':'summary', 'type':'boolean', 'mode':'w'}, {'id':'miny', 'type':'int', 'mode':'w'}, {'id':'maxy', 'type':'int', 'mode':'w'}, {'id':'colors', 'type':'lines', 'mode':'w'}, {'id':'custom', 'type':'text', 'mode':'w'}, {'id':'hasSummary', 'type':'boolean', 'mode':'w'}, )
The different common graph types for rrdgraph
("^LINE|^AREA|^STACK")
This would likely be part of the object defnition
dsnames = [] sequence = 0 height = 100 width = 500 threshmap = [] units = "" log = False linewidth = 1 base = False stacked = False summary = True miny = -1 maxy = -1 custom = "" hasSummary = True