Aria Operations for Logs cannot be set as logging target in NSX
search cancel

Aria Operations for Logs cannot be set as logging target in NSX

book

Article ID: 434768

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Set logging-server fails with protocol LI.
  • In /var/log/syslog you see logs similar to:
    NSX 2311 - [nsx@6876 comp="nsx-manager" subcomp="node-mgmt" username="root" level="ERROR" errorCode="NOD110"] Error adding liagent to runlevels, rc=1, err=update-rc.d: error: unable to read /etc/init.d/liagentd 

  • Logging server with protocol LI (LogInsight) as target is configured in NSX: 
  • In NSX CLI, get logging-server is not showing syslog (LI protocol) configuration:
  • In CLI, you can't set a logging server with protocol LI. 
  • Normal syslog setup (non-LI) works as expected

Environment

VMware NSX 4.2.3

Cause

The liagent in the impacted versions changed its registration method as a systemd service.

Resolution

This is a known issue impacting VMware NSX.

Workaround:

  1. Download the liagentd file attached to the KB article.
  2. Copy the file liagentd to directory /etc/init.d/ on NSX Manager node and NSX Edge nodes.
  3. SSH to the impacted node as root, and set the permissions on liagentd file:
    chmod 755 /etc/init.d/liagentd
  4. Repeat on the remaining Manager node and Edge.

Additional Information

Also see: Add Syslog Servers for NSX Nodes

Attachments

liagentd get_app