Quantcast
Channel: Ocsinventory Q&A - Recent questions
Viewing all 4375 articles
Browse latest View live

Pré-requis matériel sur le client

$
0
0
Bonjour,

  Je suis à la recherche des pré-requis matériel (CPU, RAM, Espace disque) pour l'exécution du client OCS sur des PC Windows, y compris si possible pour les versions des clients sous Windows XP.

Merci d'avance

OCS Agent for Ubuntu

notification does not work!

No network data sent from : Red Hat Linux 7.6

$
0
0

Hello

I have installed Ocsinventory-Unix-Agent-2.4.2 on server : Red Hat Enterprise Linux Server release 7.6 (Maipo)

All informations are loaded on OCS Inventory Server but not the NETWORK part :

In OCS log file, NETWORK part is empty
   1236     <NETWORKS>
   1237     </NETWORKS>

 

And so, in OCS console, NETWORK part is empty too

Problem Search With Various Criteria

$
0
0

Clicking on search with various criterias blank page !!!

When activating the DEBUG permance in white !!!

Centos 7 + MariaDB 5.5.6 + php 5.4.16

Error TeleDEPLOY

$
0
0
CentOS Linux 7 (Core)

Software

PHP Version :
  • Web Server :5.5.38
  • Database Server :Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.5.38 mod_apreq2-20090110/2.8.0 mod_perl/2.0.10 Perl/v5.16.3 MariaDB Server version 5.5.60-MariaDB
  • Version OCSReports:2.5

log error

 PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 590, referer: http://ocsinventory.XXXX.XXXX/ocsreports/index.php?function=pack_search&head=1&idchecked=11&origine=mach

ocslogon.exe dans la version 2.4 de l'agent?

$
0
0
Ou trouves t'on l'exécutable ocslogon.exe dans la version 2.4 de l'agent?

Y'a t'il une autre façon de déployer l'agent via une GPO ?

SNMP Scan with OCS Windows Agent 2.4

$
0
0

Hi everybody,

we are using OCS Inventory Server 2.5 and Windows Agent 2.4...everything works fine instead of the SNMP Scan function. It won't start.

Is it stillnecessary to use https ?? Cause this is the only thing we don't activate.

This is the log File from our test client:

Starting OCS Inventory NG Agent on Monday, November 12, 2018 08:13:32.
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)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Communication Server asks for IpDiscover
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
ADMIN INFO => Couple ( TAG <=>  ) added to configuration file
AGENT => Inventory successfully sent
AGENT =>  Communication Server asked for Package Download
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:02:18.

Can anybody help?

Greetz

fricketo


Instação OCS Server

$
0
0

Ao instalar o OCS Server no ubuntu é apresentando o seguinte erro:

Erro

Error Last Inventory and HTTP Status Code # 500

$
0
0
Hello

I have a problem with Ocsinventory Server 2.5. (Apache 2.4.25, Mariadb 10.1.26, PHP 7.0.30, Debian 9.1)

The last inventory field no longer updates, while the last contact field yes.
The error appeared between this morning and tonight without any change on the server. I tested my connection to the data bse that works perfectly.
I have the following error:
DBD :: mysql :: st execute failed: Out of range value for column 'ID' at row 1 at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Server/Inventory/Update.pm line 165.
On the clients I have the error:
ERROR *** AGENT => Failed to send Inventory <HTTP Status Code # 500>

Possible database problem?

Thanks for your help

Agent Dont communicate with server

$
0
0

Hi, 

My principal error is with Agent 2.4 and server 2.5 doesnt communicate :

COM SERVER => Initializing cURL library for sendRequest

COM SERVER => Using cURL with 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.

 

I read in this forum that i have to enable two sites with a2ensite that came in rar file , but it doesnt work , i enable it , but doesnt work 


I appreciate your help to solve this problem i tried to resolve this too much days,

Thanks in advanced

PD: Where i can email the logs?

groupe dynamique + recherche mutil critère

$
0
0

Bonsoir,

J'ai un serveur en v2.5, l'inventaire et le télédéploiement fonctionne très bien, un grand bravo à l'équipe de développement au passage pour leur super boulot !

Je rencontre un problème avec les plugins que je souhaite intégrer lors de la création de mon agent avec ocspackager (voir ici pour les curieux). Pour contourner le problème, j'ai créé un paquet contenant tous mes plugins que je déploie sur mes postes. Pour faire mon déploiement, je sélectionne tous mes pc et je leur affecte le paquet, l'agent le télécharge et mes plugins sont installés.

Seulement voila, mes pc étant dans un domaine, j'ai régulierment de nouveaux pc qui viennent s'ajouter à ce domaine, et qui du coup, n'ont pas les plugins. Je recommence donc une nouvelle "tournée" de déploiement (= je sélectionne tous mes pc et je leur affecte le paquet). J'avoue que même si cela ne prends pas beaucoup de temps, c'est loin d'etre l'idéal car :

