Generate Windows and Linux agents
Applies to: Medulla – Agents
Version: All
Environment: On-Premise / Private SaaS / Shared SaaS
Category: Medulla Agents / support
Before generating agents for your Windows or Linux workstations, you need to decide whether you want one agent per GLPI entity or a single agent type that will report your machines to the parent entity.
Generating an agent per entity
To generate your agents by entity, you need to run the following command:
generate_medulla_agent.sh all force
Then verify that each entity has an agent:
ls /var/lib/pulse2/medulla_agent/*
Each entity is linked to a tag. In this folder, you will find a directory for each tag, and within them, the agents.
Generate a global agent
To generate a single agent per OS, which reports your machines to the parent entity in GLPI, you must run the following command:
/var/lib/pulse2/clients/generate-pulse-agent.sh
Then verify that the agent is present:
ls /var/lib/pulse2/clients/win/
ls /var/lib/pulse2/clients/lin/
Generate an agent and disable the glpi-agent inventory
/var/lib/pulse2/clients/generate-pulse-agent.sh --disable-inventory
If you choose to generate a global agent but want to place your machines in specific GLPI entities, you have two options.
Manually move the machines to the desired entity via the GLPI interface.
Or define rules in GLPI to automatically reassign machines to entities based on their subnet mask or other criteria.