Skip to content

Instantly share code, notes, and snippets.

@varnav
Last active July 18, 2016 08:23
Show Gist options
  • Save varnav/4789ef3f16a867336f9a to your computer and use it in GitHub Desktop.
Save varnav/4789ef3f16a867336f9a to your computer and use it in GitHub Desktop.
mkdir "c:\program files\zabbix\"
copy zabbix_agentd.conf "c:\program files\zabbix\"
copy zabbix_agentd.exe "c:\program files\zabbix\"
"c:\program files\zabbix\zabbix_agentd.exe" --config "c:\program files\zabbix\zabbix_agentd.conf" --install
"c:\program files\zabbix\zabbix_agentd.exe" --config "c:\program files\zabbix\zabbix_agentd.conf" --start
netsh advfirewall firewall add rule name="Zabbix agent" dir=in action=allow program="c:\program files\zabbix\zabbix_agentd.exe" profile=domain enable=yes
netsh advfirewall firewall add rule name="Zabbix agent" dir=in action=allow program="c:\program files\zabbix\zabbix_agentd.exe" profile=private enable=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment