Hi,
I've written a script to monitor disk space usage and it displays with a custom unit value of G for gigabytes or T for terabytes, depending on the value pulled. When a disk that was at 500 GB of free space (displayed as "500 G") was cleaned up and changed to 5.5 TB free, the newly displayed value was "5.5 G" despite my script clearly putting a "T" in the custom unit tag. Any way around this? I also have the issue where 5.5 is less space than 500 but that's my own issue to tackle. Thanks for any help.
<result> <channel>Free - jbod6-lv1-p1</channel> <float>1</float> <unit>custom</unit> <customunit>T</customunit> <value>5.5</value> </result>
Add comment