Bonjour,
Je viens de monter un serveur OCS et je n'ai pas de remonté de mon agent windows.
Lorsque je configure l'agent avec l'adresse par defaut j'obtiens une erreur 404 par contre losque je configure l'agent avec l'adresse su serveur ocsreports j'ai un code 200 mais pas de remontés
Je vous joint les logs de l'agent dans les deux configurations.
Je precise que je suis une quiche en Linux et que j'ai tout configuré avec differents Tuto.
Configuration serveur
Système
Linux x86_64
4.9.0-4-amd64
3820 Mo
2842 Mo
Intel(R) Pentium(R) CPU G2030 @ 3.00GHz
Debian GNU/Linux 9 (stretch)
Logiciel
7.0.27
Apache/2.4.25 (Debian)
Debian 9.1 version 10.1.26-MariaDB-0+deb9u1
2.4
********Client configuré Avec l'adresse ocsreports ********
Starting OCS Inventory NG Agent on Monday, February 26, 2018 11:41:23.
AGENT => Running OCS Inventory NG Agent Version 2.3.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.1
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <PO02INFO1000-2018-02-22-11-51-52> and MACs <80:CE:62:2F:54:F260:F6:77:7E:99:DC60:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D8> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://192.168.0.11/ocsreports>
COM SERVER => HTTP Post response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
AGENT => Prolog successfully sent
AGENT => Prolog Frequency set to 10 hour(s)
AGENT => Inventory on startup option set to
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
********Client configuré Avec l'adresse ocsinventory ********
Starting OCS Inventory NG Agent on Monday, February 26, 2018 11:50:03.
AGENT => Running OCS Inventory NG Agent Version 2.3.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.1
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <PO02INFO1000-2018-02-22-11-51-52> and MACs <80:CE:62:2F:54:F260:F6:77:7E:99:DC60:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D860:F6:77:7E:99:D8> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://192.168.0.11/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.