Skip to content

limanmys/windows-snmp-agent-for-zabbix

Repository files navigation

Windows SNMP Agent for Zabbix

Windows Zabbix Agent Installer Sliently

Run PoweShell Administrator permissions then just run the scripts

Prerequirement

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process

Note: Reply Y for one time, A for all time

Windows Fİrewall Rule

New-NetFirewallRule -DisplayName "Zabbix Agent" -Direction Inbound -LocalPort 10050 -Protocol TCP -Action Allow

Installation

./zabbix-agent-v1.ps1

To uninstall

c:\zabbix-agent\bin\zabbix_agentd.exe --stop --config c:\zabbix-agent\conf\zabbix_agentd.conf

c:\zabbix-agent\bin\zabbix_agentd.exe --uninstall --config c:\zabbix-agent\conf\zabbix_agentd.conf

One Line Online Installation

Downloads, adds firewall rule and installs Zabbix Agnet

Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned -Force; Invoke-WebRequest -Uri "https://raw.githubusercontent.com/dogukaneren/Zabbix-Agent-Slient-Installer/main/zabbix-agent-v1-plus.ps1" -OutFile "zabbix-agent-v1-plus.ps1"; .\zabbix-agent-v1-plus.ps1

Offline Instalation Download zip file and offline powershell sciprt on Releases tab. Then run the following on downloaded path.

Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned -Force; .\zabbix-agent-offline-plus.ps1

Note: zip and script must be on same directory.