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

WEB_SERVICE_ENABLED = OFF

$
0
0
  • Hi,
  • my OCS-NG core server function correctly, no problems during installation but when I go in the Administrative Web Console under "Configuration/Webservice" the voice WEB_SERVICE_ENABLED is setting to "OFF" but ratio button is disabled... ...why? Is it normal?
Thank you!
Server and Software specifications:
  • Linux x86_64
  • 3.16.0-4-amd64
  • 2010 MB
  • 1575 MB
  • Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
  • Debian GNU/Linux 8 (jessie)
  • 5.6.30
  • Apache/2.4.10 (Debian)
  • (Debian) version 5.5.55-0+deb8u1
  • 2.3.1

Signé un certicat SSL LINUX

$
0
0
Bonjour,

Svp, j'ai vraiment besoin d'une aide urgente. J'ai créé une autorité de certification à partir de laquelle j'ai bien signé un certificat dans Active Directory sous Windows. Maintenant, je voudrais signé un certificat sous linux (pour mon serveur OCS, version 2.3) avec cette autorité. Comment je fais SVP.  Je vous remercie d'avance et toutes mes excuses pour un quelconque dérangement. :)

Problème de uptime

$
0
0
Bonjour,

Bien que le script uptime soit fonctionnel sur une majorité des postes (~75%), il en existe quelques uns qui ne remontent pas l'information. Les autres plugins fonctionnent néanmoins correctement sur ces machines (antivirus et liste des processus).

Lorsque je cherche le fichier XML généré, je trouve dans ProgramData\OCS Inventory NG un fichier XML qui s'appelle uptime.vbs et qui contient : C:\Program Files (x86)\OCS Inventory Agent\plugins\uptime_v2.vbs(8, 1) (null): 0x80041017

De ce que j'ai pu en comprendre, lorsque le script s'éxécute, la requête : "Select * From Win32_PerfFormattedData_PerfOS_System" ne retourne rien.
D'où l'erreur lorsque l'on essaye de parcourir l'élément colOperatingSystems avec l'instruction : For Each objOS in colOperatingSystems

Ces postes sont des Windows 7 Pro, il y a des 64bits comme des 32, mais des postes avec des configs similaires fonctionnent correctement. Je n'ai pas réussi à trouver de points communs entre les postes non fonctionnels.

Merci d'avance pour vos réponses,
Cordialement,

Nicolas

PB affichage résultats SNMP sur interface Web OCS

$
0
0
Apres la constatation que notre fichier XML est bon, les données remontent bien dans le fichier de données SNMP. Par contre, les résultats de s'affichent pas sur l'interface web de OCS, donc nous nous interrogeons a présent sur  le format de l'affichage de ces données dans l'onglet SNMP. Faut-il modifier des fichiers de l'interface web?

Nous utilisons l'agent Unix V2.3.1 et le serveur OCS est aussi en 2.3.1. (PHP 5.6.30 et serveur sur Debian 8)

Merci si vous avez des idées, je suis preneur.

Answered: OCS Inventory still inventory some programs that have been uninstalled

$
0
0

type this in a command shell

wmic product get Name, Version

Is the software listed there ?

if not look at the registry under

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall

If the software listed in any of these places - ocs will report it

if it is not there try to disable inventory diff on server side

INVENTORY_DIFF Enable or disable differential inventory to speed up the server. With differential inventory, only changes are stored by the server, not full inventory.

Fichier download

$
0
0
Bonjour à tous,

Je n'arrive pas à afficher le fichier download de mon serveur OCS (version 2.3).  J'ai le message suivant: You don't have permission to access /download/ on this server. J'ai pourtant bien configuré le fichier /etc/apache2/sites-enable/defaul-ssl.conf. Voici ma conf:

 <Directory /var/lib/ocsinventory-reports/download>
                <IfModule mod_authz_core.c>
                 Require all granted
                </IfModule>
                <IfModule !mod_authz_core.c>
                 Order deny,allow
                 Allow from all
                </IfModule>
        </Directory>
        Alias /download /var/lib/ocsinventory-reports/download

Je vous remercie. :)

Télédeploiement sur un groupe via serveurs relais

$
0
0
Bonjour,

Je suis en version 2.3 et ça ne fonctionne pas lorsque j'essaie de télédployer un paquet sur un groupe statique/dynamique  en utilisant un groupe de redistribution.

Le télédéploiement via groupe de redistribution sur un poste m'a permis de valider que la règle d'affectation fonctionne bien.   

D'avance merci pour votre aide

Directory listing for default install

$
0
0
I did an install of the current version of OCS ng and found that the default install allows for directory listings. If I change the url and append /config for instance I can view all the files in there. Is this something that I need to fix as an administrator of my own system or should the default install of OCS NG by default block directory listings?

Is there any reason to leave directory listing enabled?

The only config I see for this is here for download:

                <Directory /var/lib/ocsinventory-reports/download>
                        #Options Indexes FollowSymLinks MultiView
                        AllowOverride None
                        Order allow,deny
                        allow from all
                </Directory>

Should I create a new Directory config for the rest of the site? Will it break anything for the agents?

