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

General Questions about OCS and management/configuration

$
0
0
Hello All,

I was tasked with setting up OCS to collect and track all our assets. We're looking for something that can track things like computers, servers, network equipment, and even items that are not connected to the network like cell phones, monitors, etc. We want to be able to do this ideally without deploying an agent or other software to our devices.

Since we have other products for software inventory, performance monitoring, etc we want OCS to be used solely for just the tracking of the asset itself. So I guess my first question is, is this something that the software is designed to do?

All of the documentation I've read from the wiki seems to focus on deploying an agent once the server is setup but I don't see any methods of importing assets manually or via things like bar code readers for instance. If so, how do I go about doing this?

I have some other questions as well but want to first make sure that this will work for my needs. If anyone with more experience could help clarify this for me, I would certainly appreciate it.

Thank you.

- Alan

Import local "HTTP / 1.1 Error 400 Bad Request"

$
0
0
Hello,

I need your help for a problem when importing local .ocs files!

I still have this error "HTTP / 1.1 Error 400 Bad Request" ...

I'm relying on OCS version 2.3.1 on an Ubuntu 16.04.3 server.

I tried several times on machines in different ways and impossible to arrive ... 
angry

I've been stuck for quite some time and I'm breaking my head on it. indecision 

I thank you in advance for your help! smiley

what are the technical requirements (HW &SW) to install OCS inventory including S/O and D/B

Plugin Install - You can't install plugins, check error messages above.

$
0
0

Does anyone know how I can correct this error?

Pas de remontée machine dans OCS sur serveur distant

$
0
0
Bonjour,

J'ai installé sur un serveur distant OCS serveur, afin de pouvoir faire l'inventaire des parc informatique de mes clients.

J'installe don mon serveur, crée mon package d'installation client avec l'ip publique du serveur, et veut donc commencer le déploiement.

Après plusieurs tentatives, sur le poste client, toujours 2 messages d'erreurs :

"Service encounter error <Failed to load/parse last inventory state>"

Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>.

J'ai désactivé le pare-feu sur le serveur afin de savoir si ça ne venait pas de la. Toujours le même problème.

Si vous pouvez m'apporter une aide ce serait vraiment top car je suis à court d'idée.

Cordialement

Answered: 404 sur /ocsinventory

$
0
0
Bonjour,

Merci de poster le contenu du fichier error.log d'apache.

Cordialement

Frank

Answered: Import local "HTTP / 1.1 Error 400 Bad Request"

$
0
0
Hi,

Have you some errors in apache error.log file? Could you post his content?

Regards

Frank

Answered: Plugin Install - You can't install plugins, check error messages above.

$
0
0
Hi,

Verify the permissions on all directories.

Regards

Frank

Answered: what are the technical requirements (HW &SW) to install OCS inventory including S/O and D/B

$
0
0
It depend of the number of computer you want to inventory and wich feature you want to use.

Answered: Import local "HTTP / 1.1 Error 400 Bad Request"

$
0
0

Hello,

Here are the logs :

I thank you in advance for your help ! smiley

unexpected T_FUNCTION due to anonymous functions used in Server 2.3.1

$
0
0
Please be patient with me... I'm newbie in OCS and English is not my first language

I've just upgraded OCS Server from 2.0.1 to 2.3.1. All fine here!

I visit URL

Nothing is rendered

cat /etc/httpd/logs/error_log

[Mon Oct 16 19:18:00 2017] [error] [client 10.225.213.23] PHP Parse error:  syntax error, unexpected T_FUNCTION in /usr/share/ocsinventory-reports/ocsreports/require/menu/Menu.php on line 57

    /**
     * Sort the Menu
     *
     * @return number
     */
    public function sortMenu() {
        foreach ($this->getChildren() as $menu) {
            if ($menu->hasChildren()) {
                $menu->sortMenu();
            }
        }

        uasort($this->_children, function($a, $b) {            <----------   Line 57
            if ($a->getPriority() == $b->getPriority()) {
                return 0;
            }
            return ($a->getPriority() < $b->getPriority()) ? -1 : 1;
        });
    }

Well now:

Your requirements still says PHP 4.3.2 or higher but http://php.net/manual/en/functions.anonymous.php says anonymous functions become available since 5.3.0.

Obviously I MUST upgrade my PHP installation... or NOT... Am I missing something?

Thanks in advanced !!!!

Answered: 404 sur /ocsinventory

$
0
0
Bonjour Franck,

Il n'y a rien dedans sauf la remontée classique d'une 404 Apache2, après une nouvelle installation j'ai maintenant une 403.

J'ai laissé tombé Ubuntu / Debian pour essayer sur une Centos, aucun soucis, ça marche direct (après conf Iptables et SE linux)

Egalement impossible de vous répondre alors je répond à moi même.

Answered: Problème affichage sous Chrome / Internet Explorer

Listener on computer changes

$
0
0
Hello,

  is there any way to integrate other systems - call a webservice or REST service when a computer entry is changed.

  I know there is a webservice available which can be used from the other server to get actual information. Has this webservice not changed since version 1 as described in WIKI?

Thanks

Reinhard

OCS Agent Linux in OCS Inventory Windows?

$
0
0
Good evening im new with OCS Inventory , recently i installed OCS Inventory in Windows and added some Agents (Windows too) in the same place, i have computers with Linux and my question is the same, can i put the Agents in Linux for my Inventory in Windows? Thanks you.

Answered: OCS Agent Linux in OCS Inventory Windows?

$
0
0
All agent are compatible with the server if his major version is not superior to the server version. For exemple, the Unix agent version 2.0 or the windows agent 2.1 are compatible with serveur 2.1 but Unix agent 2.3 are not compatible with server 2.1.

We don't recommand to use windows as server : there is currently no more maintenance (some dependancies don't run anymore on windows) many security hole (openssl is in very old version) and bad performance. Think to run a server on linux.

Perl Apache Module Plugin

$
0
0
Bonjour,

Lorsque je place un fichier.conf dans /etc/ocsinventory-server/plugins

ex: /etc/ocsinventory-server/plugins/Networkshare.conf

et que je redémarre le service Apache2 : service apache2 restart , celui-ci ne veut pas démarrer. Je vais dans le fichier log :

root@CNDGINVENTORY:~# cat /var/log/apache2/error.log | grep error
[Thu Nov 16 10:40:37.381698 2017] [perl:error] [pid 20145] $s->add_config() has failed: Can't locate Apache/Ocsinventory/Plugins/Networkshare/Map.pm in @INC (you may need to install the Apache::Ocsinventory::Plugins::Networkshare::Map module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl . /etc/apache2 /etc/ocsinventory-server/perl) at (eval 100) line 2.\nCompilation failed in require at (eval 99) line 2.\n
[Thu Nov 16 10:40:37.381720 2017] [perl:error] [pid 20145] Can't load Perl module Apache::Ocsinventory::Plugins for server CNDGINVENTORY.cndg.intra:0, exiting...

Si j'enlève le fichier "Networkshare.conf", le serveur restart correctement.

Info serveur:

Serveur : Ubuntu 16.04 version 10.0.31-MariaDB-0ubuntu0.16.04.2

Serveur Web : Apache 2.4.18

PHP : 7.0.22

Ocsreports 2.3.1

Merci de m'aider, je suis complètement perdu.

Bien à vous,

Charles

Answered: Exporter tout l'inventaire

$
0
0
Bonjour,

UP ! La réponse à cette question m'intéresse également :)

OFFICEPACK EN OCS SERVER 2.2.1 - UBUNTU SERVER

$
0
0

Hello everyone, I'm David, :) I have installed ocs inventory server 2.2.1 on an Ubuntu 14.04.5 LTS server and I am trying to add the Officepack 2.2.4 plugin but I have found that the directories are not the same. please help to know how to install this plugin to my ocs server installed.

 Any manual or tutorial to follow it? 

 Thank you so much.

WebGui show "Processing"

$
0
0
Hi at all,

i have installed OCS Inventory on my Ubuntu 16.04.3 LTS machine with mysql and apache2, latest patches at all.

Everything is working fine, first inventory of a windows client shows "1 machine inventored today" in WebGUI.

But: i don't see any data anywhere? Whichever link inbetween the GUI i click, i always get a "Processing..." shown, nothing else?!

How can i see the data which have been inventored?

Hint: the windows log-file in ProgramData is showing "Inventory successful" and no errors at all.

Thanks for any hints,

Joe
Viewing all 7067 articles
Browse latest View live


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