Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Ops Agent è ora in disponibilità generale. La versione GA include correzioni e miglioramenti in base al feedback degli utenti della versione di anteprima. Questa guida fornisce
i passaggi per la migrazione per i seguenti utenti:
Gli utenti di Ops Agent Preview devono eseguire la migrazione alla versione GA dell'agente.
Gli utenti degli agenti Logging e Monitoring legacy devono eseguire la migrazione a Ops Agent.
Migrazione dalla versione di anteprima di Ops Agent alla versione GA
Per installare la versione più recente di Ops Agent, completa le procedure di upgrade dell'agente.
Se hai modificato la configurazione predefinita dell'agente per rimuovere default_pipeline, aggiungi il seguente snippet alla configurazione dell'agente per mantenere disattivata la pipeline:
Importato con il percorso completo nell'etichetta device;
ad esempio /dev/sda15.
Non importato per i dispositivi virtuali come
tmpfs e udev.
Importato senza /dev nel percorso nell'etichetta device, ad esempio sda15.
Importato per dispositivi virtuali come tmpfs e udev.
Importato senza /dev nel percorso nell'etichetta device, ad esempio sda15.
Importato per dispositivi virtuali come tmpfs e udev.
† La colonna GA si riferisce alle versioni di Ops Agent 2.0.0 e successive. La colonna Anteprima si riferisce alle versioni di Ops Agent precedenti alla 2.0.0.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Transition to the Generally Available version of the Ops Agent\n\nThe Ops Agent is now Generally Available. The GA version incorporates fixes and\nimprovements based on the feedback from Preview users. This guide provides\nmigration steps for the following users:\n\n- Ops Agent Preview users to migrate to the GA version of the agent.\n\n- Users of the legacy Logging and Monitoring\n agents to migrate to the Ops Agent.\n\nMigrating from Ops Agent Preview to the GA version\n--------------------------------------------------\n\nTo install the latest version of the Ops Agent, complete the\n[Upgrading the agent](/stackdriver/docs/solutions/agents/ops-agent/installation#upgrade) procedures.\n\nIf you edited the agent's default configuration to remove the\n`default_pipeline`, add the following snippet to the [agent\nconfiguration](/stackdriver/docs/solutions/agents/ops-agent/configuration) to\nkeep that pipeline disabled: \n\n logging:\n service:\n pipelines:\n default_pipeline:\n receivers: []\n exporters: []\n metrics:\n service:\n pipelines:\n default_pipeline:\n receivers: []\n exporters: []\n\n### Changes in commands for managing the Ops Agent\n\nThe following table lists the commands for managing the agent that changed for\nthe GA release:\n\nMigrating from the legacy agents to the Ops Agent\n-------------------------------------------------\n\nTo migrate from the legacy Logging and Monitoring\nagents, complete the following steps.\n\n1. Uninstall the [Logging](/logging/docs/agent/logging/installation#uninstall)\n and the [Monitoring](/monitoring/agent/monitoring/installation#uninstall)\n agents.\n\n After you uninstall the agent, the Google Cloud console might take up to one\n hour to report this change.\n2. Install the latest version of the [Ops Agent on a single virtual\n machine](/stackdriver/docs/solutions/agents/ops-agent/installation#install-latest-version).\n\n You also have the option of [installing and managing the Ops Agent on\n multiple VMs](/stackdriver/docs/solutions/agents/ops-agent/install-index).\n3. [Configure the Ops Agent](/stackdriver/docs/solutions/agents/ops-agent/configuration)\n as needed.\n\nDifferences in how metrics are collected\n----------------------------------------\n\nThe following table describes differences in the data ingested by the Ops Agent and the Monitoring agent.\n\n^†^ The **GA** column refers to Ops Agent versions 2.0.0 and higher. The **Preview** column refers to Ops Agent versions less than 2.0.0."]]