[itsm] how to clear CMDB ?

Loic Baron loic.baron at cnrs-dir.fr
Wed Aug 3 08:04:58 GMT 2011


Thank you it worked very well !

Le 02/08/2011 11:36, Marco Vannini a écrit :
> [root@/opt/otrs/bin]# ./otrs.ITSMConfigItemDelete.pl 
> <http://otrs.ITSMConfigItemDelete.pl>
> otrs.ITSMConfigItemDelete.pl <http://otrs.ITSMConfigItemDelete.pl> 
> <Revision 1.1> - delete config items (all, by class or by number).
> Copyright (C) 2001-2010 OTRS AG, http://otrs.org/
> Usage: ./otrs.ITSMConfigItemDelete.pl 
> <http://otrs.ITSMConfigItemDelete.pl> [options]
>   Options are as follows:
>   --help                             display this option help
>   --all                              delete all config items
>   --class name                       delete all config items of this class
>   --ConfigItemNumber no1 no2 no3     delete listed config items
>
> HTH
>
>
> On Tue, Aug 2, 2011 at 10:32 AM, Loic Baron <loic.baron at cnrs-dir.fr 
> <mailto:loic.baron at cnrs-dir.fr>> wrote:
>
>     Hello,
>
>     i'd like to know how to clear the CMDB from all the computers that
>     i have imported during a test.
>
>     All these tables are related to configitems
>
>       * Afficher configitem
>       * Afficher configitem_counter
>       * Afficher configitem_definition
>       * Afficher configitem_history
>       * Afficher configitem_history_type
>       * Afficher configitem_version
>
>     I think *configitem_history_type* is needed by default.
>
>     But can i delete the others ?
>
>     Thanks for your help
>     -- 
>     BARON Loïc (01 44 96 49 46 <tel:%2801%2044%2096%2049%2046>)
>     loic.baron at cnrs-dir.fr <mailto:loic.baron at cnrs-dir.fr>
>     CNRS - Délégation Paris Michel Ange
>     SSI (Service des Systèmes d'Information)
>
>     ---------------------------------------------------------------------
>     OTRS mailing list: itsm - Webpage: http://otrs.org/
>     Archive: http://lists.otrs.org/pipermail/itsm
>     To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
>
>
>
>
> ---------------------------------------------------------------------
> OTRS mailing list: itsm - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/itsm
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm

-- 
BARON Loïc (01 44 96 49 46)
loic.baron at cnrs-dir.fr <mailto:loic.baron at cnrs-dir.fr>
CNRS - Délégation Paris Michel Ange
SSI (Service des Systèmes d'Information)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.otrs.org/pipermail/itsm/attachments/20110803/d880ab9c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 197 bytes
Desc: not available
URL: <http://lists.otrs.org/pipermail/itsm/attachments/20110803/d880ab9c/attachment-0001.png>


More information about the itsm mailing list