Every time I try, either in vCenter, vSphere Client connected directly to the host, or with PowerCLI, I get "A general system error occurred: Internal Error" when trying to set Syslog.global.logHost.
vSphere Client to the host gets this error: Call "OptionManager.UpdateValues" for object "ha-adv-options" on ESXi "hostname" failed.
vSphere Client to vCenter gets this error: Call "OptionManager.UpdateValues" for object "EsxHostAdvSettings-143545" on vCenter Server "vcenter" failed.
For PowerCLI, I run this: set-VMHostAdvancedConfiguration -vmhost hostname -Name "Syslog.global.logHost" -Value "splunk"
I've also tried:
set-VMHostAdvancedConfiguration -vmhost hostname -Name Syslog.global.logHost -Value splunk
set-VMHostAdvancedConfiguration -vmhost hostname -Name Syslog.global.logHost -Value udp://splunk:514
all three give this:
Host summary tab shows the Config Issue of "System Logging is not configured on the host", which is why I was trying to ship the logs to my splunk server. It works fine on our 4.0 & 4.1 ESXi hosts, just not 5.0.
It was a fresh install that I configured. When I got these errors, I reset the configuration, only configured the VLAN & IP, and still get these errors.
I wanted to add that a get works just fine:
PS P:\> get-VMHostAdvancedConfiguration -vmhost hostname -Name "Syslog.global.logHost"
Message was edited by: cougar694u ~added content