Objective:Sometimes we need to define a host group when automating and batching the operations master. For example, Saltstack group, and Salt-n parameters, in Ansible under the self-fix ansible of the host group. Some trouble, you know, since you choose to use Saltstack, ansible this kind of cluster operation tool, if you choose to put dozens of more than hundreds of manually, one after the host group and associated hosts write configuration, is not appear very.Here are some of my methods, the f
I. Overview of the CMDB
The composition of the CMDB mainly has the background management, the central control machine, the server.
Background management is divided into the background management page and the central control machine Exchange data API.
Users through t
Tags: Excel ansible cmd automatic installation company recommended HTTP out GenVision of operation and maintenance
Automatic machine
Configuration Management
Monitoring
Fortress machine
Asset Management "Essentials"
Current situation
At present many companies still: manual maintenance Excel table
Urgently needed: Assets are automatically collected and reported to t
Tags: CMDBbecause of the job needs, on the Internet to find some open-source writing CMDB , download back otherwise not complete, otherwise it is not used, a bunch of problems ah, good is to spend money. Since we are engaged in it , so the spirit of sharing, we have today this CMDB. The current implementation of the function is asset management, corresponding to
Recently in doing Zabbix two development; find Zabbix in the automation to provide a strong support, below to share the CMDB and Zabbix to get through, the CMDB platform inside all the machines synchronized to the Zabbix database, and then the batch template binding:Development environment:zabbix:2.4Python:flask framework. Front-end Bootstrap,jquey:Implementation ideas:OneCreate a third managed table (defin
This specification is formulated to ensure that the underlying data, such as system name, app name, SLB name, ECS name, and so on, is standardized in the CMDB.1, the name can only be composed of letters and numbers, not with underscores, dots and other special characters.For example: Appfinweb, Appsendmessageservice, AppAdmin2 are the correct naming methods. Fin_web, Fin.web is the wrong naming method.2, the first letter to uppercase, if there are mul
CMDB Model Design 2Http://blog.vsharing.com/xqscool/A1275233.htmlIt is estimated that all two of the broken children are a bit dizzy, and I'm a little dizzy. Two comparisons. 1th, the Properties section has added dynamic content. That's the question I've been thinking about-after all, we've been monitoring for years, and monitoring data has been kept in the CMDB for a long time. Because the
#我们近期开发了一个CMDD系统, mainly used in internal operation and maintenance team use, development is behind closed doors, if there is insufficient place, welcome to leave a message to me, thank you!#开发CMDB, the technical points involved are as follows:(1) Developed language: Python+perl team Development(2) Frame: Python:django frame Perl:mojo Frame(3) Front bootstrap,html,js,css,jquery.(4) DB Databses:mysql(5) Automation software: Saltstack#备注: There is a lot
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/73/0A/wKioL1Xynz6xYDhJAAGmoq1Gjno601.jpg "title=" Cmdb.png "alt=" Wkiol1xynz6xydhjaagmoq1gjno601.jpg "/>CMDB project, above is flowchart ~Ps:Based on the physical machine model, the granularity of virtual machine is much smaller than the physical machine.1, need to first through the background management system input server basic information (such a
Tags: statistics TPS Pat for COM git href over targeGitHub Address: Https://github.com/fboender/ansible-cmdb Gathering information from facts, generating a host overviewInstallation
wget https://github.com/fboender/ansible-cmdb/releases/download/1.17/ansible-cmdb-1.17.tar.gz tar zxf ansible-cmdb-1.17.tar.gz cd a
Tags: lines users user route set init messages EXE cookiePeople most difficult to do is to learn from their own, always learn others, precipitation, after a period of time forget just learned, in the study to others, rather than look at their own precipitation, as everyone knows, the world's closest, the most tacit understanding of the person is their own.Overview of User CMDB functionsBefore learning flask did a
attack, but do not rule out the hacker speed faster than our speed, may wish to send the data to do a layer of encryption, and then the hacker's Internet speed early submitted to the server, also can not?Code area:############# #客户端 ############# #import requestsimport timeimport hashlibdef MD5 (ARG): MD5 = HASHLIB.MD5 () Md5.update (Arg.encode (' Utf-8 ')) return md5.hexdigest () key = ' asdfghjklmnbvcxz ' CTime = str (time.time ()) Client_ str = '%s|%s '% (key, ctime) CLIENT_MD5_STR
Tags: import ASI auto EXE mode init start Art ini1.start.py Script.run (): Executes the Run function--2.script.py Run Method--3. Judging mode (Agent/sshsalt)--4. Execute the agent/sshsalt--> in client.py5. Perform the exec_plugin corresponding to the/src/plugins/__init__.py in the respectiveMethod (__AGENT/__SALT/__SSH), __init__.py calls the configuration file in the settings.py, the Exec_plugin () method splits the modules and classes in the settings.py and executes eachplugins/directory of ba
Tags: CMDB transport dimensional plane Taiwan cabinet display Zabbix AlarmRecently saw Liu Tians teacher's cabinet display platform, very gorgeous, and there is a large screen display can also reflect the value of operation and maintenance, here is the next I am doing some data of the CMDB platform:CMDB data:Computer room, cabinet, cabinet power supply, cabinet location, machine room contract, contract expi
Tags: password user name development CMDBA simple computer room cabinet CMDB system, based on Django, is for reference only. Welcome to leave a comment below, put forward the amendment.can be realized by adding or deleting. Permissions did not do, many functions have not done, only to do a basic, beginner.The front-end template uses the same inspinia2.5 as the jumpserver, so it looks pretty much the same. Templates can be self-Baidu search.Put it in t
Tags: bash pen echo script die from simple script MySQL $*#!/bin/bash#author Xiaoweige#todo: IP--> ingredient or ingredient--> IP #todo: Get the IP of the given ingredientfunction Ingredient_ip () {#todo: Get the IP of the ingredient givenMysql-uroot-pengine-e "SELECT * from ipandingredient.ipandingredient where env = ' $ ' and ingredient= '"}#todo: Not sure what's the ingredient isfunction Search_ingredient () {Mysql-uroot-pengine-e "Use ipandingredient; select * from ipandingredient where ingr
———————— - def __init__(self): theSelf.asset_api = settings. Asset_api#Asset_api = "Http://127.0.0.1:8000/api/asset" - defPost_asset (Self, msg):#Post method to submit asset information to API interface -Status = True#Get to Information - Try: +Response =Requests.post ( -Url=Self.asset_api, +json=msg A ) at exceptException as E: -Response =e -Status = False#An error occurred while getting information - Print(Response.json ()) - #———————— 02CMDB su
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.