1/ la plupart de mes pc ont déjà le paquet de plugins

2/ faire cela "à la main", c'est pas super

Cela m'amène à 2 questions :

1/ les groupes dynamique, c'est bien fait pour que selon des critères définit, les pc "entrent ou sortent" de ce groupe dynamique ? si oui, je dois mal m'y prendre car malgré avoir créer mon groupe dynamique, les nouveau pc "n'entrent"  pas automatiquement dans ce groupe. La documentation a ce sujet étant un peu "simpliste" ; je dois mal m'y prendre et/ou j'ai pas compris comment faire.

 2/ Du coup, j'essaye de faire une recherche multicritère sur les pc qui n'ont pas ce paquet, mais visiblement la aussi je dois mal m'y prendre et/ou j'ai pas compris comment faire, car je n'arrive pas à avoir le résultats souhaité, et même aucun résultat ( 0 pc correspondent à ma recherche, alors que c'est évidement faux)

J'ai bien sur cherché dans la doc et sur le ask, fait de nombreux essais par moi même ; mais sans succès. D'avance merci de m'éclairer sur ces deux points.

Cdt.

MacOS Agent - Parameter SSL

$
0
0

Hi,

MacOS agent check for certificat on the server despite SSL=0. No problems with Windows and Linux agents.

ocsng.log :

[Thu Nov 15 11:18:32 2018][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.4.2
[Thu Nov 15 11:18:32 2018][debug] Log system initialised (File)
[Thu Nov 15 11:18:32 2018][debug] --scan-homedirs missing. Don't scan user directories
[Thu Nov 15 11:18:32 2018][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__server_ocsinventory/ocsinv.adm
[Thu Nov 15 11:18:32 2018][debug] OCS Agent initialised
[Thu Nov 15 11:18:32 2018][debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[Thu Nov 15 11:18:32 2018][debug] Calling handlers : `start_handler'
[Thu Nov 15 11:18:32 2018][debug] Compress::Zlib is available.
[Thu Nov 15 11:18:32 2018][debug] Calling handlers : `prolog_writer'
[Thu Nov 15 11:18:32 2018][debug] sending XML
[Thu Nov 15 11:18:32 2018][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>mac-2018-11-15-10-22-18</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Thu Nov 15 11:18:32 2018][error] Cannot establish communication : 500 SSL_ca_file /var/lib/ocsinventory-agent/https:__server_ocsinventory/cacert.pem does not exist

ocsinventory-agent.cfg

server=https://server/ocsinventorylogfile=/var/log/ocsng.logdebug=1lazy=0ssl=0

Where can I find all the parameters for the ocsinventory-agent configuration file.

Server : 2.5

Agent : Ocsinventory_Agent_MacOSX-2.4.2.pkg.zip

Regards,

Vincent

(Unofficial) Linux lite OCS Inventory NG agent

$
0
0
Hy, i would like to recommend this unofficial agent which does not have many dependencies.

Please try at you own risk. For me this agent is good enough to create an inventory.

The compiled program weights around 400kb

(Unofficial) Linux lite OCS Inventory NG agent

https://github.com/jackburton79/ocs-agent

Get OS Install Time

$
0
0
hy, i think everybody knows that the following plugin exists to read the OS install time

https://github.com/PluginsOCSInventory-NG/osinstall/releases

But there is an easy way to get most of the information from registry.

1. create a registry query in OCS-Inventory Server for the following key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate

Now every client reports this key to ocs

2. convert the unix time stamp number to a human redable date with an online unix time stamp converter

or

search with multicriteria search for all computers with this key - export the csv - use excel to convert all the numbers with the following formula

= A1 86400 + 25569

A1 contains the unix time stamp - the resulting field - for example B1 must be formated as DATE

Thats it

HP ThinClient T420

$
0
0
bonjour,
est il possible de remonter les thinclient hp dans ocs comme les thinclient T420, pas de windows dessus.

Hello,
is it possible to go up the thinclient hp in ocs like thinclient T420, no windows above

Delete OCS by GPO with VBS Script

$
0
0
Hi everyone,

I need for my network to deploy a VBS script to uninstall OCS.
I create a Ubuntu Server with OCS and GLPI and i put OCS deploy by GPO for first time but my VM crash....
So i create a new Ubuntu Server with a different IP Adress and a lot of computer have the first OCS Agent deploy with the old IP Adress.
If someone can help me to create a VBS script to change the server Adress or create a VBS script to uninstall OCS and after that deploy the good Agent with the good IP adress.

I don't know if it's clear or not, tell me if i can explain more !

Thanks a lot !

mutliple Vulnerabilities in OCS Inventory 2.4.1

$
0
0
if i am correct, the rpm version of Ocs Inventory is 2.4.1 an not 2.5.

the problem is that 3 vulnerabilities exist in this version.

So i can't recommend this version for use in in unsave environment.

I don't want to post the vulneabilities, because i don't want to be blamed for that.

Kind regards

sokatra

Problem with Perl after instalation

$
0
0

I was install Inventory server (2.3) on Debian 8 and try to connect using Windows Agent. In web application is only record with ID. Server and client connect without problems. In apache log i was found this:

[Tue Nov 20 12:48:04.803998 2018] [mpm_prefork:notice] [pid 5388] AH00163: Apache/2.4.10 (Debian) mod_perl/2.0.9dev P
erl/v5.20.2 configured -- resuming normal operations
[Tue Nov 20 12:48:04.804010 2018] [core:notice] [pid 5388] AH00094: Command line: '/usr/sbin/apache2'
DBD::mysql::st execute failed: Table 'ocsweb.software_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apach
e/Ocsinventory/Interface/SoftwareCategory.pm line 48.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/SoftwareCategory.pm line 50.
DBD::mysql::st execute failed: Table 'ocsweb.assets_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apache/
Ocsinventory/Interface/AssetCategory.pm line 78.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/AssetCategory.pm line 80.
DBD::mysql::db do failed: Unknown column 'CATEGORY_ID' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinve
ntory/Server/Inventory/Update/Hardware.pm line 49.
DBD::mysql::st execute failed: Table 'ocsweb.software_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apach
e/Ocsinventory/Interface/SoftwareCategory.pm line 48.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/SoftwareCategory.pm line 50.
DBD::mysql::st execute failed: Table 'ocsweb.assets_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apache/
Ocsinventory/Interface/AssetCategory.pm line 78.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/AssetCategory.pm line 80.
DBD::mysql::db do failed: Unknown column 'CATEGORY_ID' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinve
ntory/Server/Inventory/Update/Hardware.pm line 49.
DBD::mysql::st execute failed: Table 'ocsweb.software_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apach
e/Ocsinventory/Interface/SoftwareCategory.pm line 48.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/SoftwareCategory.pm line 50.
DBD::mysql::st execute failed: Table 'ocsweb.assets_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apache/
Ocsinventory/Interface/AssetCategory.pm line 78.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/AssetCategory.pm line 80.
DBD::mysql::db do failed: Unknown column 'CATEGORY_ID' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinve
ntory/Server/Inventory/Update/Hardware.pm line 49.


Version mysql = 5.5.62, perl = 5.20.2,

How to resolve this problem?

Problem with Perl or SQL after instalation

$
0
0

I was install Inventory server (2.3) on Debian 8 and try to connect using Windows Agent. In web application is only record with ID. Server and client connect without problems. In apache log i was found this:

[Tue Nov 20 12:48:04.803998 2018] [mpm_prefork:notice] [pid 5388] AH00163: Apache/2.4.10 (Debian) mod_perl/2.0.9dev P
erl/v5.20.2 configured -- resuming normal operations
[Tue Nov 20 12:48:04.804010 2018] [core:notice] [pid 5388] AH00094: Command line: '/usr/sbin/apache2'
DBD::mysql::st execute failed: Table 'ocsweb.software_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apach
e/Ocsinventory/Interface/SoftwareCategory.pm line 48.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/SoftwareCategory.pm line 50.
DBD::mysql::st execute failed: Table 'ocsweb.assets_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apache/
Ocsinventory/Interface/AssetCategory.pm line 78.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/AssetCategory.pm line 80.
DBD::mysql::db do failed: Unknown column 'CATEGORY_ID' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinve
ntory/Server/Inventory/Update/Hardware.pm line 49.
DBD::mysql::st execute failed: Table 'ocsweb.software_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apach
e/Ocsinventory/Interface/SoftwareCategory.pm line 48.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/SoftwareCategory.pm line 50.
DBD::mysql::st execute failed: Table 'ocsweb.assets_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apache/
Ocsinventory/Interface/AssetCategory.pm line 78.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/AssetCategory.pm line 80.
DBD::mysql::db do failed: Unknown column 'CATEGORY_ID' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinve
ntory/Server/Inventory/Update/Hardware.pm line 49.
DBD::mysql::st execute failed: Table 'ocsweb.software_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apach
e/Ocsinventory/Interface/SoftwareCategory.pm line 48.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/SoftwareCategory.pm line 50.
DBD::mysql::st execute failed: Table 'ocsweb.assets_categories' doesn't exist at /usr/local/share/perl/5.20.2/Apache/
Ocsinventory/Interface/AssetCategory.pm line 78.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/share/perl/5.20.2/Apache/Ocsinventory
/Interface/AssetCategory.pm line 80.
DBD::mysql::db do failed: Unknown column 'CATEGORY_ID' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinve
ntory/Server/Inventory/Update/Hardware.pm line 49.


Version mysql = 5.5.62, perl = 5.20.2,

I was try older version newer version but it was problems too. How to resolve this problem?

Viewing all 4375 articles
Browse latest View live


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