Difference between revisions of "Zabbix http install"
Jump to navigation
Jump to search
(Created page with "For fresh install ``` $HostMetadata=":color=yellow:os=Windows:" $proxyToken="mytoken" [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} [System....") |
(No difference)
|
Latest revision as of 00:17, 12 November 2021
For fresh install
$HostMetadata=":color=yellow:os=Windows:" $proxyToken="mytoken" [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'; $url="https://monitor.example/monitor-utils/get/autoregistration/installZabbixAgent?proxyToken=$proxyToken&HostMetadata=$HostMetadata" iex ((New-Object System.Net.WebClient).DownloadString($url))