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

Answered: Upgrade serveur 2.4 vers 2.5 (partie serveur)

$
0
0
Si ça se passe mal, tu réinstalles la 2.4 et tu remets ta conf et ta base de données : pas la peine de sauvegarder les fichiers surtout que tu risques d'en oublier.

Fonctionnalité de OCS sur Windows Server et Client

$
0
0

Bonjour,

J'aurais besoin de savoir si Ocs Inventory est capable de gérer ces fonctionnalité suivante ?

  • Monitorer / superviser le déploiement des mises à jour de sécurité Windows,

  • Monitorer / superviser le déploiement des signatures antivirus (ça concerne les postes COSMOS, NeVIs, M1),

  • Monitorer / superviser le déploiement de .msi,

  • Monitorer / superviser le déploiement de scripts powershell,

  • Monitorer / superviser les machines physiques et VM :

    • Espace disque / RAM utilisés,

    • Ping des adresses IP pour savoir lesquelles sont allumées / éteintes,

    • Test des IOR  pour savoir si elles sont up,

    • Monitorer un port sur une machine distante…

Cordialement

Administrative data - Tag is displayed as number

$
0
0

Hello,

I added some more tags by going to Manage --> Administrative data. Some tags with data type as TEXT input and a tag with data type as SELECT input. The different type of SELECT (drop-down) options are like IN-STORE and/or IN-USE. Then I added information of computers in those tags by doing mass selection

Then I go to Inventory --> Computers per tag and check for computer assets. The computers with the TEXT type of data are displayed correctly. But the computers with the SELECT type of data are displayed with numbers. Instead of showing IN-STORE or IN-USE it displays number like 1 or 2. I think the number correspond to the order of the Select option drop-down value I inserted in the server.

How can I make the server display the value instead of the number please? If I go to each computer and edit each one, then the value is displayed but if I do mass selection and update then number is displayed. I am pasting a screenshot also.

My version:

  • PHP Version :
  • Web Server :
  • Database Server :
  • Version OCSReports:
  • 5.6.37
  • Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.37 mod_perl/2.0.10 Perl/v5.16.3
  • MariaDB Server version 5.5.60-MariaDB
  • 2.5

TIA

Cannot insall plugins under 2.3.1

$
0
0
Dear OCS Team

I've been trying to follow the guidance in similar tickets but nothing worked neither under OCS 2.1.2 nor under 2.3.1.

Can you please shed some lights on how to force plugin installation via web GUI? I have just a blank drop down list in OCS menu Plugin  installation.

Details:

OS Centos 6.8

plugin is uploaded into /usr/share/ocsinventory-reports/ocsreports/download and to the /var/lib/ocsinventory-reports/plugins/download folders and both have 777 mode.

Thank you very much,

Rostyslav

Answered: Fonctionnalité de OCS sur Windows Server et Client

$
0
0
Bonjour,

OCS Inventory est un outil d'inventaire comme son nom l'indique. Il ne fait pas de supervision comme les outils Centreon, Shinken et consorts.

OCS est capable de remonter les mises à jour de sécurité, les logiciels installés, les caractéristiques physiques des machines (RAM, processor, disque dur etc), de déployer des logiciels (.msi, .exe), de stocker des fichiers. Il ne fait en aucun cas de supervision active.

Cordialement

Frank

Some agents giving HTTP Status Code #500 errors

