Thanks,
Trevor
Hello,
I have an ocs server version 2.4.1 and I want to install ocs agent on Windows IOT ENT LTSB 64 bits. Which is the best agent version to install that will be compatible with my ocs server as well as with my Windows clients machines.
Thanks!
Good morning, I am new to the ocs inventory and would like to ask you a question.
It turns out that I'm trying to get my agent for Linux to connect to my server, the problem is that I have an apache in front of my ocsinventory server that works with reverse proxy with https and a certificate that redirects to the ip address of my server, but placing the proxy URL during the installation of the agent, at the time you ask what is the URL of my server, in the end an error occurs, this does not happen when I use the IP address of the server directly instead of the URL of the reverse proxy . Is it possible to do it this way or am I wrong?
Hi Frank ,
Its installed on
Incase someone was stuck like I was:
Incorrect:
AUTH_DIG => "s-mon\@DOMAIN:cy1tb25ARElBR0xBQlM6bDdqbmJ1QVc=",
Correct:
You get the value by doing the following:
echo -n "username@DOMAIN:password" | base64
AUTH_DIG => "cy1tb25ARElBlM6bDdqbmJ1QVc=",
its disabled , but still have error with agent, this is command from server:
ufw status
Status: inactive
--------------------------------------------------------------------------------
This is error with agent :
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <TIOP01-2018-12-03-11-26-01> and MACs <5A:6A:20:52:41:532C:27:D7:39:86:C816:74:11:C4:B0:9A00:09:0F:FE:00:0100:09:0F:AA:00:0100:50:56:C0:00:0100:50:56:C0:00:08> 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://soportesrv/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.
Best regards
Hi all,
We have a newly installed ocs inventory ng server version 2.5 on Centos 7.
I’m trying to get my first agent to communicate with the server. It’s the Windows agent 2.4 on a server 2008 box. However, I only get “Failed to send HTTP Post request <Couldn't connect to server>”
I have stopped the firewalls on both the server and client. If I point my browser to: http://ipaddress_of_ocs/ocsinventory, I get page not found.
Here is some HTTP info:
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_perl/2.0.10 Perl/v5.16.3
Here is my ini:
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=1
IpDisc=
[HTTP]
Server=http://ipaddress_of_ocs/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=2220
INVENTORY_ON_STARTUP=0
Here is my OCSInventory.log:
Starting OCS Inventory NG Agent on Monday, December 03, 2018 10:36:33.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.0.0
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.4.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <RDP2-2018-12-03-07-29-28> and MACs <C2:A8:20:52:41:5300:50:56:9C:24:1400:50:56:9C:3F:9900:50:56:9C:19:FB00:50:56:80:F4:02> 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://ipaddress_of_ocs/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:22.
Any help is much appreciated.
Thanks, Andrew