Generate Windows and Linux agents
Applies to: Medulla – Agents
Version: All Environment: On-Premise / Private SaaS / Shared SaaS
Category: Medulla Agents / supportSupport
Before generating agents for your Windows or Linux workstations, youit needis important to decidedefine whetheryour youattachment wantstrategy in GLPI:
GeneratingGenerate an agent per entity
To generate youra agentsseparate byagent entity,per youGLPI need to run the following command:entity:
generate_medulla_agent.sh all force
Then verify that each entity has anits own agent:
ls /var/lib/pulse2/medulla_agent/*
Each entity is linkedassociated towith a tag. In this folder, youYou will find a directory for each tag,tag and within them,containing the corresponding agents.
Generate a global agent
To generate a single agent per OS,operating whichsystem reports your machines(linked to the parent entityGLPI in GLPI, you must run the following command:entity):
/var/lib/pulse2/clients/generate-pulse-agent.sh
Then verify thatthe presence of the agent is present:agents:
ls /var/lib/pulse2/clients/win/
ls /var/lib/pulse2/clients/lin/
Generate an agent andwithout disable the glpi-agentGLPI inventory
RequiresThis option requires Medulla and itsthe 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 chooseare to generateusing a global agent but want to place yourdistribute machines inacross specificdifferent GLPI entities, you have two options.options are available:
Or defineautomatic rules in GLPI to(by automaticallysubnet, reassign machines to entities based on their subnet maskname, or other criteria.