You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-01-03 20:49:29

erosay
Member
Registered: 2008-01-03
Posts: 17

OCS Import

I have successfully imported some of the information from OCS version 4.1.00, but no matter what I try I can't seem to get the software to import, any tricks I should know about to get the software imported?

P.S. I had a lot of custom fields in OCS, is there an easy way to import those along with the appropriate device or do I have to recreate and manually enter all that information?

Thanks

Offline

#2 2008-01-03 20:54:48

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

GLPI version ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2008-01-03 21:04:51

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

.7

Offline

#4 2008-01-03 22:44:44

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

you need to use the ocs dictionnary or say in the ocs mode config not to use it.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2008-01-03 23:07:47

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

That worked, tyvm

Offline

#6 2008-01-03 23:11:24

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

It looks like it didn't import everything /sigh

Offline

#7 2008-01-03 23:14:12

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

It looks like it didn't import any of the MS software listed in OCS

Offline

#8 2008-01-03 23:59:43

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

I do not understand


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#9 2008-01-04 00:03:25

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

Out of all the software it imported from OCS, none of the Windows software made it

Offline

#10 2008-01-04 00:06:16

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#11 2008-01-04 00:28:03

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

No software listed in OCS that is windows related was imported into glpi

Offline

#12 2008-01-04 00:30:00

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

how do you configure the link between OCS and GLPI ? using the dictionnary or not ?
If you do not give us informations we cannot give you a response


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#13 2008-01-04 00:42:20

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

Peripherals     Unit Importation
Monitors     Unit Importation
Printers     Unit Importation
Software     Unit Importation
Default license type     Site License(Global)
License set to buy by default      No
Use the software dictionary of OCS No    
Registry     No
Number of computers to synchronize using the cron  100

Offline

#14 2008-01-04 00:55:43

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

Isn't the import using sql and extracting what's in the OCS softwares table?

Offline

#15 2008-01-04 00:59:34

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

OCS Inventory
select count(*) from softwares;
+----------+
| count(*) |
+----------+
|     6870 |
+----------+
1 row in set (0.01 sec)

GLPI
mysql> select count(*) from glpi_software;
+----------+
| count(*) |
+----------+
|     1006 |
+----------+
1 row in set (0.00 sec)

It's missing quite a bit

Offline

#16 2008-01-04 01:01:03

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

No numbers may be different and will be different because on import GLPI merges same softwares.
So number in OCS > number in GLPI


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#17 2008-01-04 16:19:28

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

The import still didn't bring over any software from Microsoft, there are no Microsoft Software Patches, no Microsoft Office XXX, no Microsoft software at all.  The only software that it imported was Linux based.

Offline

#18 2008-01-04 16:21:06

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: OCS Import

in ocs ,  microsoft softwares are in ignored category ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#19 2008-01-04 16:22:05

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

are you sure what your windows computers have been synchronized ?
You can force the synchronization process to try.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#20 2008-01-04 18:08:57

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

None of the software has been categorized, it's all sitting in the same category, New.  I have also tried the force synchronization and it's still not showing up sad

Offline

#21 2008-01-04 18:12:32

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

please be precise.
not categorized where ? in glpi in ocs ?

You speak about categories... I do not understand the relation between this and your problem.
you defined :Use the software dictionary of OCS No    so ocs categories are not taking into account


What is the informations in the DB in the table glpi_ocs_link for a windows computer ?
In the OCS tabs of a windows computer ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#22 2008-01-04 18:25:35

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

