Giter Club home page Giter Club logo

insights-client's Introduction

Code Health

Red Hat Access Insights Client

Installing

On a RHEL7 box:

Make sure the build dependencies are installed:

    ./tests/install-build-requirements

If the script fails, try to install the build requirements by hand. If it fails because of subscription-manager, try 'subscription-manager register --auto-attach', or just try yum without subscription-manager.

Next build it.

make clean install

Next configure it.

  1. Edit /etc/insights-client/insights-client.conf

Some things you might want to change:

  1. User id, where YOUR_RHN_xxx is your RHN/Red Hat Portal username and password

    username=YOUR_RHN_USERNAME

    password=YOUR_RHN_PASSWORD

  2. What server to use, where DEVEL_SERVER_AND_PORT is whatever development insights server you have set up. If left default, the client will contact Red Hat's production server

    upload_url=http://DEVEL_SERVER_AND_PORT/r/insights/uploads

    collection_rules_url=http://DEVEL_SERVER_AND_PORT/v1/static/uploader.json

    gpg=False

  3. Random logging stuff,

    loglevel=DEBUG

    auto_config=False

    no_schedule=True

Next run some tests:

insights-client --verbose --register

./tests/test-containers
./tests/test-containers "python ./insights_client/__init__.py"

./tests/test-new-specs
./tests/test-conditional-docker

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.