zVirt 3.0–3.1: source configuration
You must configure a source under the root account.
If the corporate IT infrastructure uses a firewall or other means of network traffic control, you must configure rules allowing traffic between the source host and the MP 10 Collector host on port UDP 514 or TCP 1468 (depending on the protocol used) in the direction of the MP 10 Collector host.
The source can record syslog events. If a source uses the rsyslog service, to send events to an MP 10 Collector, you must create a file with the service options and set up the service configuration file.
/etc/rsyslog.d/11-zvirt.conf
with access permissions 644.module(load="imfile" PollingInterval="10") input( type="imfile" File="/var/log/ovirt-engine/engine.log" Tag="zvirt syslog" Severity="info" Facility="local7" startmsg.regex="[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}" )
- To send events to port UDP 514:
local7.info @<MP 10 Collector IP address>:514
- To send events to port TCP 1468:
local7.info @@<MP 10 Collector IP address>:1468
/etc/rsyslog.conf
configuration file.$MaxMessageSize 64k
$IncludeConfig /etc/rsyslog.d/11-zvirt.conf
$IncludeConfig /etc/rsyslog.d/*.conf
include(file="/etc/rsyslog.d/*.conf" mode="optional")
$ActionQueueType LinkedList $ActionQueueFileName syslog_queue $ActionResumeRetryCount -1 $ActionQueueSaveOnShutdown on $ActionQueueMaxDiskSpace 1024m $ActionQueueTimeoutEnqueue 0
$imjournalRatelimitInterval 15
$SystemLogRateLimitBurst 20000 $SystemLogRateLimitInterval 15
RateLimitBurst=20000
to the configuration file /etc/systemd/journald.conf
.