Giter Site home page Giter Site logo

nr1-igor's Introduction

GitHub release (latest SemVer including pre-releases) Snyk

Usage

IGOR (Infra Geo-Ops Reporter) overlays infrastructure data over a map view within New Relic One.

IGOR Map Screenshot

IGOR Detail Screenshot

IGOR plots the highest CPU, memory, and disk usage for hosts at various locations on a map, offering a true 30,000 foot (or thereabouts) view. It allows you to drill down into hosts at a location. Its near-realtime nature allows it to be used in an NOC (network operations center) setting.

IGOR only requires that your hosts are running New Relic Infrastructure agent on them. Configuration happens directly within the app, where you specify the list of locations, and the hosts at each location.

Open source license

This project is distributed under the Apache 2 license.

What do you need to make this work?

One or more host running New Relic Infrastructure agent.

Getting started

  1. Ensure that you have Git and NPM installed. If you're unsure whether you have one or both of them installed, run the following command. (If you have them installed these commands will return a version number, if not, the commands won't be recognized.)
git --version
npm -v
  1. Install the New Relic One CLI by going to this link and following the instructions (5 minutes or less) to install and set up your New Relic development environment.
  2. Run the following command to clone this repository and run the code locally against your New Relic data:
nr1 nerdpack:clone -r https://github.com/newrelic/nr1-igor.git
cd nr1-igor
nr1 nerdpack:serve

Visit https://one.newrelic.com/?nerdpacks=local, navigate to the Nerdpack, and โœจ

Deploying this Nerdpack

Open a command prompt in the nerdpack's directory and run the following commands.

# If you need to create a new uuid for the account to which you're deploying this Nerdpack, use the following
# nr1 nerdpack:uuid -g [--profile=your_profile_name]
# to see a list of APIkeys / profiles available in your development environment, run nr1 credentials:list
nr1 nerdpack:publish [--profile=your_profile_name]
nr1 nerdpack:deploy [-c [DEV|BETA|STABLE]] [--profile=your_profile_name]
nr1 nerdpack:subscribe [-c [DEV|BETA|STABLE]] [--profile=your_profile_name]

Visit https://one.newrelic.com, navigate to the Nerdpack, and โœจ

Configure and use IGOR

IGOR opens with a splash screen featuring a drop-down that lists accounts that you can switch between, and a button to open the admin panel.

IGOR Map Screenshot

Set up IGOR

  1. Select the gear icon to open the admin panel.

IGOR Admin Panel Screenshot

  1. IGOR uses Mapbox to display the map. To do so, in General Settings, add your Mapbox Access Token. For more information, see the Mapbox access tokens information.

Modify the default map view

IGOR Map Defaults Screenshot

  1. Select the Add/Edit Locations tab to add locations on the map.

IGOR Add Locations Screenshot

  1. List the locations, one location per line, with the name, latitude, and longitude specified as comma-separated values for each location. For example:
San Francisco,37.7913249,-122.3951599
Atlanta,33.7869491,-84.3849318
Portland,45.5221871,-122.6784799
Phoenix,33.4485711,-112.0743242
  1. After you add locations, switch to the Hosts at Locations tab.

IGOR Add Hosts Screenshot

  1. Click on a location to bring up a list of hosts reporting into New Relic Infrastructure. Check all hosts for each location.

IGOR Select Hosts Screenshot

  1. After you have set up all the locations, close the admin panel to view your map. ๐ŸŽ‰

Support

New Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR DEDICATED SUPPORT. Issues and contributions should be reported to the project here on GitHub.

We encourage you to bring your experiences and questions to the Explorers Hub where our community members collaborate on solutions and new ideas.

Community

New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related community topic in the New Relic Explorers Hub. You can find this project's topic/threads here:

https://discuss.newrelic.com/t/nr1-igor-infrastructure-map-nerdpack/91886

Issues and enhancement requests

Submit issues and enhancement requests in the Issues tab of this repository. Please search for and review the existing open issues before submitting a new issue.

Contributing

Contributions are welcome (and if you submit an enhancement request, expect to be invited to contribute it yourself ๐Ÿ˜). Please review our contributors guide.

Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. If you'd like to execute our corporate CLA, or if you have any questions, please drop us an email at [email protected].

nr1-igor's People

Contributors

amit-y avatar devfreddy avatar mmfred avatar

Watchers

 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.