Here are queries that show the output from the respective software tables in each of the databases:
select * from glpi_software where name like '%ffice%';
+-----+-------------+-----------------+---------------------------------------+----------+----------+----------+-----------+-----------------+--------------------+---------+-------------+---------+---------------------+-------+----------+-----------+-------+------------+------------------+----------+
| ID  | FK_entities | name            | comments                              | location | tech_num | platform | is_update | update_software | FK_glpi_enterprise | deleted | is_template | tplname | date_mod            | notes | FK_users | FK_groups | state | ticket_tco | helpdesk_visible | category |
+-----+-------------+-----------------+---------------------------------------+----------+----------+----------+-----------+-----------------+--------------------+---------+-------------+---------+---------------------+-------+----------+-----------+-------+------------+------------------+----------+
| 154 |           0 | koffice         | A set of office applications for KDE. |        0 |        0 |        0 |         0 |              -1 |                  0 |       0 |           0 | NULL    | 2008-01-03 14:06:15 | NULL  |        0 |         0 |     0 |     0.0000 |                1 |        0 |
| 888 |           0 | openoffice-libs | OpenOffice.org shared libraries       |        0 |        0 |        0 |         0 |              -1 |                  0 |       0 |           0 | NULL    | 2008-01-03 15:50:01 | NULL  |        0 |         0 |     0 |     0.0000 |                1 |        0 |
+-----+-------------+-----------------+---------------------------------------+----------+----------+----------+-----------+-----------------+--------------------+---------+-------------+---------+---------------------+-------+----------+-----------+-------+------------+------------------+----------+
2 rows in set (0.00 sec)

