I have been working on my map that shows off the live memory of some equipments.
Here is an exemple of the code for one node: (it works)
It gives me three labels:#----------------------------------------------------------------------------------------------------
# regular NODEs:
#----------------------------------------------------------------------------------------------------
NODE AG_VSS
LABEL AG_VSS
ICON images/IBM-Server-icon.png
LABELBGCOLOR 30 127 203
POSITION 100 50
NODE AG_VSSa
LABEL Free:{node:this:bandwidth_in:%k}
TARGET gauge:[path_to_cacti]/rra/agrgi1f01_cisco_memfree_2874.rrd:cisco_memfree:-
USESCALE FREESCALE
POSITION AG_VSS 0 18
NODE AG_VSSb
LABEL Used:{node:this:bandwidth_in:%k}
TARGET gauge:[path_to_cacti]/rra/agrgi1f01_cisco_memused_2875.rrd:cisco_memused:-
POSITION AG_VSS 0 36
#----------------------------------------------------------------------------------------------------
The first one for the name
The second for the free memory
The third for the used memory.
My problem is that i can't have a scale working with it.
Does anyone knows how to make a ratio like used/free or any method to have a scale working with 0-100%.
I'm still working on it and I will post something if I find the solution.
Untill this if someone make it works I would like to know how he did it.
Thanks and have a nice day.