Skip to content
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

No longer able to modify device via PRTGAPI cmdlets #288

Closed
sysadmin24 opened this issue Jun 8, 2022 · 2 comments
Closed

No longer able to modify device via PRTGAPI cmdlets #288

sysadmin24 opened this issue Jun 8, 2022 · 2 comments
Labels
duplicate Questions raised by people who don't know how to search through previous issues :P

Comments

@sysadmin24
Copy link

Describe the bug

Hi,

Not sure when this issue first began. But we've recently updated PRTG as well as migrated PRTG from Server 2012 to Server 2022.

The Core and Probe servers are all Server 2022 now. Have .NET 4.8 installed.
PRTG server was also recently updated as well to the latest version on Passler's site.

Different user accounts have the same issue and from the local core server as well as from remote this issue follows.

We can Connect-PrtgServer fine and can
Get-Group
Add-Device

, but once we try
Get-Device $Device | Get-SensorTarget -RawType snmpdiskfree or
New-sensorparameters -rawtype Ping
the script errors.

Example: "Get-SensorTarget : Could not authenticate to PRTG; the specified username and password were invalid.
At line:44 char:36

  • ... = Get-Device $Device | Get-SensorTarget -RawType snmpdiskfree "

Seems like once we're trying to modify an object it logs us out.

Any ideas here by chance?
Happening to anyone else?

Thank you!

Steps to reproduce

Different users attempted.
Different source machines (multiple remote and local core server)
Tried updating PRTGAPI module from .14/.15 to .16

What is the output of 'Get-PrtgClient -Diagnostic'?

PSVersion      : 5.1.19041.1682
PSEdition      : Desktop
OS             : Microsoft Windows 10 Enterprise
PrtgAPIVersion : 0.9.16
Culture        : en-US
CLRVersion     : 528372
PrtgVersion    : 22.2.76.1705
PrtgLanguage   : english.lng

Additional context

No response

@sysadmin24 sysadmin24 added the alleged-bug Bugs raised by people helpfully using the Bug Report template! label Jun 8, 2022
@sysadmin24
Copy link
Author

Nevermind , helps if I read :). I see the latest version is .18 and once I updated to it everything works again now. Thank you so much!

@lordmilko
Copy link
Owner

Hi @sysadmin24,

The latest version is 0.9.17 (0.9.18 is in pre-release) however as you've surmised this is a duplicate of #268 which was resolved in 0.9.17

@lordmilko lordmilko added question Questions raised by people who don't know how to program or read the wiki :P duplicate Questions raised by people who don't know how to search through previous issues :P and removed alleged-bug Bugs raised by people helpfully using the Bug Report template! question Questions raised by people who don't know how to program or read the wiki :P labels Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Questions raised by people who don't know how to search through previous issues :P
Projects
None yet
Development

No branches or pull requests

2 participants