Browsed by
Category: syslog

Setting vShield Edge Device Syslog via API

Setting vShield Edge Device Syslog via API

If you need to update your vSE devices to send traffic to a syslog server then you might be slightly disappointed to see that there are no instructions in the vCNS API guide to do this, especially if you have a bunch of edges. I experienced this same feeling today and am happy to say that now you don’t have to. Below are a quick couple scripts that will allow you to update single edges or a whole bunch at…

Read More Read More

Changing VMware ESXi 5.1 Syslog settings via PowerCLI

Changing VMware ESXi 5.1 Syslog settings via PowerCLI

Here is a quick and easy method to change the syslog settings on multiple ESX hosts using PowerCLI. First connect to your VC in PowerCLI and then run the below to see your current remote syslog server on each of the ESXi Hosts: get-vmhost | Get-VMHostAdvancedConfiguration -Name Syslog.global.logHost After getting that information you can then push out new changes:#Get Each Host Connected to the vCforeach ($myHost in get-VMHost){    #Display the ESXi Host that you are applying the changes to    Write-Host…

Read More Read More