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
Hey,
Please help.
I wanted to install the OCS inventory agent on ubuntu on page
http://wiki.ocsinventory-ng.org/02.Basi ... computers
I downloaded
https://github.com/OCSInventory-NG/P...ive/master.zip
I unpacked and installed
./packageOCSAgent.sh
Do I have to install anything else?
I have installed the oc inventory server 2.5, and notification does not work. I made the same setup as here http://ask.ocsinventory-ng.org/9931/how-to-use-the-new-notification-feature?show=9931#q9931
but it does not work!
looking at the log files, no error is shown!
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
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
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
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
Ao instalar o OCS Server no ubuntu é apresentando o seguinte erro:
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?
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.
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
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?
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?