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

Answered: edit manual entry in ocs inventory

$
0
0

Hi @kvlopez,

What is the operating system of the client machines to integrate ?

I think the best thing is to create a program or a script :

- Run this script on the client machine that generates an OCS Inventory XML file by integrating the information you need

or

- Run this script with questions that will personalize the XML file

Thus, you can integrate the relevant information through the local import function of OCS reports.

Regards, Stéphane


Answered: edit manual entry in ocs inventory

$
0
0

There is a way to create a complete list of peripherals and computers.
That's what you need in my company where I work. They have thought about investing in some software, the image is how we carry the inventory. A single list of computers and peripherals. Is there a way to show a single list?

this is other error . I can´t upload files in ocs or xml in ocs WEB . Using the injector script works for me. but when I want to use the scrip to upload in xml files it does not work for me.

Please help me .

Request inventory

$
0
0
Morning,

My inventory is out of date. Some machines isn't on the inventory.

Is there any way that I send a request to update my inventory list?

Linux agent tags not working while Windows is

$
0
0
Hi.  I want my agents to automatically create tags.  My Windows agents are doing this without any issue and their tags automatically appear in OCS admin page (v 2.1.2).  I have set "tag=something" in "/etc/ocsinventory/ocsinventory-agent" but the 'something' tag isn't being created or associated with the Linux device.  Is this a bug?

Answered: Request inventory

$
0
0

Hi,

In one of the machines, did you check the contents of the following file (for Windows) :

C:\ProgramData\OCS Inventory NG\Agent\OCSInventory.log

If the communication between stations and server is not good, you will have the information in this file.

In OCSReports, you can also check one of the following settings :

Configuration > Inventory > Frequency

Regards, Stéphane

Install OCS Inventory server v2.4 on Linux

$
0
0
Hello all,

I don't know if I'm on the right place but I need some tutorials to install the newest version of OCS Inventory server (2.4) on a Linux distribution. I already surfed on many websites and I can't find a right tutorial...

I tried maybe 20 times to install it and everytime I have a problem, like I can see my different computers but I can't make local imports, etc...

So If someone can help me to install OCS Inventory on an Ubuntu Server or Debian I'll be so happy ^^.

PS: Sorry for my bad English I can also speak French.

Thank you !!

Answered: Office key only retrieve / force

$
0
0
Hi @hermeti-k,

What's Office version ?

What's Windows version and edition ?

Regards, Stéphane

OCSNG server 2.4 that not connect with OCS Agent

$
0
0
Hello,

I has installed OCSNG Server 2.4 the lastest version on ubuntu 16.04

that seem to be working well and i can access ocsreports but when i installed Ocs agent 2.3.1.1

on window 10 its not report any data to the server .

what can i configuration with this problem ?

i have tried to reinstall server many time but i got the same

thank you

Answered: Office key only retrieve / force

$
0
0
Office 2016 / 365

Windows  7 pro 64bits / Windows 10 pro 64bits

With older versions of Office( 2013, 2010, etc.) works great!

thanks in advance!

UPDATE: If i double click the Ocsinventory.exe, it retrives the key ok.

The automatic inventory is the one who fails to obtain the key., and so if i run the inventory trough the agent.

Merge entries / keep old computer ID

$
0
0
I need OCS to merge inventoried machines if the serialnumber and model are equal. So far it works. But my problem is that the new entry gets a new Computer ID. I need the system to keep the old ID.

For example: I have an inventoried machine with the ID 100. The machine gets a reinstallation and the OCS Agent is installed again. The new entry gets the next available ID and ID 100 is deleted, but I need the machine to keep ID 100.

Any idea where I can configure that? At AUTO_DUPLICATE_LVL "Serial" and "Model" are checked.
OCS Version: 2.1.2

Thanks!

Julien

Answered: OCS inventory on ubuntu server 16.04

$
0
0
Thank you vitorgatti for this script , now i can breath again !

Comp in DynGrp STATLY EXCL cant be DYNALY included

$
0
0

Hi all.

