Unable to enable Insights on Ubuntu 20.04 server

Lawrence Dwight 41 Reputation points
2022-07-22T17:27:06.617+00:00

From what I can read, to enable VM Insights the Dependency Agent for Linux is required. When attempting to install it, however, I get the following error.

(VMExtensionHandlerNonTransientError) The handler for VM extension type 'Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux' has reported terminal failure for VM extension 'DependencyAgentLinux' with error message: '[ExtensionOperationError] Non-zero exit code: 90, /var/lib/waagent/Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux-9.10.14.20760/bin/time-limit 870 scripts/install.sh >/dev/null  
[stdout]  
  
  
[stderr]  
Running scope as unit: install_a82fa72c-48fc-43dc-a92e-2cb3f36cbe3b.scope  
  
Missing kernel symbol: printk  
  
The Dependency Agent was not installed.  
  
See https://aka.ms/ServiceMapTroubleshooting (exit code = 0x0000005a) for assistance.  
'.  
      
'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/VMExtensionDependencyAgentLinuxTroubleshoot'  

Is the 5.15.0-1014-azure kernel not supported?

It seems 5.8 and 5.4 are the only kernels supported for Ubuntu 20.04 from https://learn.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview#supported-operating-systems

Are there any solutions to enable VM Insights on Ubuntu 20.04?

Thank you for any help.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,654 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-07-28T19:52:47.3+00:00

    Seems to be latest kernel, downgraded kernel and then installs ok. Went from 5.15.0-1014-azure to 5.4.0-1025-azure as a test and dependency agent then installed fine.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.