question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filtering by -Id doesn't work anymore with PRTG Version 20.1.57.1745

See original GitHub issue

Describe the bug Clearly and concisely describe what you were trying to do, what happened and what you were expecting to happen

Hi!

Since the last Update of PRTG to Version 20.1.57.1745, we could not perform any actions with PrtgAPI anymore. We can connect to the server, but can’t receive any sensor information. Additionaly we can’t set any tags to the sensors.

Steps to reproduce Put the relevant code from your application that caused the issue to happen in the code block below

With Get-Sensor we get only empty response.

# Code goes here!
Get-Sensor -Id xxxx

What is the output of Get-PrtgClient -Diagnostic?

# Output goes here!
blank!

Additional context Anything else I should know to help solve the issue?

We already updated the Powershell PrtgAPI to the latest Version 0.9.12

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
lordmilkocommented, Apr 1, 2020

Thanks @mhengl,

I have confirmed that the filter_objid API call is working again now and that no other properties have been broken in this update

Thanks for your timely response!

Regards, lordmilko

1reaction
lordmilkocommented, Mar 30, 2020

You’re right! Filtering by -Id isn’t working. I tried executing some manual calls against filter_objid or filter_id which didn’t work. Furthermore, on the API test page on /api.htm?tabid=3 filtering by ID doesn’t work there either. This seems like a bug in PRTG; I will file a report with Paessler

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes for PRTG 20
Filtering by object ID (filter_obj) does not work in the current PRTG version 20.1.57.1745. API calls that use filter_obj return an empty response...
Read more >
PRTG Network Monitor - Version History
Your Windows MSMQ Queue Length sensors will now run again when you update to this PRTG version. These sensor types did not work...
Read more >
Release notes for Preview Channel
These sensor types did not work anymore with PRTG version 23.1.82.2175 and ... ID (filter_obj) does not work in the current PRTG version...
Read more >
Templates stopped working after an update
Hello everyone,. So, We've updated our PRTG to verison 20.1.57.1745+, everything was working until we've added new server using template and ...
Read more >
How can I include and exclude sensors from device ...
You can use filters to define which sensors are added if you apply a device template in PRTG. You can include or exclude...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found