-
-
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
netappcdotio Sensor param timeout #305
Comments
I believe normally the response returned from PRTG will contain any properties required to create the object (including any sensor query parameters you may have specified). Otherwise, you'd expect it to fail when PRTG tries to add the sensor itself Can you try Unlock the parameters, add the missing parameter and see if it works then? |
Hi @lordmilko
So this is a PRTG 'issue', that the param timout is not in the return value and must be added manually again with the unlock()? |
Based on a quick perusal of the PrtgAPI source code I don't see anywhere where I would be manually adding in the sensor query parameters, however I'll have to check with another sensor type to see how it normally works. In the meantime, the above is certainly a workaround you can use for now |
Thanks for you really fast reply! Yes, I can use this workaround. |
Describe the bug
It is not possible to add a new Sensor 'netappcdotio' with mandatory parameters.
If param 'timout' is not given for 'New-sensorParemters' , I see following error:
New-SensorParameters : Failed to process request for sensor type 'netappcdotio': sensor query target parameters did not include mandatory parameter 'timeout_'.
It 'timeout' parameter ist given, 'New-sensorParemters' is working, but not the 'Add-Sensor'.
Do I have to add 'timeout' param as -RawProperty and -RawValue?
Not really sure if this is a bug...
Steps to reproduce
What is the output of 'Get-PrtgClient -Diagnostic'?
Additional context
No response
The text was updated successfully, but these errors were encountered: