OTRS CMDB - How to update and don't create new CI ?

Moderator: crythias

Post Reply
catharn
Znuny newbie
Posts: 32
Joined: 05 Feb 2015, 13:19
Znuny Version: 4.0.x

OTRS CMDB - How to update and don't create new CI ?

Post by catharn »

Dear everybody,

I explain the situation :
I configure and install OTRS CMDB, and manage to import data from OCS-Inventory. So for the moment, i have more or less 300 computers in this CMDB.

I heard that doing such import, we can loose the control of the database. Therefore, when a new computer is configured, the agent add it in the cmdb, with only the name of it. Then, the import script is there to update the field.

But what I want to do, is when I run this import script to update the field, I don't want a new CI created. Is there a way to avoid creating new CI after first fill in ? (Like a read only flag ?)

I understand my request is not so easy to understand, so don't hesitate to ask if you didn't understand, i'll try to explain more clearly.

Thanks a lot
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: OTRS CMDB - How to update and don't create new CI ?

Post by BIG_jan »

hey,
you mut define a key-value in the import.
That is checked and the found ci will be updated.
if nothing is found an new CI will be created.

fqdn, mac, are good key-fields
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
Post Reply