View Full Version : Stack graph
Hi, i was wondering how do you make a stacked graph. You have a nice one
on the screen shots, (memory usage). But i can not make one, it doesnt work.
The one item totally covers the other one, and then i get a combined color.
please advice.
The graph from the screenshot is not stacked!
Ok, my mistake, but how do you do that, because i cannot get it to work. As
i said, if i put 2 or more items on a graph, i have to use line or they will cover each other.
Ok, my mistake, but how do you do that, because i cannot get it to work. As
i said, if i put 2 or more items on a graph, i have to use line or they will cover each other.
It has to do with the sort order of items in the graph. Item zero is the furthest "back" in the graph. The items with higher sort orders are "in front" of the lower numbers. So you have to put your highest value item at 0, the next at 1, and so on, and so on. . . .
The result is that it doesnt work well if you have items that will cross or change drastically.
So you could do something like the following
sort order item type color
0 disktotal[] filled region green
1 diskused[] filled region blue
disktotal should always be greater than used. This would put the bigger green region behind the smaller blue region.
HTH
cooper
Thanks for the explanation , it worked
Thanks for the explanation , it worked
Glad you got what you needed.
in conclusion no solution to obtain a stacked graph ??? it will be more usefull to know the real stat of memory, I think to creat a personalised item wich seed th memory percentage but i don't know how??? i must stay under zabbix 1.0 (production evironment)
i would like to do some stacked graph of the memory usage.