Greetings Mike:

This worked like a charm (though I wish you could specify it on agent
installation).

For those looking to make this an easier switch on Linux, here's the
sed:

sed -i "s/<server-ip>[IP ADDRESS YOU USED WITHOUT BRACKETS]<\/server-
ip>/<server-hostname>[HOST NAME YOU WANT WITHOUT BRACKETS<\/server-
hostname>/" /var/ossec/etc/ossec.conf
/var/ossec/bin/ossec-control restart

Please note the use of "\" and "/" together is not the capital letter
"V"

Thank you.

Reply via email to