Hi.
I have a Problem with a Custom Powershell Sensor. Version: 15.1.15.2021
I added a testfile "test.ps1" to PRTG Network Monitor\Custom Sensors\EXEXML.
Content:
Write-Host "<prtg>"
"<result>"
"<channel>name</channel>"
"<value>1</value>"
"</result>"
"</prtg>"
Exit 0
If I add a sensor, I get the following error:
XML: Structural error in xml file, 1 open items. -- JSON: Das zurückgelieferte JSON entspricht nicht der erwarteten Struktur (Invalid JSON.). (Code: PE231)
Can you help me?
Add comment