Hello,
all of my three baramundi Custom Sensors throw following errors:
XML: Das zurückgelieferte XML entspricht nicht dem erwarteten Schema. (Code: PE233) -- JSON: Das zurückgelieferte JSON entspricht nicht der erwarteten Struktur (No mapping for the Unicode character exists in the target multi-byte code page). (Code: PE231)
I successfully set up the sensors like described on their github page. I copied the scripts and the lookups into the right directory. I reloaded the custom lookups. I successfully configured "Set-bConnectContext". But when I add these sensors as `EXE/Script Advanced` I get this error.
How can I fix this?
Article Comments
Thank you for your answer, Stephan Linke. Yes, the execution policy is configured correctly. I don't know why, but after some time the sensors just started working correctly by themselves... I googled for answers and tabbed back to my PRTG Tab and the sensors received correct information :)
Nov, 2018 - Permalink
Problems that resolve itself are the best problems :)
PRTG Scheduler |
PRTGapi |
Feature Requests |
WMI Issues |
SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Nov, 2018 - Permalink
A thing that helped me at the end (beside the Execution Policy) was to set the a security flag in the Settings of the Baramundi Files itself.
Settings of the Baramundi File --> General --> Security --> Allow
You once have to set this to prevent the powershell asing "do you really want to execute this insecure script from the internet...." Set this for all the Baramundi script files.
Hope this helps.
Feb, 2020 - Permalink
Execution Policy configured correctly? This is most likely the issue here.
PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Nov, 2018 - Permalink