Odinstalovat

Download

Sources

https://github.com/pluginsGLPI/uninstall/releases

https://github.com/pluginsGLPI/uninstall

Requirements (on-premise)

GLPI Version

Minimum PHP

Recommended

10.0.x

8.1

8.2

Poznámka

This plugin is available without a GLPI-Network subscription. It is also available in Cloud

Funkce

This plugin, named „uninstall“ or „Item Uninstallation“, allows you to remove / replace devices from the inventory by automating certain actions on the fields.

Umožňuje spravovat různé fáze životního cyklu hardwaru. Byl navržen mimo jiné pro řešení následujících případů:

  • scrapping of equipment

  • odstranění dočasného zařízení z inventáře z důvodu poruchy

  • Replacement of equipment under a warranty for example (See: Replacement Equipment Feature)

Po instalaci zásuvný modul obsahuje:

  • a rights management directly accessible from Administration -> Profiles (in the Plugins tab -> uninstall),

  • a „hardware uninstall“ menu in „Configuration“,

  • an „uninstall“ menu in the user preferences.

Správa oprávnění

Je možné zakázat přístup k zásuvnému modulu nebo jej povolit zadáním možnosti čtení nebo zápisu na šablonách.

To do this, simply go to the menu „Administration“ > „Profiles“, to select the profile you wish to modify, then in the „Uninstallation“ tab set the following options :

  • No access: the plugin does not appear in the menu ‚Plugin‘.

  • Playback: only the use of previously created templates is possible

  • Writing: Template creation is possible.

  • Hardware replacement: standard hardware replacement is possible

Odinstalace funkce

Tato funkce zásuvného modulu „Odinstalace položky“ přidává možnost úpravy hodnoty určitých polí a odebrání počítače z inventáře OCS nebo čištění tabulek FusionInventory.

The uninstall templates can be accessed in the „Administration > Uninstall Hardware“ menu.

Můžete vytvořit libovolný počet odinstalačních šablon. Každá šablona může obsahovat různé funkce a být viditelná nebo neviditelná v podřízených entitách.

Uninstall equipment is a transfer of the equipment to itself. During its transfer, a certain number of actions are performed, as specified in the definition of transfer.

../_images/uninstall.png
  • Name: the name of the uninstall template

  • Sub-entities: indicates whether the template is visible in the creation entity and its sub-entities

  • Model type: indicates which type of model should be used (either Uninstall or Replace)

  • Comments: free fields to add details about the model

  • Transfer template to be used: Indicates the transfer template to be used when uninstalling the system.

  • New hardware status: indicates which status the hardware should take once uninstalled

  • New group: indicates the group to which the hardware can belong once uninstalled.

  • Software History Deletion : Allows deletion of all lines in a computer’s history that are relevant to software installations/uninstallations.

  • REMOVE Name : removes the name of the hardware during uninstallation

  • RAZ Contact : removes the contact reassembled by OCS during uninstallation

  • Network reset: resets the „network“ field of the equipment record to zero.

  • RAZ OS: Removes OS information (OS, Version, Service Pack, Product Key, Product ID) when uninstalling.

  • RAZ domain : removes the „domain“ field from the hardware

  • Remove IP & Gateway & Hacker & Subnet: removes network information (except for the MAC address, which is hardware-related) during uninstallation

  • Remove the machine from OCS : when uninstalling a computer in GLPI, remove from the OCS base the corresponding machine

  • Delete FusionInventory info: Delete all FusionInventory info for this material

../_images/model_uninstall.png

Odinstalace hardware

There are 2 possibilities to uninstall a hardware:

  • from its file, in the tab „Uninstallation“.

  • from the massive modifications list

Since a template can be recursive (visible in the sub-entities), the list of templates displayed in the massive actions indicates all the templates available in the current entity (either those defined in this entity, or in an entity above it and visible in the sub-entities).

Změna umístění při odinstalaci

It is possible to change the location of the hardware once it has been uninstalled. This selection is made either :

  • in the hardware file, once the uninstallation model has been chosen.

  • from the user’s preferences for uninstallation by massive modification

It should be noted that a location is declared within an entity. It is therefore possible, depending on the current entity, to define an uninstall location.

Vyměnit funkci

Tato funkce pluginu „Odinstalace položky“ přidává možnost nahradit jeden hardware jiným.

Náhradní vzorový formulář

