-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error C# GetDynamicsSensorParamters pythonscript #376
Comments
If you use the GetSensorTypes method, do you see the |
I tried also but I have the same problem |
What does that mean? What happens when you call the |
sorry GetSensorType is functional I misread the answer |
You are calling |
yes i see pythonscript with GetSensorTypes |
Can you enable request and response logging and provide the resulting output? There will be a lot of output, you may need to obfuscate any personal information such as your server address, username and passhash |
There was a typo on the wiki article; there should be a |
Exception levée : 'System.InvalidOperationException' dans PrtgAPI.dll |
I looked pythonscript is present |
I can't see any reason this would be failing What happens when you ask for the parameters of a different sensor type, such as |
same error |
PrtgAPI is source link enabled. Are you able to change the following two settings to enable SourceLink and then try stepping into the call to |
If sourcelink works, you should find the exception is thrown inside |
Yes, that's where the exception is thrown. We should be able to work backwards from here to see why it failed to find a matching sensor type. If you inspect the |
yes with var types = client.GetSensorTypes().Where(t => t.Id.Contains("python") || t.Name.Contains("python")); pythonscript exist and tthe equivalent command in powershell works |
We need to look at what's happening inside of PrtgAPI to understand why this isn't working. Thus, we need to inspect the |
What's going on?
Hello
I have an error when I try to retrieve the dynamic parameters of the sensor Advanced Python script.
Do you have an idea ?
Thanks
Due Dilligance
The text was updated successfully, but these errors were encountered: