How can i fix "no Data" Information in VMInsights?

Markus Schädlich 20 Reputation points
2024-03-01T09:42:34.4566667+00:00

Hi@All,

i use the azure Monitor agent with a Data Collection Rule. Under "Monitoring" "Insights" i found this:

Guest performance: Enabled

Processes and dependencies (Map): Enabled

Log Analytics workspace: log-wrksp-xxx

The Problem is that i get "no Data" from the Disks an the CPU Ulitization and Available Memory.

The Heartbeat from the vm to the log analytics workspace is present.

i uninstalled the monitor agent and the deattach the vm from the data collection rule but i think that is not the problem. the other monitoring data from the vms in the data collection rule are working.

is it a problem with the vm image? it is not from the azure marketplace.

are there any log files to check?

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,216 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,361 Reputation points
    2024-03-05T09:48:35.6933333+00:00

    Markus Schädlich, thank you for providing additional details.

    As I understand, you have enabled VMInsights on this VM using one of the ways mentioned below or using API etc. (correct me if I am wrong)

    1. Enable VM insights
    2. Enable VM insights for Azure Monitor Agent

    Based on the understanding above, can you please check and share the following details:

    1. Screenshot of the view from VM --> Monitoring\Insights --> Performance tab (this is to check if the backend platform knows that the VM Insights has been enabled, in which case, it should look like something below - if data is not being collected, the graph/values might be empty): User's image
    2. Click on "Monitoring configuration" in the view above and ensure that you are querying the data from the correct LA workspace.
    3. Check the msconfig.lkg.xml file for current configuration. Ensure that <CounterSets> tag has the counters listed correctly and also <TaggedData> tag with the DCR starting with "MSVMI-". Note that the DCR created for VMInsights has name starting with "MSVMI-"
    4. On the VM from where the data needs to be collected, got to Start --> "Performance Monitor" --> click on Add button ("+" mark) and see if the counters are infact in there. There are chances that counters may not have been loaded on the machine causing issues with counter value collection.
    5. Apart from the InsightsMetrics table, also check the perf table which also stores the perf counter values. Verify if you see similar behavior in this table as well. For more details, see Perf

    The following article has extensive steps to troubleshoot scenarios that may arise in this case as pointed out earlier - Troubleshooting guidance for the Azure Monitor agent on Windows virtual machines and scale sets. Note that both "basic troubleshooting..." and "Issues collecting performance counters..." topic would apply to the current issue being investigated. Ensure that you have reviewed all the points and do share any errors/inconsistencies that you observe.

    In case the steps and troubleshooting guide do not help, please file a ticket with Azure Support so that the issue can be investigated in detail from both machine as well as platform side, as required.

    Hope this helps. Please let me know if you have any questions.


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.