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 2011-11-29 12:03:08

gpasquier
Member
From: toulouse
Registered: 2006-02-24
Posts: 242

[resolu] Liaison Importation de nouveaux ordinateurs

Bonjour,
j'ai créer une réglé de liaison

glpiregle.jpg


Et lorsque j’essaie d'importé de nouveau ordinateur j'ai :
glpiresultatimport.jpg

J'ai essayé en mode debug et j’ai pas d'erreur.

Avez vous des pistes, c'est ma règle qui n'est pas bonne?

merci

Last edited by gpasquier (2011-12-12 16:58:19)


GLPI 0.80.5, OCS-NG 1.3.3 / Centos 5.6 / Apache 2.2.3-45 / PHP 5.1.6 / Mysql 5.0.77
FusionInventory 2.3.6 / Agent 2.1.9
Navigateurs : Internet Explorer 9 / firefox 4
test : GLPI 0.80.5

Offline

#2 2011-12-12 13:17:47

gpasquier
Member
From: toulouse
Registered: 2006-02-24
Posts: 242

Re: [resolu] Liaison Importation de nouveaux ordinateurs

J'ai installer glpi en test sur une base vierge.
En créant la même réglé d'import et option de OCSNG.
Sur le GLPI de test j'arrive a importer de nouveaux ordinateur.

Qu'est qui peut empêcher l'import de nouveau ordinateur sur mon serveur de production?
quel solution pour mon probleme?


GLPI 0.80.5, OCS-NG 1.3.3 / Centos 5.6 / Apache 2.2.3-45 / PHP 5.1.6 / Mysql 5.0.77
FusionInventory 2.3.6 / Agent 2.1.9
Navigateurs : Internet Explorer 9 / firefox 4
test : GLPI 0.80.5

Offline

#3 2011-12-12 16:48:47

gpasquier
Member
From: toulouse
Registered: 2006-02-24
Posts: 242

Re: [resolu] Liaison Importation de nouveaux ordinateurs

le résultat en mode debug.
En requête mysql il n'y a que des requêtes select, je ne devrait pas avoir des imports?

Statistiques de la liaison OCSNG : traitement terminé
Ordinateurs importés    0
Ordinateurs synchronisés    0
Ordinateurs liés    0
Ordinateurs non modifiés    0
Ordinateurs ne vérifiant aucune règle    22
Ordinateurs en doublon    0
Ordinateurs dont l'import est refusé par une règle    0

Retour
0.015s - 2869912    GLPI 0.80.5 Copyright (C) 2003-2011 by the INDEPNET Development Team.
GLPI MODE DEBUG
SQL REQUEST : 18 Queries took 0s
N°     Queries    Time    Errors
1    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'massocsimport')    0.000     
2    SELECT *
FROM `glpi_plugin_fusioninventory_profiles`
WHERE `profiles_id` = '4' AND `plugins_id`='95'    0.000     
3    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusioninventory')    0.000     
4    SELECT *
FROM `glpi_plugins`
WHERE `state`='1' AND `directory` LIKE 'fusinv%'    0.000     
5    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusioninventory')    0.000     
6    SELECT *
FROM `glpi_plugin_fusioninventory_profiles`
WHERE `profiles_id` = '4' AND `plugins_id`='97'    0.000     
7    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusinvinventory')    0.000     
8    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusinvsnmp')    0.000     
9    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusinvsnmp')    0.000     
10    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusioninventory')    0.000     
11    SELECT *
FROM `glpi_plugin_fusioninventory_profiles`
WHERE `profiles_id` = '4' AND `plugins_id`='96'    0.000     
12    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusinvinventory')    0.000     
13    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'fusinvsnmp')    0.000     
14    SELECT *
FROM `glpi_ocsservers`
WHERE `id` = '1' AND `is_active`='1'    0.000     
15    SELECT `TVALUE`
FROM `config`
WHERE `NAME` = 'GUI_VERSION'    0.000     
16    SELECT *
FROM `glpi_ocsservers`
WHERE `id` = '1'    0.000     
17    SELECT *
FROM `glpi_plugins`
WHERE (`directory` = 'racks')    0.000     
18    SELECT *
FROM `deleted_equiv`
ORDER BY `DATE`    0.000     
AUTOLOAD

