Answered: Upgrade serveur 2.4 vers 2.5 (partie serveur)
Fonctionnalité de OCS sur Windows Server et Client
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
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
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
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
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
Could you explain, please?
Regards
Frank
Moving OCS server to other IP address
messages tab - purpose ?
http://servername:/ocsreports/index.php?first
Kind regards
testing Mojolicious-7.88 FAIL
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
Hi,
- In AD with a computer GPO you can replace the ocisnventory.ini file with a new version containing the new IP.
- or a script run with psexec
Answered: Installation issue in Plugins
What errors have you in your apache error log file?
Regards
Frank
Cannot insall plugins under 2.3.1
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
Could you post the content of ocsinventory-agent.log file, plz?
Regards
Frank
Serveur apache ne démarre pas
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
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
Answered: Some agents giving HTTP Status Code #500 errors
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
What happens with data after update OCS server?
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?