当前位置:网站首页>The best CMDB system
The best CMDB system
2022-06-26 11:29:00 【BOGO】
Brother Bo must be a fine product !
Some time ago, brother Bo went to a friend's company to play , My friend accidentally talked about asset management , The equipment statistics of their company are very chaotic , The distribution and statistics of office computers and server equipment are still completed manually excel, Manual warehousing ..
Manual form I forgot to take photos .. Anyway, you can do it yourself , Just like high school class notes, all kinds of sketching and drawing .
All right ! BOGO is a good man , For the purpose of doing good every day, I said I would help you make a set in two days CMDB System .
OK, I finished it a few days ago , They have been taught how to use !
Old rules , Go straight to the project !
git clone https://github.com/luckman666/deploy_glpi.git
cd deploy_glpi
docker-compose up -dabove 3 You have finished BOGO 3 A night's work !
Of course, the server must be installed docker and docker-compose
If not installed , You can use my other script to initialize the environment
git clone https://github.com/luckman666/shell_scripts.git
cd shell_scripts && chmod -R 755 .
./deploy_docker_and_composes.shIn fact, BOGO also used a PHP The open source project is called glpi, To tell you the truth, this is the most awesome thing I have ever seen CMDB System . There are also various plug-ins for you to choose from .
however , Here's the point . Installation is super complicated ! Hard core data is relatively small . Good groups can only be joined for a fee !
So BOGO will be a good man again !
You don't have to install ! Real zero threshold use ~
I have encapsulated the project, made it into an image and uploaded it to my open source image library for everyone to use .
BOGO doesn't want to be verbose , Just talk about the core configuration and simple usage :
Skip the rest , Access after startup IP that will do , What I mapped is 80 port
Here, the database is mariadb( I am using mariadb), The user name and password are all in docker-compose You can see it in it , Then continue to !
When you go to the home page, don't worry. Do you see an alarm here ?
To glpi Just execute the following two sentences in the container
Clear the alarm command
/usr/local/bin/php /var/www/html/front/cron.phpTiming task
* * * * * /usr/local/bin/php /var/www/html/front/cron.php &>/dev/nullThen install the core plug-ins fusioninventory
And then put fusioninventory-9.2.2.0.tar.bz2 This plugin mv To
/var/lib/docker/volumes/glpi_glpi-plugins/_data/ Under this catalog
decompression
mv fusioninventory-9.2.2.0.tar.bz2 /var/lib/docker/volumes/glpi_glpi-plugins/_data/ && tar -jxvf fusioninventory-9.2.2.0.tar.bz2This is glpi Independent plug-ins , It is also the most important plug-in in my opinion , He can automatically collect information on the device ! Super cow X, And look inside
You should have an option to install the word at the back of here
Click on the install , Then, after the installation is successful, it will be enabled , You click enable . Just set the status to me .
The server side is done . Easy ! Of course it's simple . If you try to install it yourself step by step ... So here's a... for BOGO star It's not too much to pay attention to or forward it ?
Then we install agent, There are two main points here , One windos And a linux Of agent.
because windos The installation of is troublesome and needs to wait an hour to see the effect . I simply wrote a script to identify the system architecture and complete the automatic installation and immediate collection .
In the warehouse Fusion.rar I made this document windos Of agent Script for .
Put this file copy To windos On the computer .
Then use Notepad to open FusionInventory.bat. Modify the... Of these two positions IP Install... For you glpi Of IP that will do . If you change the port . Ports should also be added at the back .
Then save , Double click execute !
It's possible that 360 Or other security software . You must believe that BOGO can't hurt you . Just release or temporarily close the security software .
completion of enforcement ,cmd After the command prompt box closes, we log in glpi
Did you see? ? Dare to believe your eyes ? Super super details whether there is ?
A brief introduction windos Of agent. Let's go to the linux Try it
centos7 For example :
Execute the following statement :
yum install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum install -y fusioninventory-agent fusioninventory-agent-task-inventory
vim /etc/fusioninventory/agent.cfgAdd a record
server = http://192.168.1.116/plugins/fusioninventoryAgain IP And ports need to be changed
And then execute
systemctl start fusioninventory-agent
systemctl enable fusioninventory-agentTo collect immediately, just execute
fusioninventory-agentJust do it !
It's worth saying here agent After installation ,server The client will conduct routine inventory , The default is 24 Check every hour , collect agent Information about .
Adjust the counting time option here
Above is glpi The core content .
Of course, there is a useful cow X I also put the plug-ins of the into the warehouse together .
That's it dashboard, The installation and use methods are similar to the above plug-in installation methods . Let's see the effect :
assets :
The repair order :
I won't show you any more pictures .
There is also one in it PDF Plug in for , In order to facilitate you to download charts and so on
This version is 9.2.1, Now it seems that 9.4 了 .
Interested friends can make a mirror image and try again ! Also feel the pain behind BOGO ..
All right ! That's all for today . Thank you for your attention , BOGO will continue to provide better and more valuable tools , By the way, I wrote it myself kkit3.0 We have reached the automatic deployment stage . I'm still trying to find time to move on . Come on, guys !
边栏推荐
- 统计遗传学:第二章,统计分析概念
- 请指教同花顺开户选选择哪家券商比较好?手机开户安全么?
- HUST network attack and defense practice | 6_ IOT device firmware security experiment | Experiment 2 MPU based IOT device attack mitigation technology
- Notice on printing and Distributing Measures for supporting strategic emerging industries and future industrial cluster development in Futian District, Shenzhen
- TCP面试
- Compréhension approfondie de l'expérience de port série stm32 (registre) [Tutoriel de niveau nounou]
- 证券账户一般需要在哪里开通 开户安全吗
- Laravel writes native SQL statements
- 有手就行的移动平均法、指数平滑法的Excel操作,用来时间序列预测
- . Net, the usage of log components NLog, seriallog, log4net
猜你喜欢
随机推荐
2、 Linear table
I want to know how the top ten securities firms open accounts? Is online account opening safe?
机器学习深度神经网络——实验报告
MQTT断开重连
【Redis 系列】redis 学习十六,redis 字典(map) 及其核心编码结构
TCP interview
Using baijiafan to automatically generate API calls: progress in JS (II)
matlab 编程实例: 如何统计元胞数组中元素的数量
Wangeditor uploading local video modification
Machine learning linear regression - Experimental Report
深度理解STM32的串口實驗(寄存器)【保姆級教程】
Statistical genetics: Chapter 2, the concept of statistical analysis
Ctfshow web getting started command execution web75-77
Measures to support the development of cultural and creative industries in Futian District, Shenzhen
9、 Beautify tables, forms, and hyperlinks
Statistical genetics: Chapter 1, basic concepts of genome
利用 Repository 中的方法解决实际问题
word中涂黑的方块
FastRCNN
Prospering customs through science and technology, Ronglian and Tianjin Customs jointly build a genomic database and analysis platform





![[deep learning theory] (6) recurrent neural network RNN](/img/33/e270b08e7748a6e740eb618ed10c9a.gif)