$
0
0
I installed a new OCS server (version 2.5) last week, and I'm having issues getting agents to connect.  Some aren't connecting at all, some have connected a few times, but then stopped being able to, and others are not having any problems.  Agent versions are a mix of 2.1-2.3 (they were installed previously and I haven't updated all of them), but there's no pattern to which ones work and which don't.  The password is correct everywhere, and I can get to the server just fine on a machine that's currently failing.  The failures have "ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>" in the log.  I saw some references to a missing column in the networks table, but I checked and it's there.

The only error showing in the Apache error log when I try and fail to connect is "Not a HASH reference at /usr/local/share/perl/5.26.1/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm"

Answered: SMART Information

$
0
0
Hi,

Could you explain, please?

Regards

Frank

Moving OCS server to other IP address

$
0
0
I'm going to place OCS Server in other location using else IP, can I some way send this info to Agents to Update there settings with new IP of server?  I didn't found IP in setting udpdated automatically.

messages tab - purpose ?

$
0
0
hy, what is the purpose of the messages tab in

http://servername:/ocsreports/index.php?first

Kind regards

testing Mojolicious-7.88 FAIL

$
0
0
Hi I am trying to upgrade ocs from version 2.3.1 to 2.4.1
having difficulties installing
________________

Configuring Time-Local-1.28 ... OK

Building and testing Time-Local-1.28 ... OK

Successfully installed Time-Local-1.28 (upgraded from 1.1901)

Building and testing Mojolicious-7.88 ... FAIL

! Installing Mojolicious::Lite failed. See /root/.cpanm/work/1532704532.7265/build.log for details. Retry with --force to force install it.

5 distributions installed

________________

Answered: Moving OCS server to other IP address

$
0
0

Hi,

  1. In AD with a computer GPO you can replace the ocisnventory.ini file with a new version containing the new IP.  
  2. or a script run with psexec
Regards
Frank

Answered: Installation issue in Plugins

$
0
0
Hi,

What errors have you in your apache error log file?

Regards

Frank

Cannot insall plugins under 2.3.1

$
0
0
Dear OCS Team

I've been trying to follow the guidance in similar tickets but nothing worked neither under OCS 2.1.2 nor under 2.3.1.

Can you please shed some lights on how to force plugin installation via web GUI? I have just a blank drop down list in OCS menu Plugin  installation.

Details:

OS Centos 6.8

plugin is uploaded into /usr/share/ocsinventory-reports/ocsreports/download and to the /var/lib/ocsinventory-reports/plugins/download folders and both have 777 mode.

Thank you very much,

Rostyslav

Answered: error 500 Internal Server Error_Running_Process

$
0
0
Hi,

Could you post the content of ocsinventory-agent.log file, plz?

Regards

Frank

Serveur apache ne démarre pas

$
0
0
Bonjour, Nous sommes entrain de tester OCSInventory pour voir si ce dernier répond à notre besoin.

Cependant nous avons installé sur une Redhat 7:

 php -v
PHP 5.6.25 (cli) (built: Sep  6 2016 08:19:42)

Server version: Apache/2.4.27 (Red Hat)
Server built:   May  9 2018 13:17:26

mais quand nous éxécutons :

systemctl start httpd24-httpd.service
Job for httpd24-httpd.service failed because the control process exited with error code. See "systemctl status httpd24-httpd.service" and "journalctl -xe" for detail

systemctl status httpd24-httpd.service
● httpd24-httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-07-17 08:06:14 CEST; 6s ago
  Process: 22302 ExecStop=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
  Process: 22301 ExecStart=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 22301 (code=exited, status=1/FAILURE)

Jul 17 08:06:14 carvmx343 systemd[1]: Starting The Apache HTTP Server...
Jul 17 08:06:14 carvmx343 httpd-scl-wrapper[22301]: httpd: Syntax error on line 354 of /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /...
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 17 08:06:14 carvmx343 httpd-scl-wrapper[22302]: httpd: Syntax error on line 354 of /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /...
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service: control process exited, code=exited status=1
Jul 17 08:06:14 carvmx343 systemd[1]: Failed to start The Apache HTTP Server.
Jul 17 08:06:14 carvmx343 systemd[1]: Unit httpd24-httpd.service entered failed state.
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

/opt/rh/httpd24/root/etc/httpd/conf.d# ls -l
total 56
-rw-r--r-- 1 root root  2966 May  9 15:17 autoindex.conf
-rw-r--r-- 1 root root  4157 Jul 16 16:18 ocsinventory-reports.conf
-rw-r--r-- 1 root root   963 Jul 16 16:55 php.conf
-rw-r--r-- 1 root root   366 May  9 15:18 README
-rw-r--r-- 1 root root  9418 May  9 15:15 ssl.conf
-rw-r--r-- 1 root root  1252 May  9 15:15 userdir.conf
-rw-r--r-- 1 root root   556 May  9 15:15 welcome.conf
-rw-r--r-- 1 root root 13494 Jul 16 16:17 z-ocsinventory-server.conf

Il semble que (mais je n'en suis pas certain) que la section du fichier php.conf  :

<IfModule prefork.c>
    LoadModule php5_module /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so
</IfModule>

Ne fonctionne pas bien.

/opt/rh/httpd24/root/etc/httpd/conf.d# ls -l /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so
lrwxrwxrwx 1 root root 14 Jul 16 16:55 /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so -> libphp5-5.6.so

Pourriez vous nous aider ?

Answered: error 500 Internal Server Error_Running_Process

$
0
0
Hi Frank,

thanks for your answer. I solved the problem last friday.
The problem wasn't in the agent configuration/installation. The malfunction was in the wrong table configuration of my "Running Processes" table. I drop the table and then i recreate it.
A few days ago, my colleague tried to customize the Running Process table adding new parameters. After that, when the agent was attempting to send the inventory to the server, it crashed against a badly configured "Running Process" table.

Rolling back to the original table settings, everything is back working correctly.

10x a lot,

Answered: Installation issue in Plugins

$
0
0
First thing try to check if all the zip files in download directory have the  apache owner(should be apache:apache or www-data:www-data depend of SO) from your list i see they seems have different owners

Answered: Some agents giving HTTP Status Code #500 errors

$
0
0
UPDATE:  My own machine is one of the ones that did work for a while, then stopped.  I tried uninstalling and reinstalling the agent - no luck.  And this machine can definitely get to the IP/DNS name of the server.  Some (but not all) other machines are connecting just fine.

Hmmm...just got an interesting test result.  I unplugged my machine from the wired ethernet...on wifi, it works.  Wired and wireless machines are on the same subnet/VLAN, and again I can still ping and go to the web interface for the server on either connection.  I wonder if it's not the connection that's the problem per se...  Looking at the line of perl that's giving the error, it's:

    my $lanToDiscover = $current_context->{'PARAMS'}{'IPDISCOVER'}->{'TVALUE'};

So it's connecting, but something about how that line returns differently when on the wired vs the wifi is causing the error, maybe?  It doesn't seem to be restricted to wired vs wifi, though - I have a couple of virtual machines that are working, and a couple of others that aren't.

Definitely stumped, and really would love to get this working sooner rather than later.  If anyone's got anything they can think of for me to check/test, I'd really appreciate it!

Console GUI display text

$
0
0
Hi All,
Where could I correct these column headers?
I think it is better to display: VM Name, VM Status (Not Statut), VM Operating system, and so on.

What happens with data after update OCS server?

$
0
0
Hello,

Recently I have updated OCS Server to the newest version and I was wondering what happens with collected data before updating. Do I lost them permanently? Where OCS is collecting them?
Viewing all 7067 articles
Browse latest View live