With 1.6, the windows agent is shipped as an msi. Before it was an exe. Before i installed cmk on a client by a powershell on a central server which, with msi it does not work.
1.5: this works:
$session = New-PSSession -ComputerName $server -Credential $credential
Invoke-Command -Session $session -ScriptBlock {
C:\uz\Apps\Check_mk\check_mk_agent.exe install
}
Remove-PSSession $session
1.6 this does not work.
$args = @(
"'/i"
"$localmsi_fqn"
"/qn /log C:\UZ\Logs\Check_MK.log'"
)
$command = "Start-Process msiexec -ArgumentList " + $args + " -Wait"
$session = New-PSSession -ComputerName $server -Credential $credential
Invoke-Command -Session $session -ScriptBlock {
$command
}
Remove-PSSession $session
Someone an idea what is wrong?
Hi Peter,
We encourage you to post any technical questions directly on our user forum: https://forum.checkmk.com/ . I'm sure that our community members will be happy to provide tips on how to solve this issue.
Regarding your question, there is a requirement to deliver our products for Windows only as MSI. Try using the following command line: msiexec /i check_mk_agent.msi /qn /L*V agent_msi.log
From your post is not clear what is wrong with Powershell (many things can go wrong: access to the path, session rights, administrative rights etc.)
Best,
Cristian
Checkmk is a comprehensive IT monitoring system that enables system administrators, IT managers, and DevOps teams to identify issues across their entire IT infrastructure (servers, applications, netwo
With over 2.5 million reviews, we can provide the specific details that help you make an informed software buying decision for your business. Finding the right product is important, let us help.
or continue with
LinkedIn
Google
Google (Business)
Gmail.com addresses not permitted. A business domain using Google is allowed.