top of page
Search
Writer's pictureAlexey Hariton

Importing servers list from CSV, JSON, YAML

In version 6.3.0 we've added some new features, which allowing us to implement servers import functionality. Now you can import list of your servers in DevOps Pass from prepared CSV, JSON or YAML file.


Following fields have to be specified in source file:

  • dns - DNS or FQDN name of server

  • env - environment, prod/dev/stg/qa etc.

  • ip - IP address

  • location - where server is located, for example "AWS: CORP-pci" or "AZR-dev", etc.

  • os - server's operation system

  • product - product or application this server belongs to, for example your team developing two applications APP1 and APP2

  • role - server role, DB, application server, monitoring, backup, ESXi host, etc.

  • description - long description for specific server



Here is an example CSV, JSON, YAML:

# JSON
[
{
  "dns":"server1",
  "env":"dev",
  "ip":"192.168.1.10",
  "location":"AWS",
  "os":"CentOS 7",
  "product":"APP1",
  "role":"Application Server",
  "description":"Tomcat 7 app server"
}
]

# YAML
- dns: server1
  env: dev
  ip: 192.168.1.10
  location: AWS
  os: CentOS 7
  product: APP1
  role: Application Server
  description: Tomcat 7 app server

# CSV
dns,env,ip,location,os,product,role,description
server1.prod,production,192.168.1.1,GCP,Ubuntu,APP1,App Server,Main application server
server2,testing,192.168.1.2,AWS CORP-prod,Windows,APP1,Database Server,Primary database server

Once your source file is ready you can import servers in to DevOps Pass and SSH/RDP freely.




8 views0 comments

Comments


bottom of page