Hi, Here is my powershell snippet that I want to get on PRTG : return @{ 'prtg' = @{ 'result' = @( @{ 'channel' = $TaskList[0].Name 'value' = 42 } ) 'text' = "Sensor desc" } } When I convert this in json format here is my output :
{ "prtg": { "text": "Sensor desc", "result": [ { "channel": "Name", "value": 42 } ] } }
This format seems correct but i still have this error message : "XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)" Anyone ?
Add comment