Busybox on VMware ESXi: how to change syslogd options

busyboxsyslogvmware-esxvmware-esxi

What I have:
VMware ESXi 4.0 with busybox installed. Among busybox applets, I'm interested in syslogd. By default, it's running as busybox syslogd. I can see it via ps ax:

ps ax | grep syslog
4316 4316 busybox              syslogd

What I need:
To run syslogd with options. Like that:

busybox syslogd -R 10.30.35.67

My questions:

  1. How to configure busybox, so that -R options comes to play at system startup? Is there any config file or something like that?

  2. How to correctly change busybox syslogd options after the system has been started? How to stop busybox syslogd properly? How to start it with new options? I tried to kill busybox syslogd process (4316 in my case), but after restarting busybox syslogd -R 10.30.35.67 I can't see any syslogd-related process at all.

Best Answer

There's an easier way to configure remote syslogging that is even supported by VMware.

Within the VIC, select the ESXi server, then the "Configuration" tab. From there, choose "Advanced Settings" and look for "Syslog" in the left-hand tree. Enter your syslog destination within the setting "Syslog.Remote.Hostname". Click OK and verify logs are making it to your destination properly.

Related Topic