I created an exexml sensor which should only have 3 values
- 0 = downtime
- 50 = failed over
- 100 = not failed over
for example the script xml output for the result "50-failed over" looks like this:
$xmlToPRTG = @"
<prtg>
<result>
<channel> Failover Monitor </channel>
<value>50</value>
<LimitMode>0</LimitMode>
</result>
</prtg>
"@;
Similar XML output exists for the 100-not_failed_over result
I also use a lookup table to convert the value 50 into the status "failed over" etc
This creates the sensor correctly. The "live data" chart looks ok - the y axis is in units "#" However the 2-day and 30-day charts have the y axis in units of "%" and i can't find what controls this?
I would like all 3 charts to have units of "#"
Add comment