Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Open source asset management software-GLPI (9.13) operation manual

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Brief introduction

two。 Set up

2.1. Configure IP

2.2. Close selinux

2.3. Configure the LAMP environment

2.3.1. Configure the yum source:

2.3.2 install php

2.2.3. Install lamp (except php)

2.2.4. Configure mysql

2.2.5. Install GLPI

2.2.6 upgrade GLPI

3. Interface introduction

3.1 assets

3.1.1 add assets

3.1.2 computer

3.1.3 display

3.1.4 Software

3.1.5 Network Devic

3.1.6 equipment

3.1.7 Printer

3.1.8 Printer ammunition

3.1.9 consumables

3.2.10 phone number

3.2.11 all

3.2.12 Asset interface configuration

3.2. Assistance (work order system)

3.2.1 create a work order

3.2.2 work order attributes

3.2.3 question

3.2.4 Chan

3.2.5 being planned

3.2.6 Statistics

3.2.7 revolving work order

3.3 Management

3.3.1 license

3.3.2 Budget

3.3.3 supplier

3.3.4 contact

3.3.5 contract

3.3.6 documentation

3.4 tools

3.4.1 Projects

3.4.2 reminder

3.4.3 subscribe to RSS

3.4.4 knowledge base

3.4.5 booking

3.4.6 report

3.5 Management

3.5.1 user

3.5.2 Group

3.5.3 entity

3.5.4 rules

3.5.5 Dictionary

3.5.6 profile

3.5.7 Mail queue

3.5.8 maintenance

3.5.9 Log

3.6 Settin

3.6.1 drop-down list

3.6.2 components

3.6.3 Notification

3.6.4 SLA

3.6.5 General

3.6.6 check

3.6.7 scheduled tasks

3.6.8 Authentication

3.6.9 recipient

3.6.10 external links

3.6.11 plug-in

4. Summary

5. assets management

5.1 batch import of assets

5.1.1 Navicat lite

5.1.2 phpmyadmin

5.2 Import domain account

5.2.1 set up the LDAP directory

5.2.2 batch import of group and user information in OU

6. Common tools, plug-ins

6.1 Fusioninventory

6.1.1 install Fusioninventory server

6.1.2 install the Fusioninventory client

6.1.3 Fusioninventory configuration interface

6.1.4 General General

6.1.5 Tasks tasks

6.1.6 Rules rules

6.1.7 Networking network

6.1.8 Deploy deployment

6.1.9 Guide help

6.2 File Injection

6.3 IP Adressing

7. Conclusion 1. Brief introduction

GLPI, which stands for French Gestionnaire libre de parc informatique, is an asset management software with a long history.

GLPI provides a full-featured IT resource management interface that can be used to set up a database for overall management of IT computers, monitors, servers, printers, network equipment, telephones, and even toner cartridges and ink cartridges. Provide Helpdesk user support platform; contact, contract, partner, and document management; provide resource reservation, knowledge base management and other functions. "

Accidentally come into contact with GLPI in daily work, through installation and deployment, configuration of LDAP,Fusioninventory,OCS Inventory NG, batch import of research data, etc. Constantly query information from the network, found that GLPI is easy to use and powerful.

When we use a piece of software or a work, it is actually a process of dialogue with the author and the designer, to understand the work as comprehensively as possible, and to understand why he designed it this way. What is the purpose of this design? Then gather your own real environment to make better use of it.

For this unpopular and powerful IT resource management open source software, I suddenly want to do something for her and write every point as much as I can and know, so I cut off this GLPI Quick start book. Have a little chat with you.

In short, thank you very much for opening this book. This should be the first book in the world that begins to introduce the functions of GLPI in China. I hope it is not the last one. I also hope it can help you in IT resource management.

All right, go to the code and diagram.

two。 Set up

Build the environment:

Centos 6.5+apache+php5.6+mysql

GLPI version: 9.1.3

2.1. Configure IP

First of all, make sure that the server can connect to the Internet and configure a fixed IP address.

Vim / etc/sysconfig/network-scripts/ifcfg-eth0

I (edit): wq (save exit)

2.2. Close selinux`vi / etc/selinux/ config`i` (edit)

Change to disabled

`: wq` (save exit)

2.3. Configure LAMP environment 2.3.1. Configure YumSource: # `rpm-Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm`# rpm-Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

If it's centos7, just change 6 to 7.

2.3.2 install phpyum-y install php-imap

Yum-y install php-ldap

Yum-y install php-gd

Yum install-- enablerepo=remi--enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpuni-PHPUnit php-pecl-xdebug php-pecl-xhprof

Enter Y and press enter

Enter Y and press enter

2.2.3. Install lamp (except php) yum-y install gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel mysql mysql-server httpd

. Pour a glass of water and install 86 packages.

2.2.4. Configure mysql

Service mysqld start / / start mysql

Mysql / / enter mysql

Use mysql; update user set password=PASSWORD ("PASSWORD") where user= "root"

Create database glpi; / / create glpi

\ Q / / exit

Chkconfig-- levels 235 mysqld on / / set mysql boot

2.2.5. Install GLPI curl-O-L https://github.com/glpi-project/glpi/releases/download/9.1.3/glpi-9.1.3.tgz tar-zxvf glpi-9.1.3.tgz-C / var/www/html chown-R apache:apache / var/www/html chkconfig-- level 2345 httpd on / / set apache boot

Restart the apache service:

Service httpd restart

Enter ip address / glpi in the browser

Agree to permit

Install GLPI

Compatible environment detection

Connect to the database

Select glpi

Initialize the database

Installation completed

Log in to the interface and enter the account password

Enter the control interface

Delete installation files

Rm / var/www/html/glpo/install/install.php

Double-click the icon to change the administrator password

Congratulations, the GLPI has been built so far.

But this is just the beginning.

2.2.6 upgrade GLPI

Mv / var/www/html/glpi / var/www/html/glpi1 / / rename glpi first to avoid upgrade errors

Curl-O-L https://github.com/glpi-project/glpi/releases/download/9.1.3/glpi-9.1.3.tgztar-zxvf glpi-9.1.3.tgz-C / var/www/htmlchown-R apache:apache / var/www/html

Enter ip address / glpi in the browser

I have read the terms of the above license

Upgrade

GLPI environment compatibility testing, continue

Database connection Settings

Connect to the previous glpi database

Database connection confirmation

Ok, upgrade complete

Finally, after using it for a period of time, if there is no problem, you can consider deleting or backing up the original glpi1..

Rm-rf glpi1 / / Delete glpi1

3. Interface introduction 3.1 assets

Asset classification: computers, monitors, software, network equipment, equipment, printers, printer ammunition, consumables, telephones, all

3.1.1 add assets

1. Add assets

two。 The asset field is fixed. If you want to modify it, you can only go to the backstage to change the code.

3. Search for assets

4. Add an asset template

5. Select add template

6. Enter the template name test. You can use the + sign to add custom attributes in the field.

7. When you add an asset at a point, you can select the template you set up

3.1.2 computer

After you add an asset, various attributes appear on the left side of the asset.

Displays all the information for this field

+: directly added attribute fields: location, hardware group, group, domain, update source, status, type, manufacturer, model, network. It can also be modified in the drop-down list (3.6.1).

We can crawl hardware by adding asset management plug-ins or tools, software parameters: Operating System, components, disk volumes, software, connections, network ports

1. Computer

Operationg System, operating system information.

Components, computer hardware information.

2.1 add components and manually add hardware information.

3. Disk volumes, asset disk information.

4. Add a disk volume to mount a new disk.

5. A list of all software information installed by the software and assets.

6. To connect, you can choose which devices to connect. Monitor, external network card, etc.

7. Network port

As you can see, the above is the asset hardware and software parameters captured through the GLPI plug-in Fusioninventory. In the fifth chapter, there will be a detailed introduction of Fusioninventory.

8. Management: enabling financial and management information

8.1 after being enabled, you can add supplier, budget, invoice, net worth, financial inventory, warranty and other information and set an email alarm when the warranty period expires.

9. A contract can be added to that contract.

10. Documents, you can add document information

11. Virtual machines, adding virtual machine information

11.1 add a virtual machine

12.Antiviruses, add antivirus software

12.1 add information interface for antivirus software

13. A work order, which can be generated for this asset

13.1 create a new work order interface for this project.

14.Notes, you can add comment information

15. Subscription, this feature can be used to create the borrowing time of the device. Booking information for all assets will be summarized in the booking (3.4.5)

16. History, you can view the history of the asset.

17. All, load all the above information about the asset

3.1.3 display

Compared with the computer, there are some more display hardware parameter fields, such as size, microphone, speaker, Sub-D, BNC, DVI, Pivot, HDMI, DispalyPort.

This type of display is a bonus for Fusioninventory to grab computer information; the display has a HDMI interface, but the captured data is not marked and needs to be manually modified to "Yes".

3.1.4 Software

1. Software list, all the software information crawled on the computer.

two。 Select the Adobe Flash Player interface and display the following information. The labels in the left column have more versions, licenses, and installations than computers.

Version 2.1, you can add other versions

3 license, which can add authorization information for the software

3.1 license, add software license information interface

3.2 installation, showing all assets on which this software is installed

3.1.5 Network Devic

1. Compared with computers, network devices have more firmware and memory field information. There are more network ports and network names in the left column.

two。 Network port, you can add network device network card information.

3. Add a network port

4. Network name

3.1.6 equipment

The device has one more connection than the network device. It is suitable for playing projectors, players, televisions, speakers and other non-computer equipment.

3.1.7 Printer

Printer, which has more labels for managing consumables such as selenium drums and ink cartridges than other asset attributes-printer ammunition

3.1.8 Printer ammunition

Ah, it is obviously printer consumables, but it has been transformed into printer ammunition..

Printer consumables: ribbon, ink cartridge, ink, toner, toner, printing paper, carbon paper, copy paper, etc.

1. Add printer ammunition, add printer consumables model information

two。 Printer ammunition interface

2.1 add printer ammunition financial and nuclear management information

2.2 turn on financial audit management information and conduct financial information statistics on consumables

3. Printer model, adding printer assets entered into the printer (3.1.7)

4. After adding printer ammunition, you can install printer ammunition information in the printer (3.1.7).

3.1.9 consumables

First of all, let's clarify the definition of consumables. Everything used on a computer, except for the computer itself (including mainframe, keyboard, mouse, monitor) and U disk, removable hard disk, printer, scanner, digital camera, camera, speaker, headset and other output and input devices, belongs to the category of computer consumables.

1. Computer consumables include: floppy disk, CD, mouse pad, radiation screen, power box, socket, power cord, data cable, network cable and so on.

two。 Assign consumables to the specified user

3.2.10 phone number

Compared with the computer, there are more headphones, speakers and firmware.

3.2.11 all

Display all asset information of computers, monitors, software, network equipment, equipment, printers, printer ammunition, consumables and telephones

3.2.12 Asset interface configuration

1. The number of assets can be displayed, up to 99999999

two。 Configure the default project and adjust the asset characteristics shown in the asset interface

3. Display trash can, click on the left slider will turn red, showing the deletion of assets.

4. Export assets

4.1Note: you can choose CSV export, and then use excel data to break down the function.

Export other formats, Chinese will appear garbled.

4.2 Separator Select other ";" sign

4.3 complete.

3.2. Assistance (work order system)

The assistance function is the work order system of GLPI.

Work orders categorized create ticket, issues, changes, planned, statistics, recurring work orders

3.2.1 create a work order

1. Click "+" or Create ticket to create a work order

two。 In the new work order, the fault may be associated with the production work order assets.

3. Establish a work order and assign it to the operator and request the person Wei Shen

4. Wei Shen's work single interface

5. Work orders created can be assigned to users, groups, and suppliers

3.2.2 work order attributes

Work order attribute classification:

1.Processsing ticket: processing record tracking interface

two。 Statistics: view work order time dimension

3. Approval function: can authorize the approver to approve the function

4. Project: batch packaging problem assets; perform unified modification of asset attributes and work order unification

4.1 under asset attributes, uniformly generate work orders.

5. Cost: the time, fixed, material cost of the work order.

3.2.3 question

After you create a new question, you can add the work order you created earlier

The created questions can also be added to the work order.

So we can count how many case have occurred in the same problem, which problems are contained in a case.

3.2.4 Chan

1. Change: streamlined project management of work orders and issues

Let's talk a little bit bigger here. In an enterprise, the company vision can often be divided into several project sets, the project set can be divided into projects, and the project can be divided into a Case involving resources, costs and manpower, so as to better serve the company's vision.

He looked up at the sky, and then we continued to step on the ground..

Change: you can mark the current stage by modifying the status of the work order.

3. Analysis, planning: impact on work orders and control list, deployment plan, backup plan, checklist. Make a textual description

4. Solution: you can write and search for solutions to the problem. And can be saved to the knowledge base.

5.Projects: add the selected work order to the project (tool-Projects) to create

6. Documentation: adding technical documentation

7.Notes: taking notes

3.2.5 being planned

A simple calendar system

3.2.6 Statistics

Statistics, 2D data icon

Classification of work orders: all, work orders, hardware features, hardware

Problem classification: all, questions

Change the category: all, bychange

3.2.7 revolving work order

Cycle the work order, set the trigger time, and generate the work order automatically. It is generally used in regular inspection tasks.

Create a circular work interface

Automatically generated work order, title and content cannot be defined

3.3 Management

Manage categories, licenses, budgets, suppliers, contacts, contracts, documents. The company's treasurer will be more involved in this functional section.

3.3.1 license

1. License, registering genuine software information

two。 Software information can be crawled through fusioninventory

3.3.2 Budget

1. Budget, new department budget.

two。 In asset attributes, add budget

A list of all assets added to the budget can be seen in the project.

3.3.3 supplier

1. Supplier, enter supplier information

1.1. In the asset properties (3.1.2), select the supplier information.

two。 Contacts, contact information can be added to the supplier (3.3.4)

3. Contract, you can add the corresponding contract (3.3.5)

3.3.4 contact

1. Contact person, enter into the company's business stakeholders.

two。 Vendor, add contacts to the vendor. The contact information is displayed in the contact of vendor 3.3.3.

3.3.5 contract

1. Contract, creating contract

two。 Cost, you can add the department budget cost.

3. Supplier, add the supplier information entered in the supplier (3.3.3).

4. For projects, you can detail the contract list and add project contracts or asset contracts.

3.3.6 documentation

Documents, upload document information of the contract. Support common formats such as ZIP, PDF, docx, zip, etc.

3.4 tools

Tool classification, Projects, reminder, subscription RSS, knowledge base, reservation, report

3.4.1 Projects

1. A project refers to a series of unique, complex, and interrelated activities that have a clear goal or purpose and must be completed in accordance with specifications within a specific time, budget, and resource constraints.

1.1 create a new Project

1.2 Project tasks add Project Task

1.2.1 in project tasks, you can add milestones and identify the planned and actual progress of the task

1.3 Project team, add team members

1.4 Projects, project collection

1.5 GANTT, Gantt chart

1.6 cost, time, manpower, value cost that can be added to the project.

1.7 changes, changes added to the changes (3.2.4), all changes will be recorded in the changes (3.2.4)

1.8 Project, add the asset information required by the project

3.4.2 reminder

Reminder, calendar notification function.

1. New reminder

two。 The tasks in the reminder can be seen in the planned (3.2.5) schedule.

3.4.3 subscribe to RSS

1. Subscribe to RSS

2.RRS subscription list

3. Home page, subscribe to RSS interface

Recommend a Baidu RSS post bar RSS subscription source recommendation information: https://tieba.baidu.com/p/3507772584

3.4.4 knowledge base

Knowledge base, in order to better sum up experiences and lessons, and more quickly solve the practical problems encountered in the actual environment. We record the operation plan as a document and deposit it in the knowledge base. For use in daily work.

1. Create a knowledge base branch.

two。 Create a knowledge base document

3. Search, search for operational documents through the engine

4. Manage, manipulate document list

5. Knowledge base interface

5.1 Targets

Set the entity where the knowledge base is located (3.6.3). After logging in to GLPI, users can see the parameter information set by the entity.

3.4.5 booking

This function is mostly used for asset borrowing and conference room booking.

1. A list of bookable assets, and the asset booking function is enabled in 3.1.2.15.

two。 Booking asset calendar

3. Check to show all to view the scheduled calendar for all devices or conference rooms

3.4.6 report

It can generate seven reports: default, contract, year, hardware financial core management, network report, loan and status.

1. Default report, default asset report

1.1 status report, assets can be divided into eight states: in use, under repair, under repair, standby, idle, dispatched, scrapped and scrapped.

Add to the status field on the balance sheet in the computer (3.1.2).

1.2 hardware financial core management information report

Open Management 3.1.2.8 in assets

3.5 Management

Manage categories, users, groups, entities, rules, dictionaries, profiles, Mail queue, maintenance, logs

3.5.1 user

GLPI add user interface is divided into: add users, from external sources, LDAP connection

1. Add users and manually add basic user information.

two。 From external sources, directories and other sources. After configuring the LDAP directory (4.2.1), you can enter the account information you need to import directly in the user name.

3.LDAP connection to import user information from the domain control. For configuration methods, see 4.2.

3.5.2 Group

Group refers to the department in the company.

1. Create a new group manually

two。 Group OU in the domain can be imported through LDAP

3. You can set work orders, visible field permissions for this group in the project

3.1 subgroups, add subgroups that belong to the parent group.

3.2 items used to display asset information under the department group. Triggered when a group is added to the asset group field

3.3 managed projects

3.4 LDAP connection to display group account information in OU

3.5 users, adding and displaying all users in the group can grant administrator and principal rights to group members.

3.6 Notification

3.7 work orders created

3.8 questions, assigned to groups

3.5.3 entity

An entity is a configuration file that configures user attributes, and the default entity is Root entity

1. Click the "+" sign to add an entity

two。 Entities, entities that add Root entity child items

3. Address, add the address of Root entity. It is more suitable for cross-regional group companies.

4. Advanced information, setting LDAP association information

5. Notification, printer ammunition, consumables, contracts, financial and management information, licenses, bookings, work order alarm parameter settings

6. Assistance, work order template configuration. Trigger work order satisfaction survey parameters can be set.

7. Satisfaction survey, survey analysis created, trigger survey rate, survey period, work order closing time

After the setting is completed, the satisfaction and remarks can be filled in the requester's work order.

8. Assets, when the asset status changes, you can set automatic filling purchase date, order date, delivery date, start date, repair start date, Decommission date (scrap date)

9. Users, authorization to add profiles to all users

9.1 after adding user authorization, you can select the granted permission in the upper right corner of the user.

10. Rule to authorize the entity to the configuration file.

3.5.4 rules

Rules, you can export and import and set permission assignments, assign categories to software, work orders, and blacklists.

Export import file to .xml format

1. Authorization allocation rules

two。 Standards, global standards and LDAP standards can be added

3. Execution, configuration files, recursion, activation configuration action.

3.5.5 Dictionary

Dictionary, divided into global dictionary, model, type, operating system. Dictionary rules can be established through regular expressions.

3.5.6 profile

Default profile

1. Press "+" to add a profile

2.Admin profile interface, standard interface and simple interface can be selected

3. Standard interface, Admin default permissions

4. Simple interface, Admin default permissions.

5. Assets, setting authority control over assets (3.1)

6. Assist, set up authority control for assistance (3.2), that is, work orders

7. Lifecycle, setting permission control over the lifecycle of work orders

8. Management, setting permission control over management items in management (3.3)

9. Tools to set permissions to control Projects, reminders, subscription RSS, knowledge base, bookings, and reports in the tool

10. Manage, set and control the permissions of users, groups, entities, rules, dictionaries, etc. in management (3.5).

11. Settings to control the permissions of drop-down lists, components, SLA, general, checks, etc.

twelve。 User, open the "Root entity" folder and display the user information under the Admin configuration file.

Click Wei Shen to jump to the authorization of 3.6.1 and authorize the user in the profile.

3.5.7 Mail queue

Message queue, which displays the message that has been sent.

3.5.8 maintenance

Maintenance, backing up database

1.SQL backup

2 XML backup, wait for about 5 minutes in the blank interface.

2.1 Post-backup files

Check if a new version is available. The lower right corner indicates that a new version 9.1.4 is available.

3.5.9 Log

Log showing operation records and messages for services (assets, documents, management, work orders, etc.)

3.6 Settin

Set up categories, drop-down, components, notifications, SLA, General, check, scheduled tasks, Authentication, recipients, external connections, plug-ins

3.6.1 drop-down list

Drop-down list is to add, modify and delete global drop-down fields such as assets, work orders, models, knowledge bases, virtual machines, calendars, operating systems, networks, etc.

3.6.2 components

Component, motherboard, other components, memory, sound card, processor and other hardware parameter information

1. Take the processor as an example

two。 Processor hardware parameters

3. Asset information with secondary processors installed

Click "Update" to update CPU hardware parameters

4. Enable financial and management information

Financial and management information interface

3.6.3 Notification

1. Notification, email notification function

1.1 message follow-up tracking Settings

There are four options for sending mail: PHP, SMTP, SMTP+SSL, SMTP+TLS.

After the configuration is complete, send a test email to the administrator

1.3 received a test email. Confirm that the configuration is complete.

1.4 after the configuration is completed, you can receive email notification when the status of the work order changes.

Notification template

2.1 take work order satisfaction as an example

2.2 template translation, you can add mail templates in multiple languages

2.3 add simplified Chinese language email model

Notification, you can choose the trigger value and recipient.

By default, there are 59 actions involving booking, Projects, problems, contracts, printer ammunition alarms, etc.

3.1 notice, select the model of work order satisfaction survey

Recipient, adding recipient information from it

3.6.4 SLA

1. Add the abbreviation of SLA,Service-Level Agreement, service level agreement. A contract between a network service provider and a customer that defines terms such as type of service, quality of service and customer payment

2.SLT, Service-Level Time agreed response time

3. Service standard classification: urgent, important, standard, secondary

3.6.5 General

1. General settings, default access to FAQ, search results display, chart format, dynamic display and other default parameters are set.

1.1 when anonymous access to FAQ is enabled

1.2 you do not need to log in, you can view the knowledge base

1.3 you need to configure the dependencies of the knowledge base entity to open the documents in the knowledge base.

Default values, personalized parameter settings such as background, date format, GLPI ID, work order, export file format, etc.

2.1 Color palette, 15 theme colors can be modified

3. Assets, 1. Set to enable financial and management information by default, and select whether to manage monitors, settings, phones, and printers globally or in units. 2. Set whether to automatically update the components of this computer.

4. Assist in setting the timeliness and functionality of work orders.

5. System, can set daily information, password security policy, upgrade check agent settings. And view system installation and configuration information, Server, Libraries, LDAP, mail, Plugins version information.

6.Performance, displaying cache information

7.API, API (Application Programming Interface, Application programming Interface) are predefined functions designed to provide applications and developers with the ability to access a set of routines based on some software or hardware without having to access the source code or understand the details of the internal working mechanism.

API client, setting action filtering to access IP

3.6.6 check

Check, you can set the information for the check field

3.6.7 scheduled tasks

Scheduled tasks. There are 36 scheduled tasks by default.

Taking the satisfaction survey as an example, the running cycle and running mode of scheduled tasks can be set.

3.6.8 Authentication

Authentication is divided into settings, LDAP directory, mail server, and other authentication methods.

Setting, setting the operation after adding and deleting users in LDAP and the time zone of GLPI server

LDAP directory, lightweight directory access protocol, English full name is Lightweight Directory Access Protocol

Get user information from AD by setting LDAP. For the setting method, see Import Domain account (4.2).

Mail server, through the mail server to verify account information.

Other authentication methods include CAS single sign-on authentication, x506 certificate authentication, and other authentication sent in HTTP

3.6.9 recipient

Recipient

Execute to get the mail work order sent to the recipient

3.6.10 external links

External connection

Associated item types, add the type of external link.

3.6.11 plug-in

Plug-ins, glpi plug-ins directory, generally install plug-ins in / var/www/html/glpi/plugins/

Check out the plugin directory for a dazzling array of GLPI plug-ins. Currently, only English, French and Spanish are supported.

4. Summary

At this point, GLPI has been generally introduced, which is divided into 6 first-level menus and 49 submenus by default.

Six default first-level menus: assets, Assistance, Management, tools, Administration, Settings

The management of the former is more biased towards document information and broader management, while the latter is biased towards the system.

49 submenus:

Assets: computers, monitors, software, network equipment, equipment, printers, printer ammunition, consumables, telephones, all

Assistance: work orders, Create ticket, issues, changes, planning, statistics, recurring work orders

Management: licenses, budgets, suppliers, contacts, contracts, documents

Tools: Projects, reminders, subscription RSS, knowledge base, bookings, reports

Management: users, groups, entities, rules, dictionaries, profiles, Mail queue, maintenance, logs

Settings: drop-down list, components, notifications, SLA, General, check, scheduled tasks, Authentication, recipients, external links, plug-ins

Among assets, we understand the classification and entry of assets in glpi

In the assistance, I know the creation and cycle of the work order.

In the management, understand the input and relationship of suppliers, contracts and documents

In the tools, you have mastered the tools such as project, subscription RSS, booking equipment, report, etc.

In management, you know the contents of users, groups, entities and rules.

In the setup, we understand the basic setting interface of the GLPI background.

At this point, GLPI is just an asset record and management software. Can we make her more powerful, such as collecting all the software and hardware information of the asset, awakening the device, and deploying the software remotely. Automation and other functions, so that work can be more efficient, so that we are lazy, smarter and more natural.

At this time, the plug-in library of GLPI was born. Such as golden combination Fusioninventory or OCS Inventory NG, such as report plug-in Reports, field import plug-in Data Injection, etc.

The next two chapters will talk a little bit about the best parts of GLPI, data import and plug-in functions.

5. Asset Management 5.1 batch Import of assets

As you know, after searching for a long time, I don't seem to find the direct function of importing assets in bulk directly through the GLPI front-end interface. Right。 We need to import with the help of database management tools such as Navicat lite, phpmyadmin or plug-in datainjection (see plug-in chapter). It is seriously recommended to use Navicat lite to import batch data. You can paste asset information directly in the data form.

Each table in the database corresponds to each type of asset

Table name

Asset type

Glpi_computers

Computer

Glpi_monitormodels

Display device

Glpi_softwares

Software

Glpi_networkequipments

Network equipment

Glpi_peripherals

Equipment

Glpi_printers

Printer

Glpi_consumableitems

Consumable material

Glpi_phones

Telephone

5.1.1 Navicat lite

Install Navicat lite and set up database connection if you encounter a 1045 error

You need to enter the database to configure user information

Mysql-u root mysql

Enter password

Use glpi / / switch to glpi database

GRANT ALL PRIVILEGES ON *. * TO 'YourUserName'@'%' IDENTIFIED BY "YourPassword"

Or

GRANT ALL PRIVILEGES ON *. * TO 'YourUserName'@'YourIP' IDENTIFIED BY "YourPassword"

Flush privileges; / / Refresh

# quit

The connection was successful.

You can search for table names, export and import asset data through ctrl+F.

5.1.2 phpmyadmin

1. Install phpmyadmin version 4.0.4 and copy the installation package directly to the

/ var/www/html due to the compatibility of the system environment, after testing, the high version will appear garbled.

Access path: IP/phpmyadmin (note uppercase and lowercase)

If you do not modify the php.ini configuration file under / etc, I test that the maximum number of imported assets is 61.

Three file parameters under php.ini need to be modified.

Upload_max_filesize = 8m (the maximum upload limit is set to 8m, which should be enough for general file WEB uploads)

Memory_limit = 512m (added to 512m because the server's memory is 2GB)

Post_max_size = 8m (the maximum Post data is also set to 8MB, which is the same as upload_max)

two。 Enter model to display the table information of the schema-out assets

3. First find the computers table, and then export the data glpi_computers.csv data file.

4. Import the asset information according to the data format, and select the character gb2312. Otherwise, there will be garbled codes in Chinese.

5. Data imported successfully!

5.2 Import domain account 5.2.1 set up the LDAP directory

Open account and delegate control account in 1.AD

two。 Settings-> LDAP directory filter settings: (& (objectClass=user) (objectCategory=person) (! (userAccountControl:1.2.840.113556.1.4.803:=2)

3. Test the connection.

5.2.2 batch import of group and user information in OU

1. Select Import from LDAP connection

two。 Import new users

3. Search, synchronize AD new users

4. Select execute, import.

6. Common tools, plug-ins 6.1 Fusioninventory

Fusioninventory is a general inventory agent, which can collect all kinds of software and hardware information, including local computers, network devices, mobile devices, etc., and can wake up through the local area network to deploy software remotely. Support Windows, MacOS, Linux, UNIX, Android and other conventional systems.

6.1.1 install Fusioninventory server

Log in to GLPI's Plugins website to install Fusioninventory for GLPI

Web site: http://plugins.glpi-project.org/#/plugin/fusioninventory

two。 Place the latest installation package / var/www/html/glpi/plugins/

3. Install FusionInventory in the Settings-> plug-in

4. Enable FusionInventory

Add plug-ins to the 5.GLPI level 1 menu

6.1.2 install the Fusioninventory client

1. Log in to http://fusioninventory.org/, download and install the Fusioninventory client, and choose the windows or mac version.

two。 Install the Fusioninventory client

3. Agree to the license terms

4. Select default installation

5. Select the feature components to install

6. Select installation directory

7. Set the connection path

8 encryption settings. If not, you do not have to set them.

9. Proxy settings. If not, you do not have to set them.

10. Set to run in three ways: system service, task and manual

11.HTTP server settings

twelve。 Set other parameters

13. Advanced settings, timeout and P2P settings

14.Debug Settin

15 installation

16. Open the IE to enter the address 127.0.0.1purl 62354

17. Push list

18. After the push is completed, you can see the software and hardware information of the asset on the Fusioninventory server.

6.1.3 Fusioninventory configuration interface

The interface of Fusioninventory is in English, not in Chinese. The following picture shows the entrance to the help document

Click and jump directly to the Fusioninventory official website, which can usually solve 80% of the problems.

1. Set up scheduled tasks to eliminate "GLPI cron not running,see documentation" alarms

* / usr/bin/php / var/www/html/glpi/front/cron.php & > / dev/null

Reference website: http://fusioninventory.org/documentation/fi4g/cron.html

6.1.4 General General

Fusioninventory console, chart showing connection data for client assets, SNMP switch information, port information

1.1 Agents management client management to collect asset information for client installation

1.2 Groups of computers computer group with the option of creating static or dynamic groups

1.3 General configuration common settings, client parameter settings

6.1.5 Tasks tasks

Establish executable tasks

1.1 Task management task management

1. Create a Wake up task

two。 Configure the Wake up action

3. Set refresh time

1.2 Monitoring / Logs, monitoring / log refresh frequency setting

1.3 Import agent XMLfile to manually enter asset data

1. During the Fusioninventory server (6.1.2.7) installation step, selecting the file path generates an ocs file of asset information

two。 Import ocs Fil

3.Computer information computer information, which can be collected by computers

4.Time slot time slot

6.1.6 Rules rules

Establish client-side information collection rules and configure the asset information to be collected

1.1 Equipment import and link rules device Import and connection rules

1.2 Ignored import devices ignores devices

1.31.6 Computer entity rules computer entity rules, Computer location rules computer location rules, Computer information rules computer Information rules, Dictionary of computer architectures computer Dictionary rules and dictionaries (3.5.5) affect the results of regular expressions by creating rules

1.7 blacklist

6.1.7 Networking network

1.1 IP Ranges IP range 1. Add IP range

two。 Tasks, setting refresh time

3.Associated SNMP authentication SNMP authentication association SNMP authentication

4. Can perform the tasks established in the task (6.1.5)

1.2 Remote devices to inventory (VMware) VMware device information add virtual machine device information

1.3 SNMP authentication SNM identity configuration SNMP authentication. There are two empty authentication configurations: Public community v1 and Public community v2c by default.

1.4 Authentication for remote devices (VMware) VMware remote device identity add virtual machine authentication method

1.5 Discovery status Discovery status

1.6 Network inventory status network device status

6.1.8 Deploy deployment

Deployment interface for the installation package

1.1 Package management installation package Management

1.Package, installation package

2.Package actions, installation operation configuration registry, upload installation package, installation execution mode

3.target for self-service installation target this configuration label appears after you select group in Package.

1.2 Mirror servers Mirror Server

You can add an installation package server

When it comes to Fusioninventory, we have to mention OCS INVENTORY-NG, both of which have their own emphasis. There is a deployment tutorial for OCS INVENTORY-NG + GLPI on 51CTO. If you are interested, you can search for it.

6.1.9 Guide help

Built-in search help engine, you can click on the content to jump directly to the configuration interface

1.1 FI > computer inv computer Information

1.2 FI > SNMP inv SNMP information

After the introduction of the operation interface of Fusioninventory, it is mainly aimed at creating rules and performing task configuration for computers and network equipment to automatically collect asset information data.

6.2 File Injection

Without going through the database, how to import user and asset data in bulk if there is no domain environment? Introduce a data import plug-in File Injection, which places the installation package / var/www/html/glpi/plugins/

Download address: http://plugins.glpi-project.org/#/plugin/datainjection

1. Install the plug-in

two。 Start the plug-in

3. Tools-> File Injection

4. Template management interface

5. Add import template, select the fields to be imported in Type of data to import, enter users, computers, suppliers, printers, etc.

6. Select the data to be imported

6.3 IP Adressing

IP reporting plug-in to view IP allocation information for assets in the network. IP can be assigned and booked.

Download address: http://plugins.glpi-project.org/#/plugin/addressing

1. Configure network segment

two。 Displays asset information for which the Fusioninventory client has been installed

3. Add filter information

4. Subscribe to IP and show that IP is occupied

5. Subscribe to IP and show that IP is available to use

7. Conclusion

As a mature open source asset management software, GLPI still has a lot to learn and study. In different system environments, different problems must be encountered. At that time, "see the move, Google du Niang."

This book is only a more basic introduction, if you have more and better skills, please don't be stingy; in addition, if you have some suggestions and opinions

Welcome to email xintianke@gmail.com

GLPI- open source Chinese micro community: www.sintank.com

The only glpi Chinese QQ group in the world: 106435675

Recommended reference documentation:

Baidu Library GLPI Resource Management user Manual-- cnhtml907

51CTO OCS INVENTORY-NG + GLPI deployment tutorial-IT Asset Management system-GROOT-nifengyu

Author: Wei Cun

Message exchange

Add a new message

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report