Skip to main content

Agent installation issue

Applies to: Medulla – Agent
Version: All
Environment: On-Premise
Category: Medulla Agent

Issue encountered

When installing the Medulla agent, it attempts to retrieve its configuration files from agents.medulla-tech.io.

This operation may fail and return a 404 Not Found error, as in the following example:

--DATE HEURE-- https://agents.medulla-tech.io/medulla-rootca.cert.pem
Résolution de agents.medulla-tech.io (agents.medulla-tech.io)… IP
Connexion à agents.medulla-tech.io (agents.medulla-tech.io)|IP|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
DATE HEURE erreur 404 : Not Found.

Verification

To resolve this issue, you must verify the configuration used when generating the agent.

Edit the following file:

/var/lib/pulse2/clients/.generation_options

Check for the presence of the following variable:

--base-url=FQDN/downloads

This variable must be set to the FQDN of your Medulla infrastructure, followed by the path /downloads.

Caution: This value must match the download address configured on your infrastructure.

To learn more about configuring your agents, you can refer to the following documentation:

Reconfigure My Agent

Regenerating the agent

Once the configuration has been corrected, you must regenerate the agent for the changes to take effect.

To do this, run the following command:

generate_medulla_agent.sh all force

You can also use the generation script directly:

/var/lib/pulse2/clients/generate-pulse-agent.sh

Once regeneration is complete, you can restart the agent installation to verify that the issue has been resolved.