dcecchino / glog

VMware Content Packs and Extractors - including Memory/CPU/Storage /LDAP Login/Bad Login/Security Events Network snooping, and much more! Graylog 6x+, Hypervisor and Vcenter Appliance.
https://github.com/dcecchino/glog
Other
35 stars 12 forks source link

Syslog Tuning per SSH not working #12

Closed hansi941 closed 2 years ago

hansi941 commented 2 years ago

Hello,

I wanted to follow your steps in "Tune your esxi syslog configuration via ssh" but unfortunately my esxi is missing some of your metioned files. You described some sed commands for the following files:

But my esxi has only the following files:

My ESXi Version is:

Do I miss something or how can I generate those files. Or is there an alternative way to set those log levels globally?

Thanks in advanced Best regards

Hansi

dcecchino commented 2 years ago

Hello, You are running latest vmware 7 , I've not tested versions above 7.0.3, but see this article and the one below. If you find the correct syntax to edit the verbose to error only for the files above, please post it in this thread and I will update the documentation

https://kb.vmware.com/s/article/87438

In previous releases (before ESXi 7.0U3) you may be instructed by other KB article(s) to change some settings of ESXi service "vpxa" by directly editing its configuration file (/etc/vmware/vpxa/vpxa.cfg) manually and restarting the "vpxa" service.

The settings in the database are accessible by a tool: /bin/configstorecli

Same goes for hostd and most likely the other services,.

https://kb.vmware.com/s/article/82227