XOS 8.1 and any later releases implement the switch "-h" and all syslog messages are sent to the configured logging server automatically.
Workaround
If you wish to forward all messages (including those from processes running on APMs), you need to follow the following procedure on the CPM. You have to be familiar with a unix text editor, in this example vi.
1) Log into XOS and then switch to the UNIX command line as root:
CBS# unix su
Password:
2) Open the file
/etc/sysconfig/syslog with a text editor such as
vi.
[[email protected] admin]# vi /etc/sysconfig/syslog3) Edit the the line defining
SYSLOGD_OPTIONS. You need to add the option "-h" so the line looks like this:
SYSLOGD_OPTIONS="-m 0 -r -h"
4) Save the file and leave the editor
5) Restart the syslog service:
6) Verify that syslogd is running with the changed command line options
[[email protected] admin]# ps ax | grep syslogd
20592 ? S 0:00 syslogd -m 0 -r -h
After this change you should see new messages from APMs coming onto the remote syslog server.