Náhradní modely jsou spravovány stejným způsobem jako modely odinstalace: Jsou dostupné v nabídce „Správa> Odinstalovat hardware“. Každý model může obsahovat odlišné charakteristiky a být viditelný nebo neviditelný v podřízených entitách.

In this form there are 4 tabs :

  • Main: allows to display on the page only the main information of the template.

  • Replacing data: displays the various actions to be performed when replacing one piece of equipment with another.

  • All: displays all the tabs on the same page

../_images/replace_main.png

Here is the description of the fields of the main tab :

Name: the name of the replacement model Sub-entities: indicates whether the template is visible in the creation entity and its sub-entities Model type: indicates what type of model should be used (here we are talking about type - Replacement) Comments: free fields to add details about the model New hardware status: indicates which status the old hardware should take once it has been replaced

Výměna karty dat

../_images/replace_data.png

Here is the description of the fields of the actions tab.

General Information

  • Copy name: allows you to define if you want to copy the name of the old hardware to the new one.

  • Copy the serial number: Allows you to define if you wish to copy the serial number of the old equipment to the new one.

  • Copy the inventory number: allows you to define if you want to copy the inventory number of the old equipment to the new one.

  • Overwrite information (from the old material to the new one): this option allows you to choose the behavior to adopt if one of the unique information (Reservation, Financial Information, Name, Serial, Otherserial, Entity…) is present in the old material AND in the new material : Yes : by selecting YES, the information in the old material will replace that in the new material. No: by selecting NO, the information of the new hardware will NEVER be overwritten by the information of the old hardware.

Method of archiving old material

V této možnosti definujeme chování, které musí mít zásuvný modul Odinstalace v souvislosti se starým hardwarem:

  • Purge + PDF / CSV: if you have the PDF plugin the old hardware will be purged from the GLPI database and its information will be attached to the new hardware in a PDF document. If you do not have the PDF plugin, they will be stored in CSV format.

  • Deletion + Comments: the old hardware is put in the trash and a comment is added in each of the two hardware („This hardware has been replaced by…“ and „This hardware has replaced the hardware…“).

Data location - Connection with other hardware

  • Copy Documents: Allows you to attach documents from old equipment to new equipment.

  • Copy Contracts: allows you to attach the contracts from the old equipment to the new equipment.

  • Copy financial information: allows you to attach financial information from the old equipment to the new equipment. Warning: if the „Overwrite information“ option is activated, even if the new hardware has financial information, it will be replaced by the old hardware.

  • Copy Reservations: Allows you to attach the reservations made on the old equipment to the new equipment. Attention: same remark as for the financial information.

  • Copy the user: allows you to pass on the user of the old equipment to the new one. Caution: same remark as for the financial information.

  • Copy group: Allows you to assign the group of the old equipment to the new equipment. Caution: same remark as for the financial information.

  • Copy the tickets: Allows you to attach the tickets of the old equipment to the new equipment.

  • Copy network connections: Allows you to transfer the network connections from the old hardware to the new hardware.

  • Copy direct connections: Allows you to transfer the direct connections (Monitor, Printer, Device, Phone) from the old hardware to the new hardware.

Replace hardware

Kromě odinstalace zařízení lze zařízení vyměnit také dvěma způsoby:

  • from the card of this one, in the tab „Plugins -> Uninstallation“,

  • from the massive modification list.

Protože náhradní šablona může být rekurzivní ( viditelná v podřízených entitách ), seznam šablon zobrazených v masivních akcích označuje všechny šablony dostupné v aktuální entitě ( buď šablony definované v této entitě nebo v entitě nad ní a viditelné ) v podřízených entitách.

Once you have selected the hardware to be replaced via the massive actions, or you use the „Uninstall“ tab directly in it :

  • a summary of the selected template appears in order to show you the actions that will be performed by the plugin.

  • the list of the selected hardware(s) appears and you can choose the replacement hardware in the same way as when you choose a hardware in a Support Ticket.

../_images/recap.png

Change of location on replacement

It is possible to change the location of the equipment once it has been replaced. This selection is made either :

  • in the equipment sheet, once the replacement model has been chosen,

  • from the user’s preferences for massive modification replacement.

Uvědomte si, že umístění je deklarováno uvnitř entity. Je tedy možné v závislosti na aktuální entitě definovat umístění nahrazením.

FAQ

If you have any questions about using the plugin, please consult our FAQ

Creative Commons License