Skip to main content

Generate Windows and Linux agents

Applies to: Medulla – Agents
Version: All
Environment: On-Premise / Private SaaS / Shared SaaS
Category: Agents / Support

Before generating agents for your Windows or Linux workstations, it is important to define your attachment strategy in GLPI:

  • Either one agent per GLPI entity,
  • Or a global agent, which will report all machines to the parent entity.

Generate an agent per entity

To generate a separate agent per GLPI entity:

generate_medulla_agent.sh all force

Then verify that each entity has its own agent:

ls /var/lib/pulse2/medulla_agent/*

Each entity is associated with a tag. You will find a directory for each tag containing the corresponding agents.

Generate a global agent

To generate a single agent per operating system (linked to the parent GLPI entity):

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

Then verify the presence of the agents:

ls /var/lib/pulse2/clients/win/
ls /var/lib/pulse2/clients/lin/

Generate an agent without GLPI inventory

This option requires Medulla and the agent version 5.5.2 or higher.

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

Managing entities with a global agent

If you are using a global agent but want to distribute machines across different GLPI entities, two options are available:

  • Manually move the machines in GLPI,
  • Set up automatic rules in GLPI (by subnet, name, or other criteria).