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

OCS interface SNMP

$
0
0

Hello,

I want to inventory my network equipment via snmp.

I followed the tutorial "05.Network Discovery with OCS Inventory NG » Using SNMP scans features

But i have no inventory equipment (swtich firewall ...)  and I do not know or look for log in order to know the origin of the malfunction.

Merci.

Serveur : ubuntu 18.04.1 LTS Apache/2.4.29 (Ubuntu)

OCS report 1:10.3.10+maria~bionic-log 2.5


Private and Closed Network

$
0
0
I have a customer with a private/closed network with physically no connection to the outside world (i.e. Internet). Since it is growing we are looking for a simple automatic inventory system.

Can I still run a Server and use the Agents on this network? What might not work? Will all the plugins work?

IMPORTANT- Missing some agent inventory data in DB

$
0
0
Hello,

I have ocs server version 2.4.1 and a unix agent version 2.4.2. Everything is working fine.

As part of a migration of an existing ocs server (v2.1) to use my new server (v2.4.1), I needed to dump the mysql database used by the 2.1 server and restore the data into my existing database. The install.php script should take care of adapting the DB tables. After the mysqldump, I was able to get all data displayed in my new ocs server.
Then, when I was testing the agent inventory, the inventory passed and I was able to see the agent on my ocs server UI. However, I noticed that some data was not displayed (agent softwares, memory, bios). I checked the Database, but there is nothing related data to the agent in softwares, memory and bios tables even though that in my agent logs (debug output) I can see that this data was exported: Exemple

 <SOFTWARES>

<COMMENTS>Linux USB utilities</COMMENTS>

      <FILESIZE>704</FILESIZE>

      <FROM>deb</FROM>

      <INSTALLDATE>2018/0812 13:40:12</INSTALLDATE>

      <NAME>usbutils</NAME>

      <PUBLISHER>https://github.com/gregkh/usbutils</PUBLISHER>

      <VERSION>1:007-4</VERSION>

    </SOFTWARES>

Help!

MDP par defaut invalid

$
0
0
Bonjour à tous,

Je viens d'installer OCS inventory server version 2.5, l'installation c'est correctement déroulée, la liaison à la base de données est OK. En revanche sur la page de connexion je tape le login/mot de passe par défaut "admin", le site me renvoie "Utilisateur ou mot de passe incorrect" alors que je ne me suis jamais connecté et c'est donc la première fois que je tente de me connecté. Avez une piste de résolution ?

Merci de votre aide

Quentin

Probleme remonté plugin

$
0
0
Bonjour,

Le fonctionnement de "base" OCSinventory est correct.

Les inventaires des différents clients remontent correctement, par contre j'ai installé des plugins, je vois bien les fichiers vbs s'exécuter sur les postes client mais aucune information n'est collecté par le serveur.

J'ai également voulu paramétrer la remonté de valeurs de clefs de registre sans succes.

Serveur : ubuntu 18.04.1 LTS Apache/2.4.29 (Ubuntu)

OCS report 1:10.3.10+maria~bionic-log 2.5

Client windows : OCS Inventory NG Agent Version 2.4.0.0

Merci

Issues with Dock

$
0
0

Hi All!

I'm triying deploy a OCS dock (https://hub.docker.com/r/ocsinventory/ocsinventory-docker-image/), but when I tried access for first time into the web http://myip/ocsreports but I obtained a 500 error.

I use the sentence to run the dock:

docker run -p 82:80 --name ocs --link mariadb:mysql -e OCS_DBNAME=ocsweb -e OCS_DBSERVER_READ=172.17.0.3 -e OCS_DBSERVER_WRITE=172.17.0.3 -e OCS_DBUSER=ocs -e OCS_DBPASS=ocs -itd ocsinventory/ocsinventory-docker-image:latest

The apache error.log shows:

[Mon Nov 26 09:47:13.808520 2018] [:error] [pid 12] [client 10.1.10.8:2087] PHP Warning:  mysqli_fetch_object() expects parameter 1 to be mysqli_result, boolean given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 38

[Mon Nov 26 09:47:13.808782 2018] [:error] [pid 12] [client 10.1.10.8:2087] PHP Warning:  require(install.php): failed to open stream: No such file or directory in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 167

I understand that all in the dock it's ready to run and work...

Could you help me?

Thank you.

CSV Export of more then the standard columns

$
0
0
Hello,

when i try to do a csv export over all computers tab in the web ui  i only get a csv file with some columns to select instead of all data. Found no solution in forum or google.

In old version that export all data and theres no button to select that.

Any solution?

OS: Redhat 7.4

OCS NG Version: 2.5

DB: Maria DB 5.5

PHP Version: 5.4
Best Regards,

Stefan

http error 500 after system upgrade (mariadb)

$
0
0

Hi,
ocsinventory-ng server on a Debian Stretch.

After the last system upgrade

