Hello All,

Is it possible to escape the '$'?

Of cource it's because of Windows.

object CheckCommand "powershell" {
    import "plugin-check-command"
    command = [
"C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe" ]
    arguments = {
                "-command" = {
                value = "$ps_command$ ;*exit $LASTEXITCODE*"
                    order = -1
}
    "-args" = {
                value = "$ps_args$"
                    order = 99
                }
}

}
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to