You are not logged in.
Hi,
New fresh install.
Inventory is working well but ESX job is not working.
I force job to launch from agent :
C:\Program Files\GLPI-Agent>glpi-agent.bat --logger=stderr --debug --debug --tasks=ESX --force
[debug] Logger backend Stderr initialized
[debug] Logger backend File initialized
[debug] GLPI Agent (1.7.1)
[debug] Configuration directory: C:/Program Files/GLPI-Agent/etc
[debug] Data directory: C:/Program Files/GLPI-Agent/share
[debug] Storage directory: C:\Program Files\GLPI-Agent\var
[debug] Lib directory: C:/Program Files/GLPI-Agent/perl/agent
[debug] [target server0] Next server contact planned for Mon Sep 16 14:40:08 2024
[debug2] getAvailableTasks() : add of task Collect version 2.9
[debug2] getAvailableTasks() : add of task Deploy version 3.0
[debug2] getAvailableTasks() : add of task ESX version 2.10
[debug2] getAvailableTasks() : add of task Inventory version 1.15
[debug2] getAvailableTasks() : add of task NetDiscovery version 6.1
[debug2] getAvailableTasks() : add of task NetInventory version 6.1
[debug2] getAvailableTasks() : add of task RemoteInventory version 1.4
[debug2] Preparing execution plan
[debug] Available tasks:
[debug] - Collect: 2.9
[debug] - Deploy: 3.0
[debug] - ESX: 2.10
[debug] - Inventory: 1.15
[debug] - NetDiscovery: 6.1
[debug] - NetInventory: 6.1
[debug] - RemoteInventory: 1.4
[debug] target server0: server https://glpi/marketplace/glpiinventory/
[debug] Planned tasks for server0: ESX
[debug] Provided by Teclib Edition
[debug] Installer built on Fri Dec 22 15:25:22 2023 UTC
[debug] Built with Strawberry Perl 5.36.0
[debug] Built on github actions windows image for glpi-project/glpi-agent repository
[debug] Running in foreground mode
[info] server0 is not ready yet, but run is forced
[info] target server0: server https://glpi/marketplace/glpiinventory/
[debug2] [http client] Using Compress::Zlib for compression
[info] sending contact request to server0
[debug2] [http client] D2DF5736: sending message:
{
"action": "contact",
"deviceid": "agent.domain.tld-2023-08-13-17-00-44",
"enabled-tasks": [
"esx"
],
"installed-tasks": [
"collect",
"deploy",
"esx",
"inventory",
"netdiscovery",
"netinventory",
"remoteinventory"
],
"name": "GLPI-Agent",
"version": "1.7.1"
}
[debug] [http client] Updating keystore known certificates
[debug2] Changing to 'C:/Program Files/GLPI-Agent/var/keystore-export-XgEoVv' temporary folder
[debug2] executing certutil -Silent -Split -Store CA
[debug2] executing certutil -Silent -Split -Store Root
[debug2] executing certutil -Silent -Split -Enterprise -Store CA
[debug2] executing certutil -Silent -Split -Enterprise -Store Root
[debug2] executing certutil -Silent -Split -GroupPolicy -Store CA
[debug2] executing certutil -Silent -Split -GroupPolicy -Store Root
[debug2] executing certutil -Silent -Split -User -Store CA
[debug2] executing certutil -Silent -Split -User -Store Root
[debug2] executing certutil -encode 0a2f1ad8b260f74b6d25c03f7ab94f2a6347b3fe.crt temp.cer
...
[debug2] executing certutil -encode fee449ee0e3965a5246f000e87fde2a065fd89d4.crt temp.cer
[debug2] Changing back to 'C:/Program Files/GLPI-Agent' folder
DEBUG: .../IO/Socket/SSL.pm:3020: new ctx 112736864
DEBUG: .../IO/Socket/SSL.pm:705: socket not yet connected
DEBUG: .../IO/Socket/SSL.pm:707: socket connected
DEBUG: .../IO/Socket/SSL.pm:730: ssl handshake not started
DEBUG: .../IO/Socket/SSL.pm:774: using SNI with hostname glpi
DEBUG: .../IO/Socket/SSL.pm:815: request OCSP stapling
DEBUG: .../IO/Socket/SSL.pm:831: set socket to non-blocking to enforce timeout=180
TLS
[debug2] format: Zlib
[debug2] [http client] D2DF5736: received message:
{"expiration":"24","status":"ok","tasks":{"esx":{"version":"1.3.5","server":"glpiinventory"}}}
[debug2] [http client] Using Compress::Zlib for compression
DEBUG: .../IO/Socket/SSL.pm:3069: free ctx 112736864 open=112736864
DEBUG: .../IO/Socket/SSL.pm:3073: free ctx 112736864 callback
DEBUG: .../IO/Socket/SSL.pm:3080: OK free ctx 112736864
[info] sending prolog request to server0
[debug2] [http client] sending message:
<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>agent.domain.tld-2023-08-13-17-00-44</DEVICEID>
<QUERY>PROLOG</QUERY>
<TOKEN>12345678</TOKEN>
</REQUEST>
TLS
[debug2] format: Zlib
[debug2] [http client] receiving message:
<?xml version="1.0"?>
<REPLY><PROLOG_FREQ>24</PROLOG_FREQ><RESPONSE>SEND</RESPONSE></REPLY>
[info] running task ESX
[debug2] [http client] Not using compression
[debug2] https://glpi/marketplace/glpiinventory/?action=getConfig&task[ESX]=2.10&machineid=agent.domain.tld-2023-08-13-17-00-44
TLS
[info] No ESX job enabled or ESX support disabled server side.
DEBUG: .../IO/Socket/SSL.pm:3069: free ctx 112738880 open=112738880 112736864
DEBUG: .../IO/Socket/SSL.pm:3073: free ctx 112738880 callback
DEBUG: .../IO/Socket/SSL.pm:3080: OK free ctx 112738880
DEBUG: .../IO/Socket/SSL.pm:3069: free ctx 112736864 open=112736864
DEBUG: .../IO/Socket/SSL.pm:3073: free ctx 112736864 callback
DEBUG: .../IO/Socket/SSL.pm:3080: OK free ctx 112736864
Can you help to see what is happening?
Thanks.
Last edited by supertracteur (2024-09-16 15:11:27)
Offline
Hello, i've found.
Administration >> GLPI Inventory >> Configuration >> agent module >> tick ESX
That's all.
Sorry for this silly question.
Regards.
Offline