Configuring rsyslog on the Avaya Breeze platform

Last Updated : Nov 08, 2023 |

About this task

You can use the following process to enable the sending of logs from an Avaya Breeze® platform server to a remote rsyslog server.

  • This process assumes that Avaya Breeze® platform send the logs to UDP port 514.

Before you begin

  • Check that rsyslog is installed and operating on the server to which the Avaya Breeze® platform will send logs.

Procedure

  1. Check if rsyslog is already installed on the Avaya Breeze® platform by entering the following command:

    rsyslogd -v

  2. If not installed, enter the following command to install rsyslog:

    dnf install rsyslog

  3. Open the rsyslog configuration file using the following command:

    vi /etc/rsyslog.conf

  4. Locate the # remote host is section and add the address of the rsyslog server:
    # remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
    *.* @<rsyslog server IP address>:514
    • Where <rsyslog server IP address> is the address of the rsyslog server.

  5. Close the rsyslog configuration file, saving the changes.
  6. Enter the following command to open the ports the Avaya Breeze® platform client will use to send logs to the remote rsyslog server:
    sh /etc/snfw/snfw-nft.sh --nft-custom-add inet filter output oif "eth0" udp dport 514 ct state { established, new } counter accept
  7. Check the status of rsyslog by entering the following commands:
    systemctl restart rsyslog
    systemctl enable rsyslog
    systemctl status rsyslog
  8. On the remote rsyslog server:
    1. Under the /var/log/ path, locate the folder with the hostname of the Avaya Breeze® platform server.
    2. Enter the folder.
    3. Use the tail command to view the most recent logs from the Avaya Breeze® platform.