Created
November 20, 2019 17:23
-
-
Save syntaxerrormmm/a24a432bb4f65efe8ae9efd6d9559ebd 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
#!/bin/bash | |
/bin/sed -i -e "s/^Server=.*$/Server=127.0.0.1/" /etc/zabbix/zabbix_agentd.conf | |
/bin/sed -i -e "s/^ServerActive=.*$/ServerActive=127.0.0.1/" /etc/zabbix/zabbix_agentd.conf | |
/bin/systemctl restart zabbix-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment