I'm using the HTTP Data Advanced Sensor to monitor some devices that have no native monitoring available.
My sensor is returning a channel that is effectively like a hard drive with space used, and total available. On the UI I can specify that the channel should be Data and I can type in the maximum. Ideally I would like my channel to return this.
<result> <channel>Used capacity protected</channel> <unit>BytesDisk</unit> <volumeSize>GigaByte</volumeSize> <mode>Absolute</mode> <value>1932696268800</value> <valueLookup/> </result>
will return the current used capacity correctly, but I can't find a way to return the maximum size of the drive. I tried to mimic the UI by adding these nodes but it didn't work:
Can anyone give me a clue about what I need to do?