Subject: |
RE: Calculated Performance ZenPack - using attributes and methods of components |
Author: |
Jane Curry |
Posted: |
2017-06-12 15:53 |
To answer my own question.....
Yes you can access a component attribute; the syntax is:
here.<attribute> eg. here.blockSize
You can also access a method; for example a FileSystem has an availBytes() method. To use it in a CalculatedPerformance datapoint, use:
here.availBytes Note: No brackets, even though it is a method.
Once you have such datapoints, they can be used like any other in a threshold or graph.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------