You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all Values for 'SNMPv3EncryptionType' and 'SNMPv3AuthType' are available in PRTGAPi PowerShell Module.
If e.g. AES 192 is chosen in GUI, the PRTGAPI Module shown an error.
PS C:\Users\name> $dev | Get-ObjectSetting SNMPv3EncryptionType
Get-ObjectSetting : Could not deserialize value 'AES192PrivProtocol' as it is not a valid member of type 'PrtgAPI.EncryptionType'. Could not process XML '<snmpv3encryptiontype />'.
At line:1 char:8
+ $dev | Get-ObjectSetting SNMPv3EncryptionType
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-ObjectProperty], XmlDeserializationException
+ FullyQualifiedErrorId : PrtgAPI.XmlDeserializationException,PrtgAPI.PowerShell.Cmdlets.GetObjectProperty
Could it be, that this is related to changes in PRTG 'May 24th 2023 - Version 23.2.84.1566'
Steps to reproduce
Set in GUI in SNMPv3 "Authentication Method" to 'AES-192'
Save
Go to PowerShell Module
PS C:\Users\name>$dev|Get-ObjectSetting SNMPv3EncryptionType
Get-ObjectSetting : Could not deserialize value 'AES192PrivProtocol' as it is not a valid member of type 'PrtgAPI.EncryptionType'. Could not process XML '<snmpv3encryptiontype />'.
At line:1 char:8+$dev|Get-ObjectSetting SNMPv3EncryptionType
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-ObjectProperty], XmlDeserializationException
+ FullyQualifiedErrorId : PrtgAPI.XmlDeserializationException,PrtgAPI.PowerShell.Cmdlets.GetObjectProperty
Set in GUI in SNMPv3 "Authentication Method" to 'AES'
Hi :)
I investigated this a little and I think it's because the Enum doesn't have the new values, that PRTG added.
And because this feature was just recently added to PRTG.
Describe the bug
Not all Values for 'SNMPv3EncryptionType' and 'SNMPv3AuthType' are available in PRTGAPi PowerShell Module.
If e.g. AES 192 is chosen in GUI, the PRTGAPI Module shown an error.
Could it be, that this is related to changes in PRTG 'May 24th 2023 - Version 23.2.84.1566'
Steps to reproduce
PS C:\Users\name> $dev | Get-ObjectSetting SNMPv3EncryptionType
AES
What is the output of 'Get-PrtgClient -Diagnostic'?
Additional context
No response
The text was updated successfully, but these errors were encountered: