Hey guys,
I have created a custom sensor to measure response time of one of my applications using PowerShell. Here is the output of my script:
<prtg>
<result><channel>App1</channel><value>1.390 seconds</value></result>
<result><channel>App2</channel><value>1.421 seconds</value></result>
</prtg>
The logs show's this same output but my graphs show 0#. How can I change the settings to show time instead?
Thank you!
Kevin
Article Comments
Hi,
as you are returning float values, please try adjusting the script output to the following:
<prtg>
<result>
<channel>App1</channel>
<value>1.390 seconds</value>
<float>1</float>
</result>
<result>
<channel>App2</channel>
<value>1.421 seconds</value>
<float>1</float>
</result>
</prtg>
Now PRTG should show the correct values.
Best regards
Apr, 2013 - Permalink
<float>1</float> did the trick! thanks for your help!
Kevin
Apr, 2013 - Permalink
Hi,
as you are returning float values, please try adjusting the script output to the following:
Now PRTG should show the correct values.
Best regards
Apr, 2013 - Permalink