-
-
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
Get-Probe command only lists only some probes that are #219
Comments
Hi @farinaanthony96, I feel like this is most likely a duplicate of #215. Due to changes in the latest versions of PRTG, PrtgAPI had to change how it retrieves probes, however due to a bug in the latest version of PRTG that doesn't actually work as expected If you do Set-PrtgClient -LogLevel All
Get-Probe -Verbose in the XML response that is displayed, do you see all of the probes there? |
No. I still only see the few disconnected probes in the XML. As a work-around, I am still referencing API version 0.9.14. All of my scripts work when I reference the old API. |
Hi @farinaanthony96, Yes, I would recommend using PrtgAPI 0.9.14 for now. PrtgAPI 0.9.15 changes the way PrtgAPI retrieves probes to workaround PrtgAPI crashing due to the new "PRTG Core Server" device that is present in the latest version of PRTG, however evidently there is also a bug in PRTG which causes this workaround to not always work properly, even though it should |
Ok. Will updating to the latest version of PRTG help with it, or will that bug still be present? I'm still running v20. |
The bug is also present in the latest version of PRTG; I've reported this to Paessler, but this also raises the question of "how long as this bug been in PRTG"; potentially I may actually need to come up with a new solution for dealing with the "PRTG Core Server" device in PRTG 21.2.67, but for now I would recommend just using older versions of everything |
Alrighty, thank you @lordmilko ! |
Hi @farinaanthony96, I have pushed a pre-release version of PrtgAPI 0.9.16 which reverts the new Regards, |
Hi @farinaanthony96, Are you able to advise whether the new build resolves your issue? I would like to release PrtgAPI 0.9.16 including this fix however would like to confirm the fix does indeed work properly first Regards, |
Hi @farinaanthony96, Please be advised PrtgAPI 0.9.16 has now been released. To update PrtgAPI, please run Update-Module PrtgAPI and reopen PowerShell Regards, |
Describe the bug
Clearly and concisely describe what you were trying to do, what happened and what you were expecting to happen
When I run the Get-Probe command, only a small list of probes that are currently disconnected from my PRTG instance are listed. There are hundreds of other probes in my instance. This happened only after I updated to the latest API version 0.9.15.
Steps to reproduce
Put the relevant code from your application that caused the issue to happen in the code block below
What is the output of
Get-PrtgClient -Diagnostic
?Additional context
Anything else I should know to help solve the issue?
This only happened after updating to the latest version of this API. The Get-Probe command worked on the version prior to 0.9.15.
The text was updated successfully, but these errors were encountered: