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

Answered: comment filtrer les ordinateurs portables ?

$
0
0
Bonjour,

Ce sera laptop.

Cordialement

Deployment Tool : open or read setup log file

$
0
0
Hello,

Every time I deploy the 2.8 Windows Agent (x64) with the Agent Deployment tool (2.3) I get the error "Unable to open or read setup log file on remote host" even if the deploy is OK

The file is present on ProgramData\OCS Inventory NG\Agent

"OCS-Windows-Agent-Setup-x64.log"

I guess that the Deployment Tool does not look at this file name?

Host <xxxxx> Retrieving Setup Log file for remote host...

Host <xxxxx> *** ERROR *** Unable to open or read setup log file on remote host:  The system cannot find the file specified.

Host <xxxxx> Disconnecting from remote host...

Deployment finished (0 success, 1 failed) !

EDIT : another issue. The deployment tool doesn't not put the plugin files on the right directory. For X64 agent they are pushed on "Program Files (x86)\OCS Inventory Agent\Plugins"

Answered: what about conf files

$
0
0
not sure this work on opensuse ?

on /etc/apache2 there are only httpd.conf

the others conf files arent under /etc/apache2/vhost.d i have the ocsreports.conf on it

and under/etc/apache2/conf.d i have put z-ocsinventory-server.conf ans zz-ocsinventory-restapi.conf

I think it is enought ?

As i saw evethings are OK and running

Answered: New Maschines appears with no data in Database

$
0
0

Hello !

I partially solved the problem by adding a "softwares" table in the OCS mysql database. There are no longer empty fields with a 1.
However, I no longer have the list of software in "Administrative data""Software". If anyone knows how to fix this I'm in for it!

Comment exécuter Ccleaner + Defraggler ? (silent)

$
0
0

Bonjour,

Je tente aujourd'hui d'exécuter un nettoyage silencieux Ccleaner sur des postes clients depuis le serveur OCS. J'arrive à déployer le logiciel silencieux en l'installant sur un client, sauf que j'aimerai par la suite qu'il exécute un nettoyage avec la commande CCleaner64.exe /AUTO à une certaine fréquence.

Faut il créer un autre paquet comprenant un script permettant de lancer cette commande en détectant le logiciel déjà installé ? Si oui comment faire ? (J'ai du mal avec l'exécution de script distant)

Est-il également possible de nettoyer le registre comme il est possible de le faire manuellement ? (J'ai cru comprendre que non)

Autre solution, la plus pratique 2 en 1, Ccleaner existe en exécutable uniquement, idéalement télécharger et "stocker" le paquet sur le client puis exécuter la commande CCleaner64.exe /AUTO, là encore comment configurer (le paquet) cela depuis le serveur ?

En ce qui concerne, Defragler (même éditeur), je pense que la réponse sera vite trouvée, mais je chercher pareil à lancer une défrag rapide en silencieur (mais la commande /AUTO ne semble pas marcher ici ^^), mais idéalement trouver un moyen d'executer une défrag rapide soit avec le logiciel installé sur la machine ou directement avec une version exécutable uniquement.

En vous remerciant par avance pour vos réponses.

Cordialement,

Hans.

Système

  • Nom du système :
  • Version :
  • RAM totale :
  • RAM disponible :
  • CPU :
  • Distribution :
  • Linux x86_64
  • 4.9.0-11-amd64
  • 7987 Mo
  • 6099 Mo
  • Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
  • Debian GNU/Linux 9 (stretch)

Logiciel

  • Version de PHP :
  • Serveur Web :
  • Serveur SQL :
  • Version OCSReports:
  • 7.0.33
  • Apache/2.4.25 (Debian)
  • MySQL Community Server (GPL) version 5.7.28
  • 2.6

Answered: ocsng is a free software or not ?

$
0
0
Merci Kapouik pour cette réponse très claire.

Answered: upgrade OCSNG 2.0.1RC windows vers 2.8 Linux

$
0
0
Merci Kapouik pour ta réponse. Je vais regarder cela de plus près.

Answered: New Maschines appears with no data in Database

$
0
0
@virusdav: Thanks for your feedback. How to add the table "softwares" w/o definitions of the content?
Is there a matrix or full database scheme for the new construct of the 2.8 scheme?

@OCS-devs:
Why does it changed w/o any hint, or wasn't I'am able to get this hint?

Answered: Comment exécuter Ccleaner + Defraggler ? (silent)

$
0
0

just create an package with a script which executes the command to clean up the computer

you can ask OCS to force reinstall the package :

  1. "Use the advanced option of teledeploy" to "YES"
  2. Choose the package
  3. Check "Teledeploy force"

so you can deploy a package as often as you want

Another possibilty to create a local task via script and OCS-Inventory  .. (on the remote computer)

and if you don't want to use this task anymore.. just create a script which deletes this task on target computer.

here some information about how to create a task via cmd

https://ss64.com/nt/schtasks.html

I also want to have the possibilty to autimatically run a scheduled task in ocs-onventory server .. so a command will for example be executed every week. So a package will be downloaded every week on the client pc.. and will be executed "recuring server side task"

But this isn't possible right now

Kind regards

Sokatra

How to fix Install Perl modules failed problem?

$
0
0
Hello everyone

I tried to install the OCS inventory server, on Ubuntu 20.04

I will explain my situation. The first time I installed OCS Inventory it was successful, but the IP address to connect did not work. I decided to restart the php services and the "APIs". after this new problems started to appear, like lack of apache or mysql module. I tried to fix them but kept getting errors. So I decided to format the disk and start over. But now I keep getting the error "ERROR: Install of Perl modules failed, pealse look at error ....."

I would really appreciate your help

Answered: New Maschines appears with no data in Database

$
0
0

BGoroll,

You must to add a new table in mysql like this :

--
-- Table structure for table `softwares`
--

CREATE TABLE `softwares` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `HARDWARE_ID` int(11) NOT NULL,
  `PUBLISHER` varchar(255) DEFAULT NULL,
  `NAME` varchar(255) DEFAULT NULL,
  `VERSION` varchar(255) DEFAULT NULL,
  `FOLDER` text,
  `COMMENTS` text,
  `FILENAME` varchar(255) DEFAULT NULL,
  `FILESIZE` int(11) DEFAULT '0',
  `SOURCE` int(11) DEFAULT NULL,
  `GUID` varchar(255) DEFAULT NULL,
  `LANGUAGE` varchar(255) DEFAULT NULL,
  `INSTALLDATE` datetime DEFAULT NULL,
  `BITSWIDTH` int(11) DEFAULT NULL,
  `CATEGORY` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `NAME` (`NAME`),
  KEY `VERSION` (`VERSION`),
  KEY `HARDWARE_ID` (`HARDWARE_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

this table will allow the ocsinventory agent to do the hardware but not software data. However, there will no longer be a 500 type error message. While waiting for an update which will allow the software to be recovered.

See you soon

Answered: New Maschines appears with no data in Database

Answered: New Maschines appears with no data in Database

$
0
0

I am happy that you can have the inventory feeds again. Have a good day

Answered: Upgradig OCS Inventory NG from 2.7 to 2.8

$
0
0
A suggestion:

on my system are two relevant Apache.pm with different Perl Version. Possibly a reinstall of the ocs-reports could help ta create the correct folder structure and/or a link to the used Perl Version could help:

the result on my systemm, when I try to find this Apache.p, file:

locate Apache.pm | grep perl

/usr/local/share/perl5/5.30/Apache/Ocsinventory/Plugins/Apache.pm

/usr/local/share/perl5/5.32/Apache/Ocsinventory/Plugins/Apache.pm

PERL MODULES ERROR

$
0
0
Hello everyone

I still can't fix the error "ERROR: Perl modules installation failed, look at the error .....". Try again to install the essential perl modules, but I still get the error. how do I solve it?

I would really appreciate your help

Unix agent recommanded version with a 2.8 server

$
0
0

Hello,

In use case of using function SNMP (and of the ipdiscover function), What is the minimum recommended version of a unix agent that would be used with a 2.8 server ?

Thanks a lot for your answers
 

Answered: PERL MODULES ERROR

$
0
0
Hi,

Distro ? OCS version ? Which perl modules ?

Regards

Frank

générer des rapport automatique

$
0
0
Bonjour,

Existe il un moyen simple de généré des rapport de façon automatique.?

Writing Custom Extensions

$
0
0
While I was updating our Inventory Server from 2.4 to 2.8 I realized we where utilizing quite a few custom plugins.

If I understood correctly, these need to be changed to be extensions to work with the 2.8 version of the Server. The documenation on developing custom plugins as well as the requirements for them has thus far eluded me.

Are there any resources I might consult for help?

Regards,

Yannic

Answered: Writing Custom Extensions

$
0
0

Hi,

Traduct by google :

In theory, plugins must first be deleted from the server 
(also delete plugins files from the server)and restart apcahe.
 Then you must download the plugins for v2.88 on the github and
 install them on the server

Your can see the official documentation

Best Regards

Viewing all 11962 articles
Browse latest View live


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