Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Fresh server install but agent not syncing

I have installed OCS 2.9 on Ubuntu 20.04.

I had a lot of problems getting the server installed, but I finally managed to get the web interface working and proceed through the server setup.

Next I installed the Windows agent v2.9.0.0.

It appears that I have setup the agent correctly and I don't think I see any errors in the agent log.

I will attach the agent config and the agent log.

Any help will be appreciated.


[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=1
IpDisc=
[HTTP]
Server=http://10.1.11.13/ocsreports
SSL=0
CaBundle=
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=35820
INVENTORY_ON_STARTUP=0
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10


Starting OCS Inventory Agent on Tuesday, June 15, 2021 11:10:29.
AGENT => Running OCS Inventory Agent Version 2.9.0.0
AGENT => Using OCS Inventory FrameWork Version 2.9.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\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\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory cURL Communication Provider> Version <2.9.0.0>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <GC-00061-2021-06-14-13-25-47> and MACs <00:50:56:C0:00:08F8:B4:6A:1B:EF:7E> 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://10.1.11.13/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.


in OCS Inventory NG agent for Windows by (120 points)

1 Answer

0 votes

Hi,

Server=http://10.1.11.13/ocsreports is not the correct URL. You must have Server=http://10.1.11.13/ocsinventory

Regards

by (90.4k points)
 
Powered by Question2Answer
...