CoolMon 2 : CML14
CML Version 1.4
A small CML upgrade, but a big function upgrade comes to life with the introduction of CML version 1.4. It enables you to re-use (link to) a sensor you have created earlier in the CML. This ensures that you always get the same value for both sensors, furthermore it will also reduce CPU and memory usage (this may, however, not be of a significant value).
How to use...
First you need to define the sensor.
<sensor name="test.random numbers" update="1" id="random numbers"> <parameters> <range>100</range> </parameters> </sensor>
Note the ID attribute now added.
Now you can use it, by pointing back to it via the ID.
<sensor name="@random numbers">
If you alter attributes or parameters in the linked sensor these will also affect the original.