Benutzer-Werkzeuge

Webseiten-Werkzeuge


check_mk

Dies ist eine alte Version des Dokuments!


edvc-check_mk.cmd
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('http://cfg.krainz-edv.at/lib/exe/fetch.php?media=files:edvc-check_mk.ps1'))"
edvc-check_mk.ps1
$url1="http://cfg.krainz-edv.at/lib/exe/fetch.php?media=files:check_mk_agent.msi"
$outpath1 = $ENV:TEMP + "\check_mk.msi"
 
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($url1, $outpath1)
 
Start-Process "msiexec.exe" -ArgumentList '/i','$outpath1','WIXUI_REMOVELEGACY="1"','/qn' -Wait -NoNewWindow
New-NetFirewallRule -DisplayName "Check_MK Agent" -Direction Inbound -LocalPort 6556 -Protocol TCP -Action Allow
Copy-Item 'C:\Program Files (x86)\checkmk\service\plugins\windows_updates.vbs' C:\ProgramData\checkmk\agent\plugins\
edvc-check_mk_plugins.cmd
copy %ProgramFiles(x86)%\check_mk\plugins\
check_mk.1604574179.txt.gz · Zuletzt geändert: (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki