Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all 4573 articles
Browse latest View live

Answered: Windows agent in HyperV host not reporting any VMs

$
0
0
I too am having this issue with Hyper-V and there seems to be no responses from the OCS team on any of the queries. is it a server setting or agent setting we are missing?

Thanks,

Trevor

Ocs Windows agent version to choose ? [urgent]

$
0
0

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!

Answered: Ocs Windows agent version to choose ? [urgent]

$
0
0
2.4.0 should work - but you can use also any version below

Answered: Ocs Windows agent version to choose ? [urgent]

$
0
0
i am sorry, i had overlooked that this was a special windows version (IOT) - i don't know if this works.
But if you don't have the ARM edition it could work perhaps - IOT Version seems very similar to the LTSB release
kind regards

Sokatra

Agent::Backend::Virtualization::Qemu ignored

$
0
0
Hi,

i have problem with ocs inventory server when i try to register virtual machine (proxmox with qemu)

When the virtual machine is register (Ocsinventory unified agent for UNIX, Linux and MacOSX (2.3.1) in centos 7), in the web server ocs inventory we can access to inventory on the server but isn't recognized as virtual server.

In the log of my ocs inventory agent i can see this log :

[Tue Nov 27 16:46:59 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Tue Nov 27 16:49:57 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Tue Nov 27 22:58:48 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored

thanks a lot for your support,

Regards,

Inventory of ocs with a reverse proxy

$
0
0


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?

Answered: Agent Dont communicate with server

$
0
0

Hi Frank , 

Its installed on 

  • Ubuntu 18.04.1 LTS , but still cant communicate with server
Best regards

Disable package deploying


Answered: data lost after service stop ocsinventory.ini

$
0
0
i can't reproduce the behaviour ...

Failed to send Prolog

$
0
0
Hello,
I'm trying to communicate Windows agent v2.4.0.0 with OCS Inventory server v2.5.
Agent has an error Failed to send Prolog <HTTP Status code #404>.
On server side I have in /var/log/apache2/access.log only this:
172.23.192.5 - - [19/Oct/2018:18:54:56 +0200] "GET /error/HTTP_FORBIDDEN.html.var HTTP/1.1" 404 4506 "-" "OCS-NG_WINDOWS_AGENT_v2.4.0.0"

From agents' computer I've got 400 Bad Request message on https://myocspage/ocsinventory
https://myocspage/ocsreports opens properly

In /var/log/apache2/other_vhosts_access.log there is also:
myocspage:80 ::1 - - [19/Oct/2018:19:16:32 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.10 (Debian) OpenSSL/1.0.2l mod_perl/2.0.9dev Perl/v5.20.2 (internal dummy connection)"

What can I do to find out why agent is receiving 404 response?

Answered: Windows Product Key wrong

Answered: data lost after service stop ocsinventory.ini

$
0
0
Hi,

Could the agent ping the server?

Regards

Frank

Answered: Agent Dont communicate with server

$
0
0
Hi

Is iptables or firewalld enabled on the server? Try to stop the firewall and relaunch an inventory.

Best regards

Frank

Installation date not present for most programms

$
0
0
hy, i am just testing OCS-Inventory 2.5.0 with agent 2.4.0

Local import - most programms have no installation date!

For example handbrake 0.10.5 which i am using in my test

Ocs reports 0000-00-00

00:00:00

But in software add /remove i see the installation - i thoight this works in the new agent ?
I vertified that the date isn't in a local generated xml file - so the server isn't the problem
The same as in ocs inventory 2.1.2 with agent 2.0.5

the "bug" or problem is very old

http://ask.ocsinventory-ng.org/784/installation-date-not-showing
https://bugs.launchpad.net/ocsinventory-windows-agent/+bug/1387081
It looks like ocsagent looks in

HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall

under softarename - for example Handbrake

If there is a Installdate in an Reg_SZ value- then ocs reports it- the question is where the add/remove software control gets the date?

Who can help ?

Answered: VMware Plugin - AUTH_DIG Example

$
0
0

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=",


Answered: Agent Dont communicate with server

$
0
0

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

Help troubleshoot: Couldn't connect to server

$
0
0

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

Answered: pas de remontée inventaire

Answered: Help troubleshoot: Couldn't connect to server

$
0
0
I found the issue: The wrong server IP was entered.

Now onto the new issues...

Thanks, Andrew

Answered: Where is ocslogon.exe in agent release 2.4.0.0 ?

$
0
0
Hey guys,

I had the the same problem but I did compile from the github sources.
Just follow the requirements and compile...

Regards

sip_mw
Viewing all 4573 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>