You are not logged in.
Hello
I deployed glpi-agent_1.4-1 with ansible on debian 10/11 servers (Bare Metal and VM).
For somes servers I have plenty of this error line in log when the agent start a new inventory.
glpi-agent[633402]: Use of uninitialized value in pattern match (m//) at /usr/share/glpi-agent/lib/GLPI/Agent/Task/Inventory/Linux/Videos.pm line 46.
The line 46 of Videos.pm file is :
44 my $xorgPid;
45 foreach my $process (getProcesses(logger => $logger)) {
46 next unless $process->{CMD} =~ m{
47 ^
48 (?:
49 /usr/bin
50 |
51 /usr/X11R6/bin
52 |
53 /etc/X11
54 )
55 /X
56 }x;
57 $xorgPid = $process->{PID};
58 last;
59 }
The inventory ends well, but how I can solve this error ?
Thanks in advance,
Nicolas.
Last edited by nicolask (2022-12-01 16:00:28)
Offline
Hello Nicolas,
The "Video" inventory on linux has been reworked in current development branch.
So can you try the nightly build on these computers ?
A feedback would be appreciated to validate the current dev on video inventory ;-)
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Hello
Thank you for your quick answer.
I confirm that GLPI Agent (1.5-gite9959f3a) solved the problem on debian 10/11.
Bonne journée from Montpellier
Nicolas.
Offline