1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Add wasted memory to the graph, now the sum is always the total assigned memory

This commit is contained in:
Mikel Olasagasti Uranga 2015-03-26 19:03:11 +01:00
parent ccf8e71d30
commit ec4951b732
2 changed files with 5 additions and 1 deletions

5
plugins/php/php_opcache Normal file → Executable file
View file

@ -37,7 +37,7 @@ graph_title OPCache Memory usage
graph_args -l 0 --base 1024
graph_vlabel Memory usage
graph_category php-opcache
graph_order mem_used mem_free
graph_order mem_used mem_free mem_wasted
graph_total Total
mem_free.label Memory Free
mem_free.draw STACK
@ -45,6 +45,9 @@ mem_free.min 0
mem_used.label Memory Used
mem_used.draw AREA
mem_used.min 0
mem_wasted.label Memory Wasted
mem_wasted.draw STACK
mem_wasted.min 0
EOM
exit 0