Submit a ticketCall us
Home > Success Center > Log & Event Manager (LEM) > Configure Apache Error log connector in LEM

Configure Apache Error log connector in LEM

Updated February 28, 2017

Overview

This article describes steps to configure and troubleshoot Apache Error log connectors in LEM.

 

Environment

  • Apache2+ on Linux/Unix/Solaris/Windows Server with LEM Agent installed.
  • LEM 6.3.1 with Agent

 

Configure the log connector

  1. Install LEM agent on the Server running Apache Web server

  2. Get the correct path for the error_log file location. The file name can be different for Debian/Redhat Distros.

  3. Configure the Apache Error Connector on the Agent node and set the patch with the exact file name. For example: 
    /var/log/httpd/error_log on CentOS7.x and /var/log/apache2/error_log on Debian
  4. Start the connector.

 

apache_error_connector.png

Note: The connector works for any Linux or Windows-based Apache Web server installation, as long as the correct path is configured and has permissions to read the error_log file by the user account running the "SWLEM-agent" service.

Troubleshooting

  1. Connector is configured but not displaying the Apache error logs in LEM web console
  2. Permissions
     

Resolution

  1. Make sure the connector is referring to wrong filename / path.

  2. Make sure the connector is not out of date. Apply the latest connector update either manually or Automatically via LEM web console.

  3. Check permissions error_log file and make sure the user running LEM agent service has read access to the file.

 

 

Last modified

Tags

Classifications

Public