Category Archives: homelab

Send ESXi Host Logs To Remote Syslog Server

Under the ESXi host, navigate to Host->Manage->System->Advanced Settings and search for Syslog.global.logHost and click edit. Now input the address of the syslog server, in my case, a Graylog VM:

udp://192.168.139.11:8515
ESXi Host Advanced Settings

Enable SSH on the host and login. Navigate to /etc/vmware/firewall and create a file name.xml and add the following editing as needed:

<ConfigRoot>
  <service id="0000">
    <id>graylog</id>
    <rule id='0000'>
      <direction>outbound</direction>
      <protocol>udp</protocol>
      <porttype>dst</porttype>
      <port>8515</port>
    </rule>
    <enabled>true</enabled>
    <required>true</required>
  </service>
</ConfigRoot>

Save the file and reload the firewall by issuing

esxcli network firewall unload

esxcli network firewall load

You should now start seeing logs in your syslog server. Just be warned that it is not persistent across reboots.


How to force passthrough of internal USB controller on a Dell PowerEdge Server

Dell and vmware logo

Recently I’ve decided to give Frigate a try since as some of you already know, motion detection on most cameras can be very flaky at times and I was looking for a permanent solution to false alerts outside my home. One of the issues I encountered during the process was Frigate suggests the use of a Google Coral Accelerator for object detection (which I was lucky enough to score one during the chip shortage) but since my Frigate instance is running under a VM on ESXi, I needed to passthrough the Coral to the VM which turns out it doesn’t work under ESXi 7.x. Simply plugging in the Coral to my PowerEdge R330 server and passing it through to the VM wasn’t enough.

ESXi Host PCI devices settings