(Install: libconfig-inifiles-perl(2.94-1), Upgrade: mariadb-common(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-server-core-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-server-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-client-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), mariadb-client-core-10.1(10.1.26-0+deb9u1, 10.1.37-0+deb9u1), libmariadbclient18:i386 (10.1.26-0+deb9u1, 10.1.37-0+deb9u1)

all agents now receive a http error 500:

Starting OCS Inventory NG Agent on Monday, November 26, 2018 11:31:58.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.0.0
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <WUT-2018-11-25-15-48-17> and MACs <BA:71:75:85:97:6F> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <https://ocsinventory.cgil.int.cgil.tn.it/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #500>
    COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

in /var/log/apache2/error.log I see these errors, for every agent connection tried:

DBD::mysql::dr connect warning:  at /usr/share/perl5/Apache/DBI.pm line 213.
[Mon Nov 26 11:44:49.289317 2018] [perl:error] [pid 352] [client 192.168.31.113:52312] Can't call method "rollback" on an undefined value at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Server/System.pm line 282.\n

ocsinventory-ng server version is 2.5, and agents versions are from 2.3.1 to 2.4

Is there a fix for this? Thanks


Does OCS inventory allow wildcard certificate?

$
0
0

Hello,

Does OCS Inventory version 2.5 allow wildcard certificate?

I read questions asked years ago, that OCS wasn't able to do it. How it is now?

Environment : 

- Server : OCSInventory-Server 2.5

- Clients : Windows Agent 2.4.0.0, Unix Agent 2.4.2

Regards

Ocs Windows agent version to choose ? [urgent]

$
0
0

Hello,

I have an ocs server version 2.4.1 and I want to install ocs agent on Windows IOT ENT LTSB 64 bits. Which is the best agent version to install that will be compatible with my ocs server as well as with my Windows clients machines.

Thanks!

AUTO_DUPLICATE_LVL

$
0
0
is it possible to deactivate the auto deduplication in OCS-Inventory 2.1.2 ?

Agent 2.05

- if i choose nothing from

hostname
Serial
macaddress
model
uuid
AssetTag

in the settings - it can't be saved.

The reason why i will do that is that i will see - which client creates duplicates, because we have many computers which get duplicated - but merged automatically.

I must choose at least one item from the list above (i have choosen hostname)

I have seen that duplicates are also a problem with server version 2.5 and client 2.4.0

It looks like that changing cpu freqs or USB devices are the reasons for duplicates, and i want to find out how to avoid duplicates.

Kind regards

Sokatra

Agent::Backend::Virtualization::Qemu ignored

$
0
0
Hi,

i have problem with ocs inventory server when i try to register virtual machine (proxmox with qemu)

When the virtual machine is register (Ocsinventory unified agent for UNIX, Linux and MacOSX (2.3.1) in centos 7), in the web server ocs inventory we can access to inventory on the server but isn't recognized as virtual server.

In the log of my ocs inventory agent i can see this log :

[Tue Nov 27 16:46:59 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Tue Nov 27 16:49:57 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored
[Tue Nov 27 22:58:48 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored

thanks a lot for your support,

Regards,

Administrative Data lost upgrading 2.3.1 to 2.5

$
0
0

Hello,

I'm trying to update my 2.3.1 Ubuntu 14.04 server to the new 2.5 release.
The upgrade goes smooth following this tutorial however when I restart apache2 I find out that all the data I've put in my custom fields are gone.

I've now rolled back the machine to a pre-upgrade snapshot.

I've read this bug report however I'm not able to understand if there is a temporary manual fix to upgrade or if it will be release for server version 2.6

Can you help me?

thank you
Francesco

Upgrade to v2.5 - no data to accessible in OCS Web

$
0
0
Hello guys,

I'm facing issues after having upgraded my OCSInventory instance from 2.2.1 to 2.5 that there're no data visible/accessible via the webinterface.
There's only the navigation bar - trying to access for instance the computers or all software nothing will be displayed!?

If I access to the local database the data, tables, fields and values are available.

Currently I'm using
- PHP 5.4.45
- mysql  Ver 14.14 Distrib 5.5.54
- Apache/2.2.22

I did not find any errors in the activity.log - inventories are still getting transmitted!
Apache2 access log gets filled with data from the agent doing POST.

I'm really clueless and need help....

thanks in advance

Regards
sip_mw

Inventory of ocs with a reverse proxy

$
0
0


Good morning, I am new to the ocs inventory and would like to ask you a question.

It turns out that I'm trying to get my agent for Linux to connect to my server, the problem is that I have an apache in front of my ocsinventory server that works with reverse proxy with https and a certificate that redirects to the ip address of my server, but placing the proxy URL during the installation of the agent, at the time you ask what is the URL of my server, in the end an error occurs, this does not happen when I use the IP address of the server directly instead of the URL of the reverse proxy . Is it possible to do it this way or am I wrong?


Plugins are not being executed by apache

$
0
0
Hi,

Trying to setup "Plugin Vmware vCenter".

All files are installed succesfuly:

-rw-rw-rw-. 1 apache apache 54 Nov 28 15:33 /etc/ocsinventory-server/plugins/Vmware.conf
-rw-rw-rw-. 1 apache apache 5062 Nov 28 15:33 /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Vmware/Map.pm

But no Error messages or logs in the http log files either not sure what is not causing it to load and execute.

Loaded Modules:

 core_module (static)

 so_module (static)

 http_module (static)

 access_compat_module (shared)

 actions_module (shared)

 alias_module (shared)

 allowmethods_module (shared)

 auth_basic_module (shared)

 auth_digest_module (shared)

 authn_anon_module (shared)

 authn_core_module (shared)

 authn_dbd_module (shared)

 authn_dbm_module (shared)

 authn_file_module (shared)

 authn_socache_module (shared)

 authz_core_module (shared)

 authz_dbd_module (shared)

 authz_dbm_module (shared)

 authz_groupfile_module (shared)

 authz_host_module (shared)

 authz_owner_module (shared)

 authz_user_module (shared)

 autoindex_module (shared)

 cache_module (shared)

 cache_disk_module (shared)

 data_module (shared)

 dbd_module (shared)

 deflate_module (shared)

 dir_module (shared)

 dumpio_module (shared)

 echo_module (shared)

 env_module (shared)

 expires_module (shared)

 ext_filter_module (shared)

 filter_module (shared)

 headers_module (shared)

 include_module (shared)

 info_module (shared)

 log_config_module (shared)

 logio_module (shared)

 mime_magic_module (shared)

 mime_module (shared)

 negotiation_module (shared)

 remoteip_module (shared)

 reqtimeout_module (shared)

 rewrite_module (shared)

 setenvif_module (shared)

 slotmem_plain_module (shared)

 slotmem_shm_module (shared)

 socache_dbm_module (shared)

 socache_memcache_module (shared)

 socache_shmcb_module (shared)

 status_module (shared)

 substitute_module (shared)

 suexec_module (shared)

 unique_id_module (shared)

 unixd_module (shared)

 userdir_module (shared)

 version_module (shared)

 vhost_alias_module (shared)

 dav_module (shared)

 dav_fs_module (shared)

 dav_lock_module (shared)

 lua_module (shared)

 mpm_prefork_module (shared)

 proxy_module (shared)

 lbmethod_bybusyness_module (shared)

 lbmethod_byrequests_module (shared)

 lbmethod_bytraffic_module (shared)

 lbmethod_heartbeat_module (shared)

 proxy_ajp_module (shared)

 proxy_balancer_module (shared)

 proxy_connect_module (shared)

 proxy_express_module (shared)

 proxy_fcgi_module (shared)

 proxy_fdpass_module (shared)

 proxy_ftp_module (shared)

 proxy_http_module (shared)

 proxy_scgi_module (shared)

 proxy_wstunnel_module (shared)

 ssl_module (shared)

 systemd_module (shared)

 cgi_module (shared)

 perl_module (shared)

 php5_module (shared)

ocsinventory-server stable which version ?

$
0
0
Hello,

Which of the 2.4.1 or 2.5 version of ocsinventory-server is the most stable for production environnment ?

Thank you for your reply

Olivier

ocs agent SSL connect error

$
0
0
Hello,

My Windows agent v2.1 is not able to send inventory to the server v2.4.1. I get Failed to send HTTP post request SSL error connect. I have tested all certificat levels But I have always the same problem. I also trusted the Root CA and I'm able to access ocs server from browser perfectly over https. I have no logs on server side. How can I fix this? Help

data lost after service stop ocsinventory.ini

$
0
0
Hy, i just installed Ocs Inventory agent 2.4.0 on windows 7 - 64 Bit.

I stopped the ocs inventory service - after changing the server to an ip adress Server=http://10.0.2.15/ocsinventory

and INVENTORY_ON_STARTUP=1 i am starting the agent service again - the ocsinventory.ini was nearly empty

[OCS Inventory Service]
TTO_WAIT=120
INVENTORY_ON_STARTUP=0

-------------

ocsinventory.log

Starting OCS Inventory NG Agent on Thursday, November 29, 2018 20:20:34.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.0.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <Couldn't resolve host name>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:04.

the ocsinventory.ini before

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://10.0.2.15/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=4
INVENTORY_ON_STARTUP=1

It looks like a bug ? server isn't reachable - delete everything

not able to create administrative Data

$
0
0
hy, i am not able to use the administrative data feature in Ocs 2.5.0

newly created checkboxes are not visible -. radio button also.

Only textboxes are working

I use centos 7 (3.10.0-862.14.4.el7.x86_64)

PHP (5.5.21)

Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.5.21

mod_perl/2.0.10 Perl/v5.16.3

    MariaDB Server version 5.5.60-MariaDB
    2.5
Any Help ?
Viewing all 4375 articles
Browse latest View live


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