Hi,
i have a issue with the “Invoke-IcingaCheckMSSQLBackupStatus” command on just one MSSQL Server.
If i execute this command in the icinga cli on the windows system i got a valid response
Invoke-IcingaCheckMSSQLBackupStatus -SqlUsername 'icinga' -SqlPassword (ConvertTo-IcingaSecureString 'password') -SqlHost 'vmtestsql01.domain.de';
But via the icinga server i got an error message
Icinga Exception: Cannot bind parameter SqlPassword. Cannot convert the provided value for argument "SqlPassword" of type "System.String" to type "System.Security.SecureString". CheckCommand: Invoke-IcingaCheckMSSQLBackupStatus Arguments: Hidden for security reasons StackTrace: bei Exit-IcingaExecutePlugin, C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1: Zeile 28383 bei , : Zeile 1
Client Versions
--- --- ---
agent 2.14.2 2.14.2
apichecks 1.2.0 1.2.0
framework 1.12.3 1.12.3
mssql 1.5.0 1.5.0
plugins 1.12.0 1.12.0
restapi 1.2.0 1.2.0
service 1.2.0 1.2.0
I also have an exact same vm (Windows Server 2022 and MSSQL 2022) that works perfectly fine.