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

Ocs Server (2.6) doesn't see any Computer

$
0
0

Hi !!

I have installed (replaced old server) with OCS 2.6 in ubuntu 18.04, but no Computer (Windows) are registered

Img 1: Server information

Img 2 and 3: Showing that I can enter web ocs service

Img 4: Configuration from Windows Agent (.ini and .log from ocs inventory agent) 

Img 5 and following:  (ServerSide) Some posts related talk about mod_perl.  I have installed and configured mod_perl as you can see below

Apache 2 - Access log

mod_perl configuration

Showing that is enabled and in the correct folder

and configured.

Thanks in advance.


Error 500 sending inventory from agent

$
0
0
Hi,

I have OCS Server under Linux (docker) with 2.3.1 version. Agent on Windows computers is 2.3.1.1. Inventory has left of working in all computers, error 500 sending inventory.

It shows the next in activity.log:

Wed Sep  4 07:05:42 2019;44;103;PCXXXXX-2019-09-04-08-03-50;10.255.0.6;OCS-NG_WINDOWS_AGENT_v2.3.1.1;prolog;new_deviceid

Wed Sep  4 07:05:42 2019;44;100;PCXXXXX-2019-09-04-08-03-50;10.255.0.6;OCS-NG_WINDOWS_AGENT_v2.3.1.1;prolog;accepted

Wed Sep  4 07:05:42 2019;44;311;PCXXXXX-2019-09-04-08-03-50;10.255.0.6;OCS-NG_WINDOWS_AGENT_v2.3.1.1;session;started

Wed Sep  4 07:05:50 2019;67;515;PCXXXXX-2019-09-04-08-03-50;10.255.0.6;OCS-NG_WINDOWS_AGENT_v2.3.1.1;end;error

I've activated loglevel and it shows now in the error_log of Apache the next:

DBD::mysql::db do failed: Unknown column 'O' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinventory/Server/Communication.pm line 100.

DBD::mysql::db do failed: Unknown column 'O' in 'field list' at /usr/local/share/perl/5.20.2/Apache/Ocsinventory/Server/Inventory.pm line 70.

Someone can help me please? I don't know why it is happening this now. No changes in server. I don't know if a colleague has added some field in the ocs gui, is it possible?

Not sure, but line 70 is an insert in hardware table and line 100 is an update from same table.

Thanks beforehand.

Is there a patch for the server (v2.6)?

$
0
0
Dear,

I have a OCS Inventory NG server v2.6 (Debian). I search current fix patch. It exists?

Missing path (OCS Server 2.6)

$
0
0

Hi,

after successful installation of the web interface and deleting install.php I get a blank page. The Apache2's error log says that the /usr/share/ocsinventory-reports/ocsreports/vendor is missing.

How can I fix this?

Plugins don't send data to OCS Server

$
0
0
Hi people, I have installed two plugins in my OCS Inventory NG server 2.5: Running Process and Security Certificate.

On the server side -mine is OCS Inventory 2.5-, I put the .zip plugins under /usr/share/ocsinventory-reports/ocsreports/download, and after that I installed them from the Plugin Manager option and everything was OK.

On the agent side, I put both agent parts of plugins (Processes.pm and Securitycertificate.pm) under /usr/local/share/perl/5.24.1/Ocsinventory/Agent/Modules.

After that I ran the ocsinventory-agent Perl script and finally I went to the miscellaneous option from the OCS Inventory Server and a saw that the Running Process and Security Certificate sections were totally empty. Agents don't send data to server.

Please can you tell me what can be wrong, or what can I do in order to put to work plugins ??? Any way to check the agent side plugins execution ???

Special thanks.

SNMP or IpDiscover not working with Fedora 30

$
0
0

I'm trying to get SNMP scanning to work in my lab environment.

I have set up Fedora 30 server following this guide

http://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-a-OCS-Inventory-Server/

When I got the server installed, I configured apache to use SSL with this guide:

https://fedoraproject.org/wiki/Https

After configuring SSL I installed OCS agent to OCS server using this guide:

https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-the-UNIX-agent-on-client-computers/#installing-unix-agent-with-rpm

There were problems with some optional packages and those I managed to install manually, for example these packages

monitor-edid, samba

From this point on I was not 100% how the SSL needs to be configured. Anyway I got the agent communication to work using these guides.

Guide 1

http://ask.ocsinventory-ng.org/5999/cannot-establish-communication-certificate-verify-failed

You must get server cert from server:

openssl s_client -showcerts -connect domain.hostname.not.ip:443 </dev/null 2>/dev/null | openssl x509 -outform PEM >/etc/ocsinventory/cacert.pem

Add to /etc/ocsinventory/ocsinventory-agent.cfg

server=https://domain.hostname.not.ip/ocsinventory
ssl=1
ca=/etc/ocsinventory/cacert.pem

voilà!
Good luck!

Guide 2

https://ninjanichols.com/2011/06/ocs-inventory-where-do-i-put-cacert-pem/

So after following these guides I now have cacert.pem file in both of these locations. At first I had problems with SSL communication so I tried both of these guides. This is just for the background info if this has affect how the IpDiscover / SNMP is working.

cacert.pem locations

 /var/lib/ocsinventory-agent/https\:__server.demo.local_ocsinventory/cacert.pem

and

/etc/ocsinventory/cacert.pem

Well that's for background story, as I said, the configuration seems to be working. I have tested inventory with Linux agent (the OCS server itself) and few Windows agents (Servers and Workstations). The IpDiscover seems to be working, at least there seems to be uninventoried IP's appearing there, but I guess that is done by Windows agent.

I tried to set up SNMP communities like this (the ocssnmp is configured to one of devices for testing purposes):

Is this the way it's supposed to be configured? If there SNMP community name is "default" in network devices?

Well anyway I can't get this working. At first I tried to Force IpDiscover to OCS server and let the server be for a day. Nothing appeared to IpDiscover or SNMP. 

This is where I configured OCS server to do IpScanning: OCS Server Configuration -> IpDiscover behaviour -> Force IpDiscover (my network here 192.168.43.0) 

After a day I set up few Windows clients to network and uninventoried ip's appeared to IpDiscover. So I guess this was done by Windows clients, not OCS Linux agent. I tried to run linux agent in debug mode and got this.

[Sat Sep 21 21:52:59 2019][debug] [download] Writing config file.
[Sat Sep 21 21:52:59 2019][info] [download] Download is off.
[Sat Sep 21 21:52:59 2019][debug] [snmp] Calling snmp_prolog_reader
[Sat Sep 21 21:52:59 2019][debug] Ocsinventory::Agent::Backend::IpDiscover::IpDiscover ignored
[Sat Sep 21 21:52:59 2019][debug]  - nmap found
[Sat Sep 21 21:52:59 2019][debug] Ocsinventory::Agent::Backend::IpDiscover::Nmap ignored
[Sat Sep 21 21:52:59 2019][debug] Ocsinventory::Agent::Backend::OS::AIX ignored
[Sat Sep 21 21:52:59 2019][debug] Ocsinventory::Agent::Backend::OS::BSD ignored
[Sat Sep 21 21:52:59 2019][debug]  - dmidecode found
[Sat Sep 21 21:52:59 2019][debug]  - dmidecode found
[Sat Sep 21 21:53:00 2019][debug]  - Sys::Hostname loaded
[Sat Sep 21 21:53:00 2019][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored
[Sat Sep 21 21:53:00 2019][debug]  - lspci found
[Sat Sep 21 21:53:00 2019][debug]  - lspci found
[Sat Sep 21 21:53:00 2019][debug]  - lsusb found
 

Why is IpDiscover and SNMP ignored?

Also I get this error when running the client in debug mode:

Use of uninitialized value $password in concatenation (.) or string at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 53.
 

Is this related to SNMP / IpDiscover?

Agent 2.6 issue available in centOS7 repository

$
0
0
When starting the agent I get the message below, my server is at version 2.6

 # ocsinventory-agent
Use of uninitialized value $password in concatenation (.) or string at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 52.

Does anyone know how to fix this problem?

After debian upgrade 8->9 Server returned nothing

$
0
0
Hello,

we upgraded debian 8 to 9. After die Upgrade we reinstalled with the new OCS Server 2.6 (2.4 before) version. the webinterface works but the windows clients can't connect to the server.

Log of windows agent

-------------------

Starting OCS Inventory NG Agent on Tuesday, September 24, 2019 13:11:24.
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
ERROR *** AGENT => Failed to send Prolog <Server returned nothing (no headers, no data)>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

------------------

apache error.log

------------------

[Tue Sep 24 13:14:32.734363 2019] [core:notice] [pid 25420] AH00052: child pid 25555 exit signal Segmentation fault (11)
-------------------

Really need help, thank you in advanced

Failed to send Inventory, Error 500, some clients

$
0
0
Hello

I'm just implementing OCS Inventoroy NG to our network. I've been testing it with few clients and mostly everything works, but there are some clients that do not appear to OCS management. I cannot find out the reason why.. These are Win7 and Win10 clients and in same network with working clients. We used to have OCS installed few years ago and there might be leftovers from previous clients on these computers.

This is what agent log looks like:

Agent log

========================================================================

Starting OCS Inventory NG Agent on Friday, September 27, 2019 19:30:57.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.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.6.0.0>

AGENT => Sending Prolog

AGENT => Prolog successfully sent

AGENT => Inventory required

AGENT => Launching hardware and software checks

AGENT => Sending Inventory

INVENTORY => Inventory changed since last run

ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>

AGENT =>  Communication Server asked for Package Download

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:01:19.

apache log (changed the ip)

1.2.3.4 - - [27/Sep/2019:19:30:59 +0300] "GET /ocsinventory/deploy/label HTTP/1.1" 400 489 "-" "OCS-NG_WINDOWS_AGENT_v2.6.0.0"

1.2.3.4 - - [27/Sep/2019:19:30:59 +0300] "POST /ocsinventory HTTP/1.1" 200 409 "-" "OCS-NG_WINDOWS_AGENT_v2.6.0.0"

1.2.3.4 - - [27/Sep/2019:19:32:19 +0300] "POST /ocsinventory HTTP/1.1" 500 830 "-" "OCS-NG_WINDOWS_AGENT_v2.6.0.0"

Few clients started to work when I uninstalled the OCS agent, Rebooted client, deleted the folder C:\ProgramData\OCS Inventory NG and reinstalled the client, but this does not help with all clients.

Does OCS install files anywhere else than C:\Program Files\OCS Inventory Agent and C:\ProgramData\OCS Inventory NG? How about registry? Is there something to look for? Or is this possibley related to OCS server some how?

Agent and the server are both version 2.6

Where packages stored in the sql db

$
0
0
Hello!

I want to store a some sql‘s for dynamic group filters. I am looking for the table in OCS database where the reference between the groups and packages for deployment are stored. Which package is in which group...

Does somebody has any idea?

Best regards,

Sven

Will the docker container be updated?

Deflating problem ocsinventory-agent does not work

RestAPI query list of computers with specific TAG

$
0
0
Hi.

What should my URL look like if I want to place a query of computers with a specific TAG and with a selection of values (storages.0.discsize) etc??

OCSNG plugin in GLPI - sql error

$
0
0

Hello 

I have problem with listing
Computers imported by automatic actions and Computers not imported by automatic actions

buttons

When I click on one of these, it is empty.

empty

When I check errors and debug mode, I see :

[2019-09-30 01:16:18] glpisqllog.ERROR: DBmysql::query() in /usr1/glpi/inc/dbmysql.class.php line 188

  *** MySQL query error:

  SQL: SELECT DISTINCT `glpi_plugin_ocsinventoryng_details`.`id` AS id, 'admrusna' AS currentuser,

                        `glpi_plugin_ocsinventoryng_details`.`ocsid` AS ocsid,

           `glpi_plugin_ocsinventoryng_details`.`ocsid` AS ocsid,

           `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_ocsservers_id` AS plugin_ocsinventoryng_ocsservers_id, `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_threads_id`,

                  `glpi_plugin_ocsinventoryng_details`.`threadid`, `glpi_entities`.`completename` AS completename,

           `glpi_entities`.`ocsid` AS ocsid,

           `glpi_entities`.`plugin_ocsinventoryng_ocsservers_id` AS plugin_ocsinventoryng_ocsservers_id, `glpi_entities`.`plugin_ocsinventoryng_threads_id`,

                  `glpi_entities`.`threadid`, `glpi_plugin_ocsinventoryng_threads`.`processid` AS processid,

           `glpi_plugin_ocsinventoryng_threads`.`ocsid` AS ocsid,

           `glpi_plugin_ocsinventoryng_threads`.`plugin_ocsinventoryng_ocsservers_id` AS plugin_ocsinventoryng_ocsservers_id, `glpi_plugin_ocsinventoryng_threads`.`plugin_ocsinventoryng_threads_id`,

                  `glpi_plugin_ocsinventoryng_threads`.`threadid`, `glpi_plugin_ocsinventoryng_ocsservers`.`name` AS name,

           `glpi_plugin_ocsinventoryng_ocsservers`.`ocsid` AS ocsid,

           `glpi_plugin_ocsinventoryng_ocsservers`.`plugin_ocsinventoryng_ocsservers_id` AS plugin_ocsinventoryng_ocsservers_id, `glpi_plugin_ocsinventoryng_ocsservers`.`plugin_ocsinventoryng_threads_id`,

                  `glpi_plugin_ocsinventoryng_ocsservers`.`threadid`, `glpi_plugin_ocsinventoryng_details`.`process_time` AS process_time,

           `glpi_plugin_ocsinventoryng_details`.`ocsid` AS ocsid,

           `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_ocsservers_id` AS plugin_ocsinventoryng_ocsservers_id, `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_threads_id`,

                  `glpi_plugin_ocsinventoryng_details`.`threadid`, `glpi_plugin_ocsinventoryng_details`.`action` AS action,

           `glpi_plugin_ocsinventoryng_details`.`ocsid` AS ocsid,

           `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_ocsservers_id` AS plugin_ocsinventoryng_ocsservers_id, `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_threads_id`,

                  `glpi_plugin_ocsinventoryng_details`.`threadid`, `glpi_plugin_ocsinventoryng_details`.`computers_id` AS computers_id,

           `glpi_plugin_ocsinventoryng_details`.`ocsid` AS ocsid,

           `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_ocsservers_id` AS plugin_ocsinventoryng_ocsservers_id, `glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_threads_id`,

                  `glpi_plugin_ocsinventoryng_details`.`threadid` FROM `glpi_plugin_ocsinventoryng_details`LEFT JOIN `glpi_entities`

                                          ON (`glpi_plugin_ocsinventoryng_details`.`entities_id` = `glpi_entities`.`id`

                                              )LEFT JOIN `glpi_plugin_ocsinventoryng_threads`

                                          ON (`glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_threads_id` = `glpi_plugin_ocsinventoryng_threads`.`id`

                                              )LEFT JOIN `glpi_plugin_ocsinventoryng_ocsservers`

                                          ON (`glpi_plugin_ocsinventoryng_details`.`plugin_ocsinventoryng_ocsservers_id` = `glpi_plugin_ocsinventoryng_ocsservers`.`id`

                                              ) WHERE   (  1 )  ORDER BY ITEM_PluginOcsinventoryngDetail_1 ASC  LIMIT 0, 100

  Error: Unknown column 'glpi_entities.ocsid' in 'field list'

  Backtrace :

  inc/search.class.php:1246

  inc/search.class.php:98                            Search::constructData()

  inc/search.class.php:80                            Search::showList()

  plugins/ocsinventoryng/front/detail.php:36         Search::show()

  {"user":"7@ocslirazv"}

In DB there are few computers, not imported.
During update of OCSNG computers I got also error

..............................................DBmysql::query() in /usr1/glpi/inc/dbmysql.class.php line 188

  *** MySQL query error:

  SQL: INSERT INTO `glpi_plugin_ocsinventoryng_notimportedcomputers` (`name`, `domain`, `tag`, `ocs_deviceid`, `ipaddr`, `plugin_ocsinventoryng_ocsservers_id`, `ocsid`, `last_inventory`, `useragent`, `serial`, `reason`, `comment`, `entities_id`, `rules_id`) VALUES ('7XNRD82', 'domain.domain', 'NA', '7282', '172.28.5.182', '6', '469', '2019-09-29 20:18:14', '-2600', '7XNRD82', '3', '', '0', '[]')

  Error: Duplicate entry '6-469' for key 'ocs_id'

  Backtrace :

  inc/dbmysql.class.php:832

  inc/commondbtm.class.php:659                       DBmysql->insert()

  inc/commondbtm.class.php:1141                      CommonDBTM->addToDB()

  ...ventoryng/inc/notimportedcomputer.class.php:382 CommonDBTM->add()

  ...s/ocsinventoryng/scripts/ocsng_fullsync.php:422 PluginOcsinventoryngNotimportedcomputer->logNotImported()

  ...s/ocsinventoryng/scripts/ocsng_fullsync.php:291 plugin_ocsinventoryng_importFromOcsServer()

  ...s/ocsinventoryng/scripts/ocsng_fullsync.php:164 SecondPass()

My config:
GLPI 9.4.4
Mariadb 10.2.22
OCSNG 1.6.0 for Computers
Fusion Invetnory 9.4+1.1 for VM machines, Linux servers, SNMP scans

thanks for help

Tutorial OCS Server 2.6 on Debian 10 MariaDB

$
0
0

Tutorial OCSserwer 2.6 on Debian 10

apt update

apt dist-upgrade

apt update

apt install libxml-simple-perl libperl5.28 libdbi-perl libdbd-mysql-perl libapache-dbi-perl libnet-ip-perl libsoap-lite-perl libarchive-zip-perl make build-essential apache2 mariadb-client php-pclzip make build-essential libdbd-mysql-perl libnet-ip-perl libxml-simple-perl php php-mbstring php-soap php-mysql php-curl php-xml php-zip php-gd mariadb-server mc

cpan install XML::Entities

perl -MCPAN -e 'install Apache2::SOAP'

perl -MCPAN -e 'install XML::Entities'

perl -MCPAN -e 'install Net::IP'

perl -MCPAN -e 'install Apache::DBI'

perl -MCPAN -e 'install Mojolicious::Lite'

perl -MCPAN -e 'install Switch'

perl -MCPAN -e 'install Plack::Handler'

wget https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/2.6/OCSNG_UNIX_SERVER_2.6.tar.gz

tar xfvz OCSNG_UNIX_SERVER_2.6.tar.gz

cd OCSNG_UNIX_SERVER_2.6

sh setup.sh

a2enconf ocsinventory-reports

a2enconf z-ocsinventory-server

chown -R www-data:www-data /var/lib/ocsinventory-reports/

service apache2 restart

Using WEB browser (a this point, depending of your database choice you may have a problem with login to database because MariaDB has a blank password default root for Mysql shell) 

http://your_server_IP/ocsreports

  Configure Mysql

  User -root

Pasword-(password defined due to Mysql instalation)

Name of datbase-ocsweb

DatabaseHost-localhost  

rm /usr/share/ocsinventory-reports/ocsreports/install.php

mysql -u root -p

 SET PASSWORD FOR 'ocs'@'localhost' = PASSWORD('user_defined_pass_for_ocs_to_connect_database');

 SET PASSWORD FOR 'ocs'@'%' = PASSWORD('user_defined_pass_for_ocs_to_connect_database');

  exit

    

****

mcedit /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php

        {

        define("PSWD_BASE","user_defined_pass_for_ocs_to_connect_database");

        }

 mcedit /etc/apache2/conf-available/z-ocsinventory-server.conf

        {

        PerlSetVar OCS_DB_PWD user_defined_pass_for_ocs_to_connect_database

        In <Location /ocsplugins> Comment lines :

        Require local

        SetHandler perl-script

Connecting Agents

Agents must be installed with version < or = OCSserver version, for example for XAMPP on Windows OCSserver2.2 must use Agent 2.1.1.1

For presented in this Tutorial Linux OCSserver 2.6 must use Agent 2.4.0.0(is highest aviable at the moment) or below.

Installation of Agents on windows in this configuration I use default settings, just uncheck field Validate certificates, Of course  if choose it to be checked must generate certificate on OCSserwer and place it to a Agent config Folder (on windows 10 it is C:\ProgramData\OCS Inventory NG)

User and Password on Agent not need to be used for simple HTTP connection, just ensure you entered right IP Your_server_IP:80(standard port for http)

Thank for reading This Tutorial and in case of any problem or errors i scripts please let me know.


remonté d'inventaire vers le serveur OCS

$
0
0

Bonjour,

Je viens de procéder a l'installation des serveurs OCSinventory sur un centos 7. Je l'ai installé sur un serveur physique dedier.

J'ai installé l'agent windows sur un autre pc tournant sous windows 10 Ent 64Bit.

Lorsque j'exécute l'agent j'ai une notification d'agent executé avec succès mais rien ne remonte coté serveur (OCS).

Voici le contenu de mon fichier ocsinventory.ini :

[OCS Inventory Agent]

ComProvider=ComHTTP.dll

Debug=1

Local=

NoSoftware=0

HKCU=0

NoTAG=0

IpDisc=

[HTTP]

Server=http://XX.XX.X.XXX/ocsinventory

SSL=1

CaBundle=cacert.pem

AuthRequired=0

User=

Pwd=

ProxyType=0

Proxy=

ProxyPort=0

ProxyAuthRequired=0

ProxyUser=

ProxyPwd=

[OCS Inventory Service]

TTO_WAIT=0

INVENTORY_ON_STARTUP=0

PROLOG_FREQ=10

OLD_PROLOG_FREQ=10

Et voici le contenu de mon fichier OCSinventory.log :

==============================================================================

Starting OCS Inventory NG Agent on Friday, October 04, 2019 20:52:40.

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 <XXX-SGE-XXX-04-2019-10-02-13-28-58> and MACs <XX:1C:BF:F8:96:B510:E7:C6:EX:A7:XX> 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 => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>

COM SERVER => Sending HTTP Post request to URL <http://XX.XX.X.XXX/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #500>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:00.

merci d'avance pour votre aide

Doudou

Inventary in more than one network

$
0
0

Hello,
I have several offices of my company, how can I do to inventory the equipment from the headquarters.
I already have my ocs accessible from the outside, I just have to know how the teams are organized once the computers on my server have been invented so that they can be separated.
I hope it has been understood.

regards

Installation du plugin VMWare VCenter Inventory

$
0
0
Bonjour,

Actuellement en train de paramétrer le pluging VMWare Vcenter Inventory sur mon serveur OCS ( sous centos 6.10), j'ai installé le plugin sur le serveur, j'ai copié les fichiers map.pm  (/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Vmware_vcenter/Map.pm) et vmware_vcenter.conf ( /etc/ocsinventory-server/plugins/vmware_vcenter.conf).

Dans l'interface web d'Ocs, je peut installer le plugins, ce qui est déja pas mal.

Mon problème est que je ne sais pas ou installer l'agent Vmware.pm?!

Pourriez vous m'aider, j'ai épluché le forum sans trouver de réponses a mes questions et je commence à sécher :/

Cordialement

How to properly deploy a .bat file

$
0
0
Hello,

Package deployment works fine on our machines, most are Windows 10, some are Windows 8.1.

When i try to deploy a .bat file to run certain commands in preparation for another package deployment, in some machines it gives an error and in some other machines it just keeps saying "Notified.." and thats it.

I am deploying them using "Launch"

From what i understand deploying a .bat script or even a powershell script is the same as deploying any other package, so im not sure what im doing wrong.

Any suggestions is appreciated.

Software deployment on macOS using OCS Inventory

$
0
0

Hello,

I would like to deploy softwares on macOS clients using OCS Inventory server but it's not really working.

I have no issues on Windows, everything has been configured the same way : Server on the agent, SSL, Certificate.
When I run the agent on the mac, the server is getting the info but nothing happen later on the mac.

Agents running : OCS-NG_unified_unix_agent_v2.4.2
OS Version : 10.14 macOS Mojave

Thank you !
Alexandre

Viewing all 4376 articles
Browse latest View live


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