Hi,
Could someone tell me how i can verify the configuration of my Syslog Collector? (not on Vcenter)
I want to change the size of the log file and add more rotation.
I edited the vmware-syslog.xml file in C:\programdata\vmare\...
I have restarted the service.
But how i can chek on my Esxi 5.1 if the correct setting are used?
I already checked in advancerd configuration, Syslog, but it's always the old settings...
Last question could i use Syslog 5.1 with Esxi 4.1?
Thanks!
This KB is for configuring syslog on ESXi 4.x: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101662...
ESXi 4.x syslogging is different from 5.1, so options may vary ...
Basically, as long as the syslogs are comming in your defined folders on your syslog server then your server is configured correctly, as you already found the xml-file you know you can change folders there ...
That's about it.
Hi, welcome to the community ...
You can change these settings through vCLI.
Check out this KB: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&e...
Basically you'll be using this command:
esxcli system syslog config set --logdir=/path/to/directory/ --loghost=RemoteHostname --logdir-unique=true|false --default-rotate=NNN --default-size=NNN
This way you can set the default-rotate and default-size, along with all other settings ...
To see what is configured, use: esxcli system syslog config get
Hi,
Thanks for your support spravtek.
Ok this is the result when i used these command on Esxi 5.1
But how i can verify my remote syslog configuration? Just editing the vmware-syslog.xml?
I've tried to add an Esxi 4.1 to my Syslog collector 5.1 i can see the folder with the hostname Ip, but only one file Syslog.log
This KB is for configuring syslog on ESXi 4.x: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101662...
ESXi 4.x syslogging is different from 5.1, so options may vary ...
Basically, as long as the syslogs are comming in your defined folders on your syslog server then your server is configured correctly, as you already found the xml-file you know you can change folders there ...
That's about it.
Hi,
Ok, i've made some check and all is working fine.
I have my Esxi 5.1 and Esxi 4.1 on Syslog Collector 5.1 (remote).
Thanks
Hi MLengaye, whats steps are required to configure esxi 4.x with syslog collector 5.x ?
thanks