PluginFusioninventoryModule, PluginFusioninventoryProfile, CommonDropdown, PluginFusioninventoryCredential, PluginFusioninventoryStaticmisc, PluginFusinvinventoryStaticmisc, PluginFusinvsnmpStaticmisc, PluginFusioninventoryConfiguration, Bookmark, OcsServer, Search, PluginManufacturersimportsModel, Computer, Monitor, NetworkEquipment, Peripheral, Printer
POST VARIABLE
GET VARIABLE
KEY    =>    VALUE
check    =>    all
start    =>    0
SESSION VARIABLE
KEY    =>    VALUE
glpi_plugins    =>    
KEY    =>    VALUE
89    =>    massocsimport
77    =>    addressing
102    =>    additionalalerts
95    =>    fusioninventory
101    =>    manufacturersimports
90    =>    pdf
97    =>    fusinvsnmp
96    =>    fusinvinventory
100    =>    shellcommands
81    =>    archires
glpicookietest    =>    testcookie
glpi_use_mode    =>    2
glpiID    =>    6
glpiname    =>    GPASQUIER
glpirealname    =>    PASQUIER
glpifirstname    =>    Gerard
glpidefault_entity    =>    0
glpiusers_idisation    =>    1
glpiextauth    =>    1
glpiauthtype    =>    3
glpiroot    =>    /glpi
glpicrontimer    =>    1323700723
glpi_tabs    =>    
KEY    =>    VALUE
central    =>    1
ruleimportcomputer    =>    1
ruleimportcomputercollection    =>    0
ocsserver    =>    -1
pluginmassocsimportconfig    =>    1
rulemailcollector    =>    1
rulemailcollectorcollection    =>    0
ruleocs    =>    1
ruleocscollection    =>    0
pluginfusinvinventoryruleentity    =>    1
pluginfusinvinventoryruleentitycollection    =>    0
preference    =>    1
glpicsv_delimiter    =>    ;
glpidate_format    =>    1
glpidefault_requesttypes_id    =>    1
glpidropdown_chars_limit    =>    100
glpifollowup_private    =>    0
glpiis_categorized_soft_expanded    =>    1
glpiis_ids_visible    =>    0
glpiis_not_categorized_soft_expanded    =>    1
glpilanguage    =>    fr_FR
glpilist_limit    =>    100
glpinames_format    =>    0
glpinumber_format    =>    0
glpipriority_1    =>    #fff2f2
glpipriority_2    =>    #ffe0e0
glpipriority_3    =>    #ffcece
glpipriority_4    =>    #ffbfbf
glpipriority_5    =>    #ffadad
glpipriority_6    =>    #ff5555
glpishow_jobs_at_login    =>    1
glpitask_private    =>    0
glpiuse_flat_dropdowntree    =>    0
glpiprofiles    =>    
KEY    =>    VALUE
1    =>    
KEY    =>    VALUE
name    =>    post-only
entities    =>    
KEY    =>    VALUE
0    =>    
KEY    =>    VALUE
id    =>    0
name    =>    
is_recursive    =>    0
4    =>    
KEY    =>    VALUE
name    =>    super-admin
entities    =>    
KEY    =>    VALUE
0    =>    
KEY    =>    VALUE
id    =>    0
name    =>    
is_recursive    =>    1
glpiactiveprofile    =>    
KEY    =>    VALUE
id    =>    4
name    =>    super-admin
interface    =>    central
is_default    =>    0
computer    =>    w
monitor    =>    w
software    =>    w
networking    =>    w
printer    =>    w
peripheral    =>    w
cartridge    =>    w
consumable    =>    w
phone    =>    w
notes    =>    w
contact_enterprise    =>    w
document    =>    w
contract    =>    w
infocom    =>    w
knowbase    =>    w
faq    =>    w
reservation_helpdesk    =>    1
reservation_central    =>    w
reports    =>    r
ocsng    =>    w
view_ocsng    =>    r
sync_ocsng    =>    w
dropdown    =>    w
entity_dropdown    =>    w
device    =>    w
typedoc    =>    w
link    =>    w
config    =>    w
rule_ticket    =>    r
entity_rule_ticket    =>    w
rule_ocs    =>    w
rule_ldap    =>    w
rule_softwarecategories    =>    w
search_config    =>    w
search_config_global    =>    w
check_update    =>    r
profile    =>    w
user    =>    w
user_authtype    =>    w
group    =>    w
entity    =>    w
transfer    =>    w
logs    =>    r
reminder_public    =>    w
bookmark_public    =>    w
backup    =>    w
create_ticket    =>    1
delete_ticket    =>    1
add_followups    =>    1
group_add_followups    =>    1
global_add_followups    =>    1
global_add_tasks    =>    1
update_ticket    =>    1
update_priority    =>    1
own_ticket    =>    1
steal_ticket    =>    1
assign_ticket    =>    1
show_all_ticket    =>    1
show_assign_ticket    =>    1
show_full_ticket    =>    1
observe_ticket    =>    1
update_followups    =>    1
update_tasks    =>    1
show_planning    =>    1
show_group_planning    =>    1
show_all_planning    =>    1
statistic    =>    1
password_update    =>    1
helpdesk_hardware    =>    3
helpdesk_item_type    =>    
KEY    =>    VALUE
0    =>    Computer
1    =>    Software
2    =>    Phone
helpdesk_status    =>    
show_group_ticket    =>    
show_group_hardware    =>    
rule_dictionnary_software    =>    w
rule_dictionnary_dropdown    =>    w
budget    =>    w
import_externalauth_users    =>    w
notification    =>    w
rule_mailcollector    =>    w
date_mod    =>    
comment    =>    
validate_ticket    =>    1
create_validation    =>    1
calendar    =>    w
sla    =>    w
rule_dictionnary_printer    =>    w
clean_ocsng    =>    w
update_own_followups    =>    1
delete_followups    =>    1
entity_helpdesk    =>    w
entities    =>    
KEY    =>    VALUE
0    =>    
KEY    =>    VALUE
id    =>    0
name    =>    
is_recursive    =>    1
glpiactiveentities    =>    
KEY    =>    VALUE
0    =>    0
glpisearch    =>    
KEY    =>    VALUE
OcsServer    =>    
KEY    =>    VALUE
start    =>    0
order    =>    ASC
is_deleted    =>    0
distinct    =>    N
link    =>    
field    =>    
KEY    =>    VALUE
0    =>    view
contains    =>    
KEY    =>    VALUE
0    =>    
searchtype    =>    
KEY    =>    VALUE
0    =>    contains
link2    =>    
field2    =>    
KEY    =>    VALUE
0    =>    view
contains2    =>    
KEY    =>    VALUE
0    =>    
itemtype2    =>    
searchtype2    =>    
sort    =>    1
PluginAddressingAddressing    =>    
KEY    =>    VALUE
start    =>    0
order    =>    ASC
is_deleted    =>    0
distinct    =>    N
link    =>    
field    =>    
KEY    =>    VALUE
0    =>    view
contains    =>    
KEY    =>    VALUE
0    =>    
searchtype    =>    
KEY    =>    VALUE
0    =>    contains
link2    =>    
field2    =>    
KEY    =>    VALUE
0    =>    view
contains2    =>    
KEY    =>    VALUE
0    =>    
itemtype2    =>    
searchtype2    =>    
sort    =>    1
Computer    =>    
KEY    =>    VALUE
start    =>    0
order    =>    ASC
is_deleted    =>    0
distinct    =>    N
link    =>    
field    =>    
KEY    =>    VALUE
0    =>    view
contains    =>    
KEY    =>    VALUE
0    =>    
searchtype    =>    
KEY    =>    VALUE
0    =>    contains
link2    =>    
field2    =>    
KEY    =>    VALUE
0    =>    view
contains2    =>    
KEY    =>    VALUE
0    =>    
itemtype2    =>    
searchtype2    =>    
sort    =>    1
itemtype    =>    Computer
glpisearchcount    =>    
KEY    =>    VALUE
OcsServer    =>    1
PluginAddressingAddressing    =>    1
Computer    =>    1
glpisearchcount2    =>    
KEY    =>    VALUE
OcsServer    =>    0
PluginAddressingAddressing    =>    0
Computer    =>    0
glpiactiveentities_string    =>    '0'
glpiparententities    =>    
glpiparententities_string    =>    
glpiactive_entity    =>    0
glpiactive_entity_name    =>    Entité racine (arborescence)
glpiactive_entity_shortname    =>    Entité racine (arborescence)
glpishowallentities    =>    1
glpigroups    =>    
KEY    =>    VALUE
0    =>    1
glpi_plugin_addressing_profile    =>    
KEY    =>    VALUE
id    =>    4
addressing    =>    w
profiles_id    =>    4
use_ping_in_equipment    =>    
glpi_plugin_pdf_profile    =>    
KEY    =>    VALUE
id    =>    4
profile    =>    
use    =>    1
glpi_plugin_manufacturersimports_profile    =>    
KEY    =>    VALUE
id    =>    1
profiles_id    =>    4
manufacturersimports    =>    w
glpi_plugin_additionalalerts_profile    =>    
KEY    =>    VALUE
id    =>    4
additionalalerts    =>    w
profiles_id    =>    4
glpi_currenttime    =>    2011-12-12 15:43:27
plugin_fusioninventory_moduleid    =>    95
glpi_plugin_fusioninventory    =>    
KEY    =>    VALUE
xmltags    =>    
KEY    =>    VALUE
WAKEONLAN    =>    
INVENTORY    =>    PluginFusinvinventoryInventory
SNMPQUERY    =>    PluginFusinvsnmpCommunicationSNMPQuery
NETDISCOVERY    =>    PluginFusinvsnmpCommunicationNetDiscovery
configuration    =>    
KEY    =>    VALUE
moduletabforms    =>    
KEY    =>    VALUE
fusinvinventory    =>    
KEY    =>    VALUE
FusionInventory INVENTORY    =>    
KEY    =>    VALUE
class    =>    PluginFusinvinventoryConfig
submitbutton    =>    plugin_fusinvinventory_config_set
submitmethod    =>    putForm
fusinvsnmp    =>    
KEY    =>    VALUE
FusionInventory SNMP    =>    
KEY    =>    VALUE
class    =>    PluginFusinvSNMPConfig
submitbutton    =>    plugin_fusinvsnmp_config_set
submitmethod    =>    putForm
moduletabs    =>    
KEY    =>    VALUE
3    =>    FusionInventory INVENTORY
4    =>    FusionInventory SNMP
glpi_plugin_fusioninventory_profile    =>    
KEY    =>    VALUE
agent    =>    w
remotecontrol    =>    w
configuration    =>    w
wol    =>    w
unknowndevice    =>    w
task    =>    w
iprange    =>    w
credential    =>    w
credentialip    =>    w
plugin_fusinvinventory_moduleid    =>    96
glpi_plugin_fusinvinventory_profile    =>    
KEY    =>    VALUE
existantrule    =>    w
importxml    =>    w
blacklist    =>    w
plugin_fusinvsnmp_moduleid    =>    97
glpi_plugin_fusinvsnmp_profile    =>    
KEY    =>    VALUE
configuration    =>    w
configsecurity    =>    w
networkequipment    =>    w
printer    =>    w
model    =>    w
reportprinter    =>    w
reportnetworkequipment    =>    w
MESSAGE_AFTER_REDIRECT    =>    
glpi_multientitiesmode    =>    0
glpilisttitle    =>    
KEY    =>    VALUE
RuleImportComputer    =>    Liste
OcsServer    =>    Liste
PluginAddressingAddressing    =>    Liste
RuleMailCollector    =>    Liste
RuleOcs    =>    Liste
Computer    =>    Liste
KnowbaseItem    =>    Liste
PluginFusinvinventoryRuleEntity    =>    Liste
glpilistitems    =>    
KEY    =>    VALUE
RuleImportComputer    =>    
KEY    =>    VALUE
0    =>    60
1    =>    59
OcsServer    =>    
KEY    =>    VALUE
0    =>    1
PluginAddressingAddressing    =>    
KEY    =>    VALUE
0    =>    5
1    =>    4
2    =>    2
3    =>    3
4    =>    1
RuleMailCollector    =>    
KEY    =>    VALUE
0    =>    33
1    =>    34
2    =>    32
RuleOcs    =>    
KEY    =>    VALUE
0    =>    50
1    =>    51
2    =>    52
3    =>    53
4    =>    54
5    =>    55
6    =>    56
Computer    =>    
KEY    =>    VALUE
0    =>    145
1    =>    232
2    =>    383
3    =>    250
4    =>    27
5    =>    382
6    =>    368
7    =>    118
8    =>    347
9    =>    190
10    =>    25
11    =>    381
12    =>    167
13    =>    73
14    =>    43
15    =>    249
16    =>    248
17    =>    379
18    =>    24
19    =>    247
20    =>    30
21    =>    119
22    =>    72
23    =>    61
24    =>    106
25    =>    102
26    =>    99
27    =>    98
28    =>    331
29    =>    121
30    =>    245
31    =>    22
32    =>    244
33    =>    76
34    =>    243
35    =>    83
36    =>    90
37    =>    146
38    =>    104
39    =>    112
40    =>    88
41    =>    153
42    =>    23
43    =>    238
44    =>    33
45    =>    152
46    =>    156
47    =>    53
48    =>    330
49    =>    140
50    =>    169
51    =>    237
52    =>    179
53    =>    236
54    =>    176
55    =>    127
56    =>    92
57    =>    182
58    =>    183
59    =>    129
60    =>    161
61    =>    184
62    =>    133
63    =>    39
64    =>    165
65    =>    329
66    =>    139
67    =>    193
68    =>    65
69    =>    75
70    =>    105
71    =>    196
72    =>    41
73    =>    198
74    =>    199
75    =>    120
76    =>    125
77    =>    207
78    =>    208
79    =>    209
80    =>    64
81    =>    80
82    =>    74
83    =>    211
84    =>    45
85    =>    215
86    =>    214
87    =>    217
88    =>    227
89    =>    134
90    =>    163
91    =>    142
92    =>    328
93    =>    147
94    =>    222
95    =>    221
96    =>    220
97    =>    219
98    =>    313
99    =>    312
KnowbaseItem    =>    
KEY    =>    VALUE
0    =>    76
1    =>    65
2    =>    108
3    =>    57
4    =>    99
5    =>    90
6    =>    87
7    =>    94
8    =>    88
9    =>    82
10    =>    103
11    =>    104
12    =>    83
13    =>    95
14    =>    68
15    =>    100
16    =>    67
17    =>    102
18    =>    97
PluginFusinvinventoryRuleEntity    =>    
KEY    =>    VALUE
0    =>    62
1    =>    58
glpilisturl    =>    
KEY    =>    VALUE
RuleImportComputer    =>    http://vitinfo/glpi/front/ruleimportcomputer.php
OcsServer    =>    /glpi/front/ocsserver.php
PluginAddressingAddressing    =>    /glpi/plugins/addressing/front/addressing.php
RuleMailCollector    =>    http://vitinfo/glpi/front/rulemailcollector.php
RuleOcs    =>    http://vitinfo/glpi/front/ruleocs.php
Computer    =>    /glpi/front/computer.php?is_deleted=0&field%5B0%5D=view&searchtype%5B0%5D=contains&contains%5B0%5D=&itemtype=Computer&start=0
KnowbaseItem    =>    /glpi/front/knowbaseitem.php
PluginFusinvinventoryRuleEntity    =>    http://vitinfo/glpi/plugins/fusinvinventory/front/ruleentity.php
ocsservers_id    =>    1
change_import_mode    =>    
ocs_import_count    =>    22
glpimassiveactionselected    =>    
glpicronuserrunning    =>    
glpipopup    =>    
KEY    =>    VALUE
name    =>    test_all_rules
glpi_plugin_shellcommands_profile    =>    
KEY    =>    VALUE
id    =>    1
profiles_id    =>    4
shellcommands    =>    w
glpi_plugin_archires_profile    =>    
KEY    =>    VALUE
id    =>    1

GLPI 0.80.5, OCS-NG 1.3.3 / Centos 5.6 / Apache 2.2.3-45 / PHP 5.1.6 / Mysql 5.0.77
FusionInventory 2.3.6 / Agent 2.1.9
Navigateurs : Internet Explorer 9 / firefox 4
test : GLPI 0.80.5

Offline

#4 2011-12-12 16:57:48

gpasquier
Member
From: toulouse
Registered: 2006-02-24
Posts: 242

Re: [resolu] Liaison Importation de nouveaux ordinateurs

J'ai résolu mon probleme.

J'avais un probleme de règle dans
Règles d'affectation d'un ordinateur à une entité.
J'avais une réglé qui mettait l'ordinateur dans un site mais pas dans une entité


GLPI 0.80.5, OCS-NG 1.3.3 / Centos 5.6 / Apache 2.2.3-45 / PHP 5.1.6 / Mysql 5.0.77
FusionInventory 2.3.6 / Agent 2.1.9
Navigateurs : Internet Explorer 9 / firefox 4
test : GLPI 0.80.5

Offline

Board footer

Powered by FluxBB