Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

INFO: Items to include when monitoring MailMarshal (SEG)

Expand / Collapse


This article applies to:

  • Trustwave MailMarshal (SEG)
  • Server monitoring

Question:

  • What are the items to include when monitoring MailMarshal (SEG) processing servers?

Information:

Health monitoring for SEG processing servers can be achieved using a third party product. Monitoring products typically provide features such as:

  • an overview console
  • configurable alert parameters from a variety of inputs
  • alert notification by multiple methods such as email and SMS messages
  • acknowledgement of alerts

One well-known monitoring product is Zabbix.

Trustwave suggests you include the following items when monitoring the status of SEG processing servers:

  • SMTP connectivity: external service can connect to the SEG server and deliver a test message.
    • Response time can also be checked
  • DNS connectivity: DNS lookup from the SEG server is responsive.
    • Note that the DNS server configured in SEG might not be the same one configured in Windows. Be sure to monitor the DNS used by SEG. 
  • Services running:
    • The Controller, Engine, Receiver, and Sender must always be running.
    • In some cases, committing a configuration change can automatically restart the processing services. 
  • Performance monitor counters: The following counters provided by SEG are the most basic.
    • Receiver connections Total/Sec
    • Engine Time Behind
    • Engine messages total/sec
  • Directory based queue lengths:
    • Monitor the number of items (email messages/MML files) in the SEG queue folders: Incoming, ProcessedOK, and Sending.
      • Use Powershell or WMI scripting to check the item counts
      • The Sending queue rarely reaches zero due to retries and undeliverable items. 
    • Also monitor the Archiving queue if Trustwave Email Archiving is enabled
  • Route checks (optional, advanced):
    • The SEG REST API can be used to query the number of messages queued for delivery to specific routes or domains.

Notes:

For counters and queue lengths, sustained values above the average (or zero messages processed) should trigger an alert. Performance varies depending on hardware and the traffic profile of each installation.

Corrective actions

Ensure that services are set to auto-restart on failure.

Incoming queue too high

  1. Check the engine is running/not stalled – restart if required
  2. Check the engine is not at the limit of processing (CPU or Disk bottlenecks, memory swapping)
    • Scale-up or scale-out to increase capacity

ProcessedOK too high

  1. Check the sender service is not stalled
  2. Check the sender service queue length is not at the maximum allowed level (50,000)
  3. Check and adjust thread settings for static route and DNS delivery

Sending queue too high

  1. Check errors in log files
  2. Check outbound SMTP connectivity
  3. Check DNS resolution
  4. For delays to inbound mail, check settings or issues at the internal server SEG delivers to

To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.