select * from softwares where name like '%ffice%';
+-------+-------------+-----------------------+---------------------------------------------------------+----------------+--------------------------------------+---------------------------------------------------+----------+----------+--------+
| ID    | HARDWARE_ID | PUBLISHER             | NAME                                                    | VERSION        | FOLDER                               | COMMENTS                                          | FILENAME | FILESIZE | SOURCE |
+-------+-------------+-----------------------+---------------------------------------------------------+----------------+--------------------------------------+---------------------------------------------------+----------+----------+--------+
| 71232 |           1 | NULL                  | openoffice.org-calc                                     | 2.3.0-6.7.fc8  | NULL                                 | Spreadsheet module for openoffice.org             | NULL     |     NULL |   NULL |
| 71233 |           1 | NULL                  | openoffice.org-math                                     | 2.3.0-6.7.fc8  | NULL                                 | Equation editor module for openoffice.org         | NULL     |     NULL |   NULL |
| 71235 |           1 | NULL                  | openoffice.org-xsltfilter                               | 2.3.0-6.7.fc8  | NULL                                 | Extra xsltfilter module for openoffice.org        | NULL     |     NULL |   NULL |
| 71655 |           1 | NULL                  | openoffice.org-draw                                     | 2.3.0-6.7.fc8  | NULL                                 | Drawing module for openoffice.org                 | NULL     |     NULL |   NULL |
| 71946 |           1 | NULL                  | openoffice.org-core                                     | 2.3.0-6.7.fc8  | NULL                                 | Core modules for openoffice.org                   | NULL     |     NULL |   NULL |
| 71953 |           1 | NULL                  | openoffice.org-writer                                   | 2.3.0-6.7.fc8  | NULL                                 | Word Processor module for openoffice.org          | NULL     |     NULL |   NULL |
| 71954 |           1 | NULL                  | openoffice.org-impress                                  | 2.3.0-6.7.fc8  | NULL                                 | Presentation module for openoffice.org            | NULL     |     NULL |   NULL |
| 71957 |           1 | NULL                  | openoffice.org-langpack-en                              | 2.3.0-6.7.fc8  | NULL                                 | English language pack for openoffice.org          | NULL     |     NULL |   NULL |
| 72254 |           1 | NULL                  | openoffice.org-graphicfilter                            | 2.3.0-6.7.fc8  | NULL                                 | Extra graphic filters for openoffice.org          | NULL     |     NULL |   NULL |
| 15567 |           2 | Microsoft Corporation | Microsoft Office Small Business Edition 2003            | 11.0.8173.0    | NULL                                 | NULL                                              | N/A      |        0 |      1 |
|  4233 |           4 | Microsoft Corporation | Microsoft Office 2000 Premium                           | 9.00.2720      | NULL                                 | NULL                                              | N/A      |        0 |      1 |
|  4403 |           5 | Microsoft Corporation | Microsoft Office Basic Edition 2003                     | 11.0.5614.0    | C:/Program Files/Microsoft Office/   | NULL                                              | N/A      |        0 |      1 |
|  4702 |           7 | OpenOffice.org        | OpenOffice.org 2.3                                      | 2.3.9238       | C:/Program Files/OpenOffice.org 2.3/ | OpenOffice.org 2.3 (en-US) (OOG680m9(Build:9238)) | N/A      |        0 |      1 |
|  5347 |          10 | Microsoft Corporation | Microsoft Office Basic Edition 2003                     | 11.0.5614.0    | C:/Program Files/Microsoft Office/   | NULL                                              | N/A      |        0 |      1 |
|  5542 |          11 | Microsoft Corporation | Microsoft Office PowerPoint Viewer 2003                 | 11.0.6458.0    | C:/Program Files/Microsoft Office/   | NULL                                              | N/A      |        0 |      1 |
|  5543 |          11 | Microsoft Corporation | Microsoft Office Basic Edition 2003                     | 11.0.5614.0    | C:/Program Files/Microsoft Office/   | NULL                                              | N/A      |        0 |      1 |
|  5544 |          11 | Microsoft Corporation | Microsoft Office Small Business Edition 2003            | 11.0.5614.0    | C:/Program Files/Microsoft Office/   | NULL                                              | N/A      |        0 |      1 |
| 72412 |          15 | NULL                  | koffice                                                 | 1.1.1-2.3      | NULL                                 | A set of office applications for KDE.             | NULL     |     NULL |   NULL |
| 73481 |          16 | NULL                  | koffice                                                 | 1.1.1-2        | NULL                                 | A set of office applications for KDE.             | NULL     |     NULL |   NULL |
| 74076 |          18 | NULL                  | openoffice-libs                                         | 1.0.2-8        | NULL                                 | OpenOffice.org shared libraries                   | NULL     |     NULL |   NULL |
| 74830 |          19 | NULL                  | openoffice-libs                                         | 1.0.2-8        | NULL                                 | OpenOffice.org shared libraries                   | NULL     |     NULL |   NULL |
| 15391 |          20 | Microsoft Corp        | Microsoft Office Sounds                                 | 1.0.0.0        | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 15423 |          20 | Microsoft Corporation | Microsoft Office Standard Edition 2003                  | 11.0.8173.0    | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 15424 |          20 | Microsoft Corporation | Microsoft Office Basic Edition 2003                     | 11.0.8173.0    | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 15425 |          20 | Microsoft Corporation | Microsoft Office Visio Standard 2003                    | 11.0.3216.5614 | C:/Program Files/Microsoft Office/   | NULL                                              | N/A      |        0 |      1 |
| 15427 |          20 | Microsoft Corporation | Time Zone Data Update Tool for Microsoft Office Outlook | 12.0.4518.1029 | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 67433 |          21 | Microsoft Corporation | Compatibility Pack for the 2007 Office system           | 12.0.6021.5000 | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 67435 |          21 | Microsoft Corporation | Microsoft Office Small Business Edition 2003            | 11.0.7969.0    | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 67657 |          22 | Microsoft Corp        | Microsoft Office Sounds                                 | 1.0.0.0        | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 67686 |          22 | Microsoft Corporation | Microsoft Office Visio Standard 2003                    | 11.0.7969.0    | NULL                                 | NULL                                              | N/A      |        0 |      1 |
| 67687 |          22 | Microsoft Corporation | Microsoft Office Small Business Edition 2003            | 11.0.7969.0    | NULL                                 | NULL                                              | N/A      |        0 |      1 |
+-------+-------------+-----------------------+---------------------------------------------------------+----------------+--------------------------------------+---------------------------------------------------+----------+----------+--------+
31 rows in set (0.04 sec)

Although some of the Linux software was imported, nothing seems to be tied to a computer, it doesn't appears as if any of the Windows software was imported and without it being imported it wouldn't be tied to a computer.

Thanks again for the help.

Offline

#23 2008-01-04 18:30:47

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

It looks like the software it did import is tied to one system.

Offline

#24 2008-01-04 18:33:50

erosay
Member
Registered: 2008-01-03
Posts: 17

Re: OCS Import

When manually synchronizing each computer, it seems to pull in the software sad

Offline

#25 2008-01-04 18:47:38

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: OCS Import

?
I will stop to help you. I request some informations but you did not send them.
Instead of that you post uneeded informations... And you always give no details when you say something...
It is impossible to understand you.

I request you to force the synchronization of computers 20 posts before and you do that just now...


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB