You are not logged in.
Bonjour,
Je ne comprends pourquoi je n'arrive pas à remonter toutes les informations d'un PC dans GLPI. Le nom du PC ne remonte pas et il me créé un nouvel ordinateur chaque fois que je relance l'agent:
Voici les logs de l'agent (j'ai activé le debug)
[Wed Oct 11 13:19:35 2023][debug] Logger backend File initialized
[Wed Oct 11 13:19:35 2023][debug] GLPI Agent (1.5)
[Wed Oct 11 13:19:35 2023][debug] Configuration directory: C:/Program Files/GLPI-Agent/etc
[Wed Oct 11 13:19:35 2023][debug] Data directory: C:/Program Files/GLPI-Agent/share
[Wed Oct 11 13:19:35 2023][debug] Storage directory: C:\Program Files\GLPI-Agent\var
[Wed Oct 11 13:19:35 2023][debug] Lib directory: C:/Program Files/GLPI-Agent/perl/agent
[Wed Oct 11 13:19:35 2023][debug] [target server0] Next server contact planned for Thu Oct 12 12:50:44 2023
[Wed Oct 11 13:19:35 2023][debug] Available tasks:
[Wed Oct 11 13:19:35 2023][debug] - Collect: 2.9
[Wed Oct 11 13:19:35 2023][debug] - Deploy: 3.0
[Wed Oct 11 13:19:35 2023][debug] - ESX: 2.8
[Wed Oct 11 13:19:35 2023][debug] - Inventory: 1.13
[Wed Oct 11 13:19:35 2023][debug] - NetDiscovery: 5.1
[Wed Oct 11 13:19:35 2023][debug] - NetInventory: 5.1
[Wed Oct 11 13:19:35 2023][debug] - RemoteInventory: 1.2
[Wed Oct 11 13:19:35 2023][debug] target server0: server https://myurl.com/front/inventory.php
[Wed Oct 11 13:19:35 2023][debug] Planned tasks for server0: Deploy,NetDiscovery,Collect,Inventory,ESX,NetInventory,RemoteInventory
[Wed Oct 11 13:19:35 2023][debug] Provided by Teclib Edition
[Wed Oct 11 13:19:35 2023][debug] Installer built on Wed Jun 21 14:27:07 2023 UTC
[Wed Oct 11 13:19:35 2023][debug] Built with Strawberry Perl 5.36.0
[Wed Oct 11 13:19:35 2023][debug] Built on github actions windows image for glpi-project/glpi-agent repository
[Wed Oct 11 13:19:35 2023][info] GLPI Agent service starting
[Wed Oct 11 13:19:35 2023][debug] Trusted target ip: x.x.x.x/32, ::ffff:b9ad:b48e/128
[Wed Oct 11 13:19:35 2023][debug] Trusted client ip/range: 127.0.0.1/32, ::ffff:7f00:1/128, ::1/128
[Wed Oct 11 13:19:35 2023][debug] Trusted client ip/range: x.x.x.x/32, ::ffff:ac10:16/128
[Wed Oct 11 13:19:35 2023][debug] [http server] Trying to load BasicAuthentication Server plugin
[Wed Oct 11 13:19:35 2023][debug] [basic authentication server plugin] Initializing BasicAuthentication v1.0 Server plugin...
[Wed Oct 11 13:19:35 2023][debug] [basic authentication server plugin] Loading BasicAuthentication Server plugin configuration from C:/Program Files/GLPI-Agent/etc/basic-authentication-server-plugin.cfg
[Wed Oct 11 13:19:35 2023][debug] [http server] HTTPD BasicAuthentication Server plugin loaded but disabled
[Wed Oct 11 13:19:35 2023][debug] [http server] Trying to load Inventory Server plugin
[Wed Oct 11 13:19:35 2023][debug] [inventory server plugin] Initializing Inventory v1.1 Server plugin...
[Wed Oct 11 13:19:35 2023][debug] [inventory server plugin] Loading Inventory Server plugin configuration from C:/Program Files/GLPI-Agent/etc/inventory-server-plugin.cfg
[Wed Oct 11 13:19:35 2023][debug] [http server] HTTPD Inventory Server plugin loaded but disabled
[Wed Oct 11 13:19:35 2023][debug] [http server] Trying to load Proxy Server plugin
[Wed Oct 11 13:19:36 2023][debug] [proxy server plugin] Initializing Proxy v2.2 Server plugin...
[Wed Oct 11 13:19:36 2023][debug] [proxy server plugin] Loading Proxy Server plugin configuration from C:/Program Files/GLPI-Agent/etc/proxy-server-plugin.cfg
[Wed Oct 11 13:19:36 2023][debug] [http server] HTTPD Proxy Server plugin loaded but disabled
[Wed Oct 11 13:19:36 2023][debug] [http server] Trying to load SecondaryProxy Server plugin
[Wed Oct 11 13:19:36 2023][debug] [proxy2 server plugin] Initializing SecondaryProxy v1.1 Server plugin...
[Wed Oct 11 13:19:36 2023][debug] [proxy2 server plugin] Loading SecondaryProxy Server plugin configuration from C:/Program Files/GLPI-Agent/etc/proxy2-server-plugin.cfg
[Wed Oct 11 13:19:36 2023][debug] [http server] HTTPD SecondaryProxy Server plugin loaded but disabled
[Wed Oct 11 13:19:36 2023][debug] [http server] Trying to load SSL Server plugin
[Wed Oct 11 13:19:36 2023][debug] [ssl server plugin] Initializing SSL v1.1 Server plugin...
[Wed Oct 11 13:19:36 2023][debug] [ssl server plugin] Loading SSL Server plugin configuration from C:/Program Files/GLPI-Agent/etc/ssl-server-plugin.cfg
[Wed Oct 11 13:19:36 2023][debug] [http server] HTTPD SSL Server plugin loaded but disabled
[Wed Oct 11 13:19:36 2023][debug] [http server] Trying to load Test Server plugin
[Wed Oct 11 13:19:36 2023][debug] [server test plugin] Initializing Test v1.5 Server plugin...
[Wed Oct 11 13:19:36 2023][debug] [server test plugin] Loading Test Server plugin configuration from C:/Program Files/GLPI-Agent/etc/server-test-plugin.cfg
[Wed Oct 11 13:19:36 2023][debug] [http server] HTTPD Test Server plugin loaded but disabled
[Wed Oct 11 13:19:36 2023][debug] [http server] Trying to load ToolBox Server plugin
[Wed Oct 11 13:19:36 2023][debug] [toolbox plugin] Initializing ToolBox v1.1 Server plugin...
[Wed Oct 11 13:19:36 2023][debug] [toolbox plugin] Loading ToolBox Server plugin configuration from C:/Program Files/GLPI-Agent/etc/toolbox-plugin.cfg
[Wed Oct 11 13:19:36 2023][debug] [http server] HTTPD ToolBox Server plugin loaded but disabled
[Wed Oct 11 13:19:36 2023][info] [http server] HTTPD service started on port 62354
[Wed Oct 11 13:19:38 2023][debug] Agent memory usage before freeing memory: WSS=119885824 PFU=109064192
[Wed Oct 11 13:19:38 2023][info] GLPI Agent memory usage: WSS=3137536 PFU=109064192
[Wed Oct 11 13:19:38 2023][debug] Running in background mode
[Wed Oct 11 13:19:38 2023][info] target server0: next run: Thu Oct 12 12:50:44 2023 - https://myurl.com/front/inventory.php
[Wed Oct 11 13:19:40 2023][debug] [http server] GET request /now from client 172.16.0.22
[Wed Oct 11 13:19:40 2023][debug] [http server] rescheduling next contact for all targets right now
[Wed Oct 11 13:19:40 2023][debug] [http server] response status 200
[Wed Oct 11 13:19:41 2023][info] target server0: server https://myurl.com/front/inventory.php
[Wed Oct 11 13:19:41 2023][info] sending contact request to server0
[Wed Oct 11 13:19:41 2023][debug] [http client] Updating keystore known certificates
[Wed Oct 11 13:19:50 2023][debug] server message: remoteinventory task not supported
[Wed Oct 11 13:19:50 2023][info] sending prolog request to server0
[Wed Oct 11 13:19:51 2023][debug] new thread 3 to handle task Deploy
[Wed Oct 11 13:19:51 2023][info] running task Deploy
[b][Wed Oct 11 13:19:51 2023][error] [http client] communication error: 400 Bad Request, Protocol not supported[/b]
[Wed Oct 11 13:19:51 2023][info] Deploy task not supported by server0
[Wed Oct 11 13:19:52 2023][debug] new thread 4 to handle task NetDiscovery
[Wed Oct 11 13:19:52 2023][debug] NetDiscovery task execution not requested
[Wed Oct 11 13:19:53 2023][debug] new thread 5 to handle task Collect
[Wed Oct 11 13:19:53 2023][info] running task Collect
[b][Wed Oct 11 13:19:53 2023][error] [http client] communication error: 400 Bad Request, Protocol not supported[/b]
[Wed Oct 11 13:19:53 2023][info] Collect task not supported by server0
[Wed Oct 11 13:19:54 2023][debug] new thread 6 to handle task Inventory
[Wed Oct 11 13:19:54 2023][info] running task Inventory
[Wed Oct 11 13:19:54 2023][info] New inventory from nomPC.domain.local-2023-10-11-08-47-02 for server0
[Wed Oct 11 13:20:01 2023][debug] module GLPI::Agent::Task::Inventory::Win32::Bios disabled because of GLPI::Agent::Task::Inventory::Generic::Dmidecode::Bios
[Wed Oct 11 13:20:01 2023][debug] module GLPI::Agent::Task::Inventory::Win32::Memory disabled because of GLPI::Agent::Task::Inventory::Generic::Dmidecode
[Wed Oct 11 13:20:01 2023][debug] Running GLPI::Agent::Task::Inventory::AccessLog
[Wed Oct 11 13:20:01 2023][debug] Running GLPI::Agent::Task::Inventory::Generic
[Wed Oct 11 13:20:01 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Batteries
[Wed Oct 11 13:20:01 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Databases
[Wed Oct 11 13:20:01 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Databases::MSSQL
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode::Battery
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode::Bios
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode::Hardware
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Win32
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Hardware
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Vmsystem
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode::Memory
[Wed Oct 11 13:20:15 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode::Ports
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode::Psu
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Dmidecode::Slots
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Drives
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Firewall
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Networks
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::OS
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Remote_Mgmt
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Remote_Mgmt::AnyDesk
[Wed Oct 11 13:20:16 2023][debug] Found AnyDesk ID : 1111111
[Wed Oct 11 13:20:16 2023][debug] Found AnyDesk ID : 111111
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Remote_Mgmt::TeamViewer
[Wed Oct 11 13:20:16 2023][debug] Found TeamViewerID : 1111111
[Wed Oct 11 13:20:16 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::SSH
[Wed Oct 11 13:20:17 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Screen
[Wed Oct 11 13:20:17 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Softwares
[Wed Oct 11 13:20:17 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Storages
[Wed Oct 11 13:20:17 2023][debug] Running GLPI::Agent::Task::Inventory::Generic::Timezone
[Wed Oct 11 13:20:18 2023][debug] Using DateTime::TimeZone to get the timezone name
[Wed Oct 11 13:20:19 2023][debug] Running GLPI::Agent::Task::Inventory::Provider
[Wed Oct 11 13:20:19 2023][debug] Running GLPI::Agent::Task::Inventory::Virtualization
[Wed Oct 11 13:20:19 2023][debug] Running GLPI::Agent::Task::Inventory::Virtualization::HyperV
[b][Wed Oct 11 13:20:19 2023][debug] Win32::OLE ERROR: Invalid namespace
[Wed Oct 11 13:20:19 2023][debug] Win32::OLE ERROR: Invalid namespace
[Wed Oct 11 13:20:19 2023][debug] Win32::OLE ERROR: Invalid namespace
[Wed Oct 11 13:20:19 2023][debug] Win32::OLE ERROR: Invalid namespace[/b]
[Wed Oct 11 13:20:19 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::CPU
[Wed Oct 11 13:20:21 2023][debug] Running GLPI::Agent::Task::Inventory::Virtualization::Wsl
[Wed Oct 11 13:20:21 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::AntiVirus
[Wed Oct 11 13:20:21 2023][debug] Found Windows Defender (state=0x61100)
[Wed Oct 11 13:20:21 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Batteries
[Wed Oct 11 13:20:25 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Chassis
[Wed Oct 11 13:20:25 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Controllers
[Wed Oct 11 13:20:27 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Drives
[Wed Oct 11 13:20:27 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Environment
[Wed Oct 11 13:20:27 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Firewall
[Wed Oct 11 13:20:27 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Inputs
[Wed Oct 11 13:20:28 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::License
[Wed Oct 11 13:21:48 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Modems
[Wed Oct 11 13:21:48 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Networks
[Wed Oct 11 13:21:48 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::OS
[Wed Oct 11 13:21:48 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Ports
[Wed Oct 11 13:21:48 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Printers
[Wed Oct 11 13:21:49 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Slots
[Wed Oct 11 13:21:49 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Softwares
[Wed Oct 11 13:21:50 2023][debug] 'scan-profiles' configuration parameter disabled, ignoring software in user profiles
[Wed Oct 11 13:22:14 2023][debug] [http server] GET request / from client x.x.x.x
[Wed Oct 11 13:22:14 2023][debug] Trusted target ip: x.x.x.x/32,
[Wed Oct 11 13:22:14 2023][debug] Trusted client ip/range: 127.0.0.1/32, ::ffff:7f00:1/128, ::1/128
[Wed Oct 11 13:22:14 2023][debug] Trusted client ip/range: x.x.x.x/32,
[Wed Oct 11 13:22:14 2023][debug] [http server] response status 200
[Wed Oct 11 13:22:17 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Sounds
[Wed Oct 11 13:22:17 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Storages
[Wed Oct 11 13:22:17 2023][debug] [http server] GET request / from client 172.16.0.22
[Wed Oct 11 13:22:17 2023][debug] [http server] response status 200
[Wed Oct 11 13:22:17 2023][debug] invalid value NVMe for field INTERFACE for section STORAGES
[Wed Oct 11 13:22:17 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::USB
[Wed Oct 11 13:22:19 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Users
[Wed Oct 11 13:22:19 2023][debug] unknown field SID for section LOCAL_USERS
[Wed Oct 11 13:22:19 2023][debug] unknown field SID for section LOCAL_USERS
[Wed Oct 11 13:22:19 2023][debug] Running GLPI::Agent::Task::Inventory::Win32::Videos
[Wed Oct 11 13:22:19 2023][debug] Section DRIVES has changed since last inventory
[Wed Oct 11 13:22:19 2023][debug] Section MONITORS has changed since last inventory
[Wed Oct 11 13:22:19 2023][debug] [http server] GET request / from client x.x.x.x
[Wed Oct 11 13:22:19 2023][debug] [http server] response status 200
[Wed Oct 11 13:22:19 2023][debug] inventory format: Removing LOCAL_USERS entry element with required missing ID value:
[Wed Oct 11 13:22:20 2023][debug] inventory format: Removing LOCAL_USERS entry element with required missing ID value:
[Wed Oct 11 13:22:20 2023][debug] inventory format: Removed all LOCAL_USERS entry elements
[b][Wed Oct 11 13:22:25 2023][error] [http client] 956B632C: failed to uncompress content starting with: <div class="alert alert-important alert-danger glpi-debug-alert" style="z-index:10000"><span class="b">Error: </span>An error has occurred, but the trace of this error could not recorded because of a problem accessing the log file.</div><div class="alert a[/b]
[Wed Oct 11 13:22:26 2023][debug] new thread 7 to handle task ESX
[Wed Oct 11 13:22:26 2023][info] running task ESX
[b][Wed Oct 11 13:22:26 2023][error] [http client] communication error: 400 Bad Request, Protocol not supported[/b]
[Wed Oct 11 13:22:26 2023][info] ESX task not supported by server0
[Wed Oct 11 13:22:27 2023][debug] new thread 8 to handle task NetInventory
[Wed Oct 11 13:22:27 2023][debug] NetInventory task execution not requested
[Wed Oct 11 13:22:28 2023][debug] new thread 9 to handle task RemoteInventory
[Wed Oct 11 13:22:28 2023][debug] Remote inventory task execution disabled: no remote setup
[Wed Oct 11 13:22:28 2023][info] target server0: next run: Thu Oct 12 12:29:33 2023 - https://myurl.com/front/inventory.php
[Wed Oct 11 13:22:28 2023][debug] Agent memory usage before freeing memory: WSS=129814528 PFU=146173952
[Wed Oct 11 13:22:28 2023][info] GLPI Agent memory usage: WSS=3321856 PFU=146173952
[Wed Oct 11 13:22:29 2023][debug] target server0: init event for Deploy task
[Wed Oct 11 13:22:29 2023][debug] [target server0] New storage maintenance event on deploy task
[Wed Oct 11 13:22:29 2023][debug] target server0: init event for NetDiscovery task
[Wed Oct 11 13:22:29 2023][debug] target server0: init event for Collect task
[Wed Oct 11 13:22:29 2023][debug] target server0: init event for Inventory task
[Wed Oct 11 13:22:29 2023][debug] target server0: init event for ESX task
[Wed Oct 11 13:22:29 2023][debug] target server0: init event for NetInventory task
[Wed Oct 11 13:22:30 2023][debug] target server0: init event for RemoteInventory task
[Wed Oct 11 13:23:21 2023][debug] [http server] GET request / from client x.x.x.x
[Wed Oct 11 13:23:21 2023][debug] Trusted target ip: x.x.x.x/32,
[Wed Oct 11 13:23:21 2023][debug] Trusted client ip/range: 127.0.0.1/32,
[Wed Oct 11 13:23:21 2023][debug] Trusted client ip/range: x.x.x.x/32,
[Wed Oct 11 13:23:21 2023][debug] [http server] response status 200
[Wed Oct 11 13:24:29 2023][debug] target server0: storage maintenance event for deploy task
[Wed Oct 11 13:24:29 2023][debug] new thread 10 to handle task Deploy
[Wed Oct 11 13:24:29 2023][info] running task Deploy: storage maintenance event
[Wed Oct 11 13:24:29 2023][debug] Deploy task storage maintenance event for server0 target
[Wed Oct 11 13:24:29 2023][debug] No need to plan another storage maintenance event for server0 target
[Wed Oct 11 13:24:32 2023][debug] Agent memory usage before freeing memory: WSS=126857216 PFU=154595328
[Wed Oct 11 13:24:32 2023][info] GLPI Agent memory usage: WSS=3555328 PFU=154595328
J'ai mis en gras les erreurs que j'ai trouvé mais je ne comprends pas comment les résoudre
Si vous avez une idée, je suis preneur
Pour info, c'est une migration depuis la migration 9.5.6 vers la 10.0.10.
Le serveur est en ubuntu 22.04.03 avec apache
Merci d'avance pour votre aide.
Offline