Last active
July 18, 2016 08:23
-
-
Save varnav/4789ef3f16a867336f9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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