Duplication of assets when switching from HTTP to use HTTPS

$
0
0
We changed our config to use HTTPS for version 2.3.1 of the Server. When the unix agents (2.3) connected to the server with the next update all the assets were duplicated as new assets.

Is this intended?

Answered: Agent send Prolog failed with letsencrypt ssl

$
0
0

Yes, the filename must be cacert.pem.
My agent is latest microsoft winodows agent. 

I use packager to make auto installer.
/S /NOW /NO_SYSTRAY /SSL=1 /SERVER=https://<my domain IP>/ocsinventory

I already try use cert.pem, chain.pem and fullchain.pem and rename to cacert.pem.
All of them are same error result. 

cert.pem have one certiticate
chain.pem have one certiticate
fullchain.pem = cert.pem + chain.pem

Impossibilité d'accéder à la console web

$
0
0
Bonjour,

Je vient d'installer ocsserver sur une centos 6.9 mais arrive pas à accéder à la console web;

j'ai relancer le service httpd avec erreur Démarrage de httpd : httpd: Could not reliably determine the server's fully qualified domain name, using fqdn for ServerName
 

après install mais page blanche sur http://ipserver/ocsreports.

Normalement je peut atteindre la console avec l'ip?

Avez-vous une idée de mon soucis?

How to secure server with password

$
0
0
Hello,

We are looking to integrate OCS inventory in our network but ther is one important requirement we need in order to go with it. The server has to be protected with a password.

Now i can see when i use the agent installer that there is an optional password in the wizard on the page where you enter the server's address. " Server Credentials (optional)..."

I looked everywhere in the server web UI for this parameter and i can't find it anywhere. I also looked on Google and here ( i used keywords like "password" and "server credentials" but i cannot find my answer.

I just need a simple nuge in the right direction. (ex : the .conf i need to edit or the section in the UI that manages this.) I will figure out the rest.

Thank you.

Vulnerable Javascript libraries

$
0
0

Is it possible to upgrade the Javascript libraries used on the Server or will it break compatibility?

/libraries/jquery/jquery.js - Detected Javascript library jquery version 1.11.0
/libraries/jquery-migrate-1/jquery-migrate.min.js - Detected Javascript library jquery-migrate version 1.2.1.

Usage of deploment rules

$
0
0

Hello,

i did setup an Ubuntu 16.04 server which acts as OSC-Inventory server in my network. Around 20 clients are installed so far and basic software deployment works in general.

I realized i can assign a single package to a single host or a group which both worked in my tests.

One topic which i haven't understood so far are "deployment rules" and how they are used.

I do know that i can define them, but i don't understand the user-interface to add them and how they are supposed to be used.

UI lets me configure for example:

  • Rule name: test_rule_01
  • Priority: 5
  • Computer value: NAME
  • Operator: =
  • Server value: NAME

But what is the target / objective / action behind this rule. there is no direct connection to either software packages nor to hosts.

The wiki documentation for this topic does not exists so far.

Asking in IRC resulted in no feedback at all for this specific topic.

Any help is appreciated.

Best regards

Florian

Answered: WEB_SERVICE_ENABLED = OFF

$
0
0
Thats the soap based optional web-interface. The setup.sh script already asks if you want to enable it, as it relies on additional packages.

I assume your setup does not met the requirements and therefor the UI checkbox is disabled.

Hope that helps

Mac silent installer

$
0
0
Hi!

I am having trouble to build a silent install pkg for mac.

Does anyone have an example or software to do this?

Answered: Agent send Prolog failed with letsencrypt ssl

Is OCS 2.3.1 compatible with ManageMSofficeKey/MSofficeKey?

$
0
0
Hello,

I'm Trying to install  ManageMSofficeKey's plugin and I have got some errors in my MySQL database when I run the setup.sh script.

Error: "ERROR 1060 (42S21) at line 19: Duplicate column name 'GUID' "

Is the ManageMSofficeKey's plugin compatible with the lastest version of OCS Inventory

Thanks in advance :)

Answered: Agent send Prolog failed with letsencrypt ssl

$
0
0
OMG. It's worked!
Add ROOT CHAIN CERTIFICATE behind cacert.pem.
Only ROOT CHAIN CERTIFICATE be cacert.pem is also worked.

Thanks you everyone.

Usage of deployment rules

$
0
0

Hello,

i did setup an Ubuntu 16.04 server which acts as OSC-Inventory server in my network. Around 20 clients are installed so far and basic software deployment works in general.

I realized i can assign a single package to a single host or a group which both worked in my tests.

One topic which i haven't understood so far are "deployment rules" and how they are used.

I do know that i can define them, but i don't understand the user-interface to add them and how they are supposed to be used.

UI lets me configure for example:

  • Rule name: test_rule_01
  • Priority: 5
  • Computer value: NAME
  • Operator: =
  • Server value: NAME

But what is the target / objective / action behind this rule. there is no direct connection to either software packages nor to hosts.

The wiki documentation for this topic does not exists so far.

Asking in IRC resulted in no feedback at all for this specific topic.

Any help is appreciated.

Best regards

Florian

Viewing all 7082 articles
Browse latest View live


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