What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

ERROR: ('0.1052' is not a valid integer value) - Can I use decimal numbers?



Hi, I got this message as error:
XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure ('0.1055' is not a valid integer value). (code: PE231)

That is the entire output:

    "prtg": {
     "result": [
    "channel":  "LastBackup",
    "Value":  "0.1064"
    "channel":  "LastStatus",
    "Value":  "2"

If I round the first value to "0" the custom sensor works. But I need 3 decimal places to measure the changes. How can I work with decimal numbers?

custom-sensore decimal json

Created on Oct 14, 2021 7:40:25 AM

Last change on Oct 14, 2021 11:13:20 AM by  Felix Wiesneth [Paessler Support]

1 Reply



Hi there,

If you want to use float values, you will need to define this for each channel. This can be done by adding following after the line with you value:

  "float": "1",

to your JSON output. You may also take a look at our manual about Custom Sensors to get more detailed information about the output.

Kind regards

Felix Wiesneth - Team Tech Support

Created on Oct 14, 2021 11:28:56 AM by  Felix Wiesneth [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.