You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-11-15 09:25:33

marioalpha
Member
Registered: 2019-06-11
Posts: 38

How to activate the wakeonlan module

I would like to use the WOL module to be able to awaken the workstations with a task.
But this is not present among the available modules.
It seems to be correctly installed.

glpi-agent --list-tasks

Available tasks :
- ESX (v2.8)
- WakeOnLan (v2.2)
- NetInventory (v5.1)
- Inventory (v1.13)
- RemoteInventory (v1.2)
- Collect (v2.9)
- NetDiscovery (v5.1)

But in the modules and Task creation management it is not present.

img1 bbcode WOL-MODULE-TASK

Last edited by marioalpha (2023-11-15 22:08:02)


Glpi 10.0.16
Glpi Agent 1.10
Apache 2.4.29
PHP 8.2.4

Offline

#2 2023-11-16 19:50:01

marioalpha
Member
Registered: 2019-06-11
Posts: 38

Re: How to activate the wakeonlan module

I haven't been able to find a solution yet.
Do you have no suggestion?
Maybe what I wrote is not correct or unclear?


Glpi 10.0.16
Glpi Agent 1.10
Apache 2.4.29
PHP 8.2.4

Offline

#3 2023-11-17 16:09:28

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,226
Website

Re: How to activate the wakeonlan module

Wake on LAN was removed from the GLPI Inventory plugin in version 1.3.0. I am not sure why or if there is an alternative way to use it (I don't really work with the GLPI inventory plugin or agent code).


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#4 2023-11-18 13:20:25

marioalpha
Member
Registered: 2019-06-11
Posts: 38

Re: How to activate the wakeonlan module

Thanks for the reply
Where can I document myself to understand if he was deprecated or if he is in development?
For now I seem to understand that I should downgrade to Version: 1.2.3
or continue to keep Ocsinventory in production just for this feature

reference to the guide 1.5
feat_WOL: to select WakeOnLan task for installation
I read information on how to configure the Windows agent and enable the task.
Is it a mistake or can I use Windows to perform Task Wol?


Glpi 10.0.16
Glpi Agent 1.10
Apache 2.4.29
PHP 8.2.4

Offline

#5 2025-01-23 02:42:04

eduardomozart
Member
Registered: 2020-10-13
Posts: 8

Re: How to activate the wakeonlan module

Hello marioalpha,
Inspecting the MSI package of GLPI-Agent 1.12 (Nightly) using Orca, the files to make Wake on Lan work off-line are still embedded on the package, but doesn't seems to have any option to select them for installation using UI, so you may have Wake on Lan feature installed for off-line usage (using "glpi-wakeonlan" command on the host with GLPI-Agent, not GLPI-Inventory plugin UI) if you provide the "feat_WOL" parameter on MSI installation (untested), e.g "msiexec /i GLPI-Agent-1.12-x64.msi ADDLOCAL=feat_WOL", that's the reason I believe that this feature is still documented as you figure out. Please read the GLPI-Agent Windows installer documentation for other parameters that you can provide to the installer.
You can find the tasks development into the GLPI-Agent source-code available at GitHub and, as you can expected, the latest commit for WoL feature was in 2022. Also, no official binary for other platforms is available at GLPI-Agent GitHub Releases download page, so yes, you can consider WOL as a deprecated feature. A GLPI-Inventory plugin workaround would be using the Deploy task to run a WoL application into an agent to wake up a specific machine MAC address.

Last edited by eduardomozart (2025-01-23 02:47:54)

Offline

Board footer

Powered by FluxBB