Computer in Dynamic Group, STATICALLY EXCLUDED cannot come back to be DYNAMICALLY included

I'm newbie in OCS and I'd made a mistake that I don know how to undo.
I had a Dynamic Group of Computers. Below list there is a select with these options

I selected several Computer from list above and clicked Send

The result was this

Group ABC

Status: DYNAMICALLY INCLUDED

Include     Exclude

Group XYZ

Status: STATICALLY EXCLUDED

Include     Reset

Group 123

Status: DYNAMICALLY INCLUDED

Include     Exclude

Reset gets this computer out from Group XYZ (completly removed from the group)
Include gets this computer in again, but Statically

Group XYZ

Status: STATICALLY INCLUDED

Get out of group

I've came back to the original situation by overwriting group with the same criteria.

Is there a "correct" way to come back without reaplying the query?
Just include DYNAMICALLY the affected Computer?
Any way else to undo?

Thanks in advance !!!

PS: Ver. 2.0.1
PS: I haven't seen anything about this in
http://wiki.ocsinventory-ng.org/index.php?title=Documentation:Groups#Using_dynamic_groups

Requete SQL sur base OCS

$
0
0
Bonjour,

je souhaiterais obtenir comme résultat la liste d'ordinateurs en fonction d'une liste d'utilisateur.

Quelles sont les tables qu'il faut interroger?

Bien cordialement

Inventories not received after upgrade to 2.4

$
0
0

Hello,

Since upgrading our OCS to v2.4, no agents are able to successfully send their inventories.

I am seeing errors in my /var/log/httpd/error_log as follows:

[Tue Feb 06 08:57:42 2018] [error] [client 10.11.23.178] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Tue Feb 06 08:57:52 2018] [error] [client 10.11.26.101] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n

Line 189 of the script is:

$dbh->do("SET sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'");

I hit this problem last time I upgraded, but it was fixed by updating our DB access details: http://ocsinventory12.rssing.com/browser.php?indx=50766537&item=1567

This time, however, our details are correct, but we still have the problem.

Please can someone guide me on where to start looking to fix this problem?

Thank you.

EJ

System Details:

OS Name : Linux x86_64
Version : 2.6.18-419.el5.centos.plus
RAM installed : 7979 MB
CPU : Quad-Core AMD Opteron(tm) Processor 1354
PHP Version : 5.6.30
Web Server : Apache
Database Server : MySQL Community Server (GPL) by Remi version 5.5.54
Version OCSReports: 2.4

install TOP 10 of most installed softwares plugin


Answered: Dictionary problem

$
0
0
Hello,

I found the same issue. After upgrade to release 2.3 t is not possible to manage the software in the dictionary!

Each time the category is selected, the interface reports the message "Processing" and the software contained in the categories are not shown. I also checked the dico_soft table and it remained unchanged.
If I try to create a new category with software, this category is created correctly but no software is displayed.

I tried to do a test on the online demo of ocs 2.4 and in that case the categories seem to work correctly (the created category is called samba)

Thanks foy your help.

Answered: Inventories not received after upgrade to 2.4

$
0
0
I also have this problem, installed the 2.4 version of OCS, using a previous database of 2.1 version.

Everything works nicely, but I can't receive the inventory from agents.

Username and password of database works fine.

I can write data from the interface of OCS reports to my database.

Creating new tags or updating and doing other things, but no new inventories.

From /var/log/ocsinventory-server/activity.log I have this:

Mon Feb  5 14:55:55 2018;27761;318;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;session;missing
Mon Feb  5 14:55:55 2018;27761;114;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;inventory;no_session
Mon Feb  5 14:55:55 2018;27761;104;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;inventory;incoming
Mon Feb  5 14:55:55 2018;27761;515;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;end;error
Mon Feb  5 14:56:07 2018;13082;103;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;prolog;new_deviceid
Mon Feb  5 14:56:07 2018;13082;100;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;prolog;accepted
Mon Feb  5 14:56:07 2018;13082;311;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;session;started
Mon Feb  5 14:56:14 2018;25101;318;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;session;missing
Mon Feb  5 14:56:14 2018;25101;114;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;inventory;no_session
Mon Feb  5 14:56:14 2018;25101;104;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;inventory;incoming
Mon Feb  5 14:56:14 2018;25101;515;PANOVA-2018-02-02-17-16-18;192.168.204.210;OCS-NG_WINDOWS_AGENT_v2.3.1.1;end;error
Tue Feb  6 07:57:57 2018;4039;103;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;prolog;new_deviceid
Tue Feb  6 07:57:57 2018;4039;100;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;prolog;accepted
Tue Feb  6 07:57:57 2018;4039;311;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;session;started
Tue Feb  6 07:58:02 2018;4043;318;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;session;missing
Tue Feb  6 07:58:02 2018;4043;114;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;inventory;no_session
Tue Feb  6 07:58:02 2018;4043;104;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;inventory;incoming
Tue Feb  6 07:58:02 2018;4043;528;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;accountinfos;missing
Tue Feb  6 07:58:02 2018;4043;515;dsvadriano-2018-02-06-07-57-56;192.168.204.198;OCS-NG_unified_unix_agent_v2.0.5;end;error

Successful Install still doesnt work

$
0
0
Ubuntu 16.04.3

Release 2.4 OCS

I fought through every error, finally got every error and dependency fixed.  The install goes through successfully, Restarted apache2 service, restarted server.  

 I go to http://localhost/ocsreports and get page cant be displayed

setup log is too large to copy  but I can put part if you ask for it

Answered: Problème Imports Locaux

$
0
0
cat /var/log/apache2/error.log
[Tue Feb 06 10:08:57.338900 2018] [mpm_event:notice] [pid 28843:tid 139800670541696] AH00489: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Feb 06 10:08:57.338974 2018] [core:notice] [pid 28843:tid 139800670541696] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 06 10:09:22.317572 2018] [mpm_event:notice] [pid 28843:tid 139800670541696] AH00491: caught SIGTERM, shutting down
[Tue Feb 06 10:09:23.372841 2018] [mpm_prefork:notice] [pid 2648] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Feb 06 10:09:23.372916 2018] [core:notice] [pid 2648] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 06 10:09:25.010191 2018] [mpm_prefork:notice] [pid 2648] AH00169: caught SIGTERM, shutting down
[Tue Feb 06 10:09:26.377037 2018] [mpm_prefork:notice] [pid 2759] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Feb 06 10:09:26.377087 2018] [core:notice] [pid 2759] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 06 10:09:35.684208 2018] [mpm_prefork:notice] [pid 2759] AH00169: caught SIGTERM, shutting down
[Tue Feb 06 10:09:37.754897 2018] [mpm_prefork:notice] [pid 6597] AH00163: Apache/2.4.18 (Ubuntu) mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Tue Feb 06 10:09:37.754979 2018] [core:notice] [pid 6597] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 06 10:22:25.505669 2018] [mpm_prefork:notice] [pid 6597] AH00169: caught SIGTERM, shutting down
[Tue Feb 06 10:22:27.500258 2018] [mpm_prefork:notice] [pid 13758] AH00163: Apache/2.4.18 (Ubuntu) mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Tue Feb 06 10:22:27.500314 2018] [core:notice] [pid 13758] AH00094: Command line: '/usr/sbin/apache2'

Answered: Inventories not received after upgrade to 2.4

$
0
0

I have found the answer to our problem.

Even though I updated /etc/ocsinventory/ocsinventory-reports/dbconfig.inc.php and /etc/httpd/conf.d/z-ocsinventory-server.conf, we found that /etc/httpd/conf.d/zz-ocsinventory-restapi.conf also has to be updated.

It appears that the DB creds in /etc/httpd/conf.d/z-ocsinventory-server.conf get replaced by /etc/httpd/conf.d/zz-ocsinventory-restapi.conf, even though we're not using the API.

Viewing all 7083 articles
Browse latest View live


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