ECS: How to setup customer Syslog server to receive alerts from the ECS

Summary: How to setup customer Syslog server to receive alerts from the ECS.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Customers are responsible for configuring their Syslog servers in order to receive alerts from the ECS.
It is out of scope of the Dell EMC support lab to provide instructions on how to configure customer Syslog servers.

Below is a sample setup from one of the internal Dell EMC labs, which is intended to be used only as a sample guide to configuring a Syslog server to receive alerts from the ECS.
  • The assumption is that the needed rsyslog packages are already installed and running.
  • The /etc/rsyslog.config file has the path to where the log files are stored. 
  • The below configuration creates a new text file for each ECS node using the node s IP address as the file name.
  • A crontab job need to be created to rotate and compress the log files periodically; otherwise, the log disk will fill up. If the the root partition is shared with the logs, then the whole rsyslog system may crash.
# cat /etc/rsyslog.config
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog   # provides kernel logging support
#$ModLoad immark  # provides --MARK-- message capability
 
#Configuration for ECS
$ModLoad imudp
$UDPServerRun 514
$ModLoad imtcp
$InputTCPServerRun 514
template (name="ECS" type="string" string="/tmp/logs/ecs-node-%FROMHOST-IP%.log")
*.* -?ECS

Additional Information

To setup the ECS to use the already configured Syslog server, please consult the ECS Admin Guide for detailed instructions.

Affected Products

Elastic Cloud Storage

Products

ECS Appliance, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, Elastic Cloud Storage
Article Properties
Article Number: 000012004
Article Type: How To
Last Modified: 22 Aug 2024
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.