Code Monkey home page Code Monkey logo

hygieia-cmdb-company-collector's Introduction

title tags keywords summary sidebar permalink
Company Collector
CMDB
hygieia_sidebar
company.html

Configure the Company Collector to display and monitor information (related to configuration management) on the Hygieia Dashboard, from Azure DevOps. Hygieia uses Spring Boot to package the collector as an executable JAR file with dependencies.

Setup Instructions

Fork and Clone the Collector

Fork and clone the Company Collector from the GitHub repo.

To configure the Company Collector, execute the following steps:

  • Step 1: Change Directory

    Change the current working directory to the hygieia-cmdb-company-collector directory of your Hygieia source code installation.

    For example, in the Windows command prompt, run the following command:

    cd C:\Users\[username]\hygieia-cmdb-company-collector
    
  • Step 2: Run Maven Build

    Run the maven build to package the collector into an executable JAR file:

    mvn install

    The output file [collector name].jar is generated in the hygieia-cmdb-company-collector\target folder.

  • Step 3: Set Parameters in Application Properties File

    Set the configurable parameters in the application.properties file to connect to the Dashboard MongoDB database instance, including properties required by the Company Collector.

    To configure parameters for the Company Collector, refer to the sample application.properties file.

    For information about sourcing the application properties file, refer to the Spring Boot Documentation.

  • Step 4: Deploy the Executable File

    To deploy the [collector name].jar file, change directory to hygieia-cmdb-company-collector\target, and then execute the following from the command prompt:

    java -Dcollector.action=[action] -jar [collector name].jar --spring.config.name=company --spring.config.location=[path to application.properties file]

Sample Application Properties File

The sample application.properties file lists parameters with sample values to configure the Company Collector. Set the parameters based on your environment setup.

# Database Name
dbname=dashboarddb

# Database HostName - default is localhost
dbhost=localhost

# Database Port - default is 27017
dbport=27017

# Database Username - default is blank
dbusername=dashboarduser

# Database Password - default is blank
dbpassword=dbpassword

# Logging File location
logging.file=./logs/cmdb.log

#Collector schedule (required)
cmdb.cron=0 0/2 * * * *

# Proxy Host
cmdb.proxyHost=

# Proxy Port 8080
cmdb.proxyPort=

# Non Proxy xxx.xxx.xxx.xxx
cmdb.nonProxy=

# Azure DevOps api version
cmdb.apiVersion=5.0-preview.1

# Azure DevOps personal access token
cmdb.apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Azure DevOps project name
cmdb.project=xxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Azure DevOps organization Name or Account Name
cmdb.organizationName=xxxxxxxxxxxxxxxxxxxxxxx

# Azure DevOps publisher extension
cmdb.publisher=xxxxxxxxxxxxxxxxxxxxxx
		

hygieia-cmdb-company-collector's People

Contributors

davidpolaniaac avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.