profile for Gajendra D Ambi on Stack Exchange, a network of free, community-driven Q&A sites

Thursday, April 23, 2015

Set multiple syslog servers on multiple hosts

So I am just documenting this to make this comes in handy and my fish memory doesnt retain such good things..
how to update multiple syslog servers on all hosts of a datacenter.

connect-viserver
get-vmhost | set-vmhostadvancedconfiguration -name syslog.global.loghost -value "zz.zz.zz.zz,yy.yy.yy.yy"
for a full updated version see it at github.
sharing is caring.
update 29/5/2015
now i have included all the advanced syslog settings in the github for the same. have fun. check out 2 types of the syslog script. one which use the legacy and deprecated method (which i loved it btw) and the new method.

No comments:

Post a Comment