Git Product home page Git Product logo

nri-vmware-esxi's Introduction

DEPRECATION NOTICE

This repository has been deprecated. Use https://github.com/newrelic/nri-vsphere instead.

New Relic Infrastructure Integration for VMWare vSphere

Reports status and metrics for vSphere server

Disclaimer

New Relic has open-sourced this integration to enable monitoring of this technology. This integration is provided AS-IS WITHOUT WARRANTY OR SUPPORT, although you can report issues and contribute to this integration via GitHub. Support for this integration is available with an Expert Services subscription.

Requirements

vCenter SDK Endpoint enabled

Installation

Install the vsphere monitoring plugin

cp -R bin /var/db/newrelic-infra/custom-integrations/

cp vmware-esxi-definition.yml /var/db/newrelic-infra/custom-integrations/

cp vmware-esxi-config.yml.sample  /etc/newrelic-infra/integrations.d/

Configuration

In order to use the vmware-esxi integration it is required to configure vmware-esxi-config.yml.sample file. Firstly, rename the file to vmware-esxi-config.yml (drop the .sample extension to enable this integration).

Edit the vmware-esxi-config.yml configuration file to provide a unique instance name and valid values for (ESXi URL and login credentials) url, username and password.

Restart the infrastructure agent

sudo systemctl stop newrelic-infra

sudo systemctl start newrelic-infra

Troubleshooting

Check correct functioning of the plugin by executing it from the command line

Usage of ./bin/nr-vmware-esxi:
  -datacenter string
        Datacenter to query for metrics. {datacenter name|default|all}. all will discover all available datacenters. (default "default")
  -url string
        vSphere or vCenter SDK URL (default "https://vcenteripaddress/sdk")
  -username string
        The vSphere or vCenter username.
  -password string
        The vSphere or vCenter password.
  -insecure
        Don't verify the server's certificate chain (default true)
  -log_available_counters
        [Trace] Log all available performance counters
  -metrics
        Publish metrics data.
  -pretty
        Print pretty formatted JSON.
  -source_config int
        Undocumented (default 9)
  -verbose
        Print more information to logs.

Usage

You can view your data in Insights by creating your own custom NRQL queries. To do so use ESXHostSystemSample and ESXVirtualMachineSample event types.

Compatibility

  • Supported OS: Linux
  • VMware versions: Tested with v 6.7

nri-vmware-esxi's People

Contributors

goldenplec avatar psomareddy avatar sschwartzman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nri-vmware-esxi's Issues

not seeing all the vms and resource pools

Hi,
I installed the integration and I am able to see all the Hosts.
However i am not able to see all the VMs. What it does is it reads from one Resource Pool only and i am able to see just the VMs located there but not the rest. I i go to ResourcePoolSample i only see 1 resource. It is strange since as mentioned i see all the Hosts. For the DatastoreSample i am able to see as well only one datastore. I set the datacenter to all in the yml file (config) but same issue. I only have one datacenter so i dont see why that option would change anything but i tried just in case.

Are there any config variables that i am missing ?

README specifies non-existent bin dir

The README specifies a bin directory

cp -R bin /var/db/newrelic-infra/custom-integrations/

The src directory contains the .go files but no bin directory for executables. Do we need to compile these ourselves?

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.