Setup - Configure Wazuh agent

This commit is contained in:
Wes Lambert
2018-12-12 01:51:30 +00:00
parent 9a021164ac
commit 634c435ad6

View File

@@ -220,6 +220,14 @@ configure_minion() {
} }
configure_wazuh_agent(){
# Configure Wazuh agent to talk to manager
echo "Configuring Wazuh agent to talk to manager..."
/usr/sbin/wazuh-register-agent -i $MAINIP
}
copy_master_config() { copy_master_config() {
# Copy the master config template to the proper directory # Copy the master config template to the proper directory
@@ -1660,6 +1668,7 @@ if (whiptail_you_sure); then
salt_checkin_message salt_checkin_message
salt_checkin salt_checkin
checkin_at_boot checkin_at_boot
configure_wazuh_agent
whiptail_setup_complete whiptail_setup_complete
fi fi