Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

XenServer

Published and supported by Mobile Nations


Description

XenServer Monitor Plugin for Newrelic Fetches metrics from Xen Hosts and VM and pushes to NewRelic over https.

  • CPU Usage
  • Memory Usage
  • Network Activity (Rx/Tx Mbps per interface)
  • Drive Activity (Throughput, IOPS, IO Wait, Latency)
  • Xen Hosts Data (XAPI Memory, dom0 load)

The amount of metrics available will depend on your XenServer version. The module has been tested with Xen 6.2, 6.5 and 7.0.


Requirements

Node.JS/NPM XenServers


Installation

Install NodeJs and NPM (https://nodejs.org/en/download/package-manager/) Download plugin from GitHub and extract Inside the plugin directory, install the required npm modules (npm install async xen-api xml2js)

Configure

  • xenConfig
    • Pool Master(s)
    • Username/Password (Same as XenCenter)
    • Specify timezone offset in tzOffset (if the timezone differs between the node.js server vs XenServers)
  • newRelicConfig
    • Newrelic license key and host name of the server this script will run it.

We use PM2 (http://pm2.keymetrics.io) as a node process manager, which enables node.js script to run forever, gather logs, and to run at boot.

npm install pm2@latest -g pm2 start xen_monitor.js

pm2 stop 0 pm2 restart 0 pm2 reload 0

To start at boot: pm2 startup, followed by pm2 save


License

As-Is. Use at your own risk etc.


Support

Use github page for support issues.


The XenServer plugin extends the power of New Relic's monitoring capabilities.


Get This Plugin

Already have a New Relic account? Log in and begin using this plugin.

If you don't have a New Relic account, follow these three simple steps:

How To Install A Plugin

Installing a plugin is simple and fast.

Installing
a Plugin
  1. Step One

    Sign in to your New Relic account

  2. Step Two

    Select and install plugin

  3. Step Three

    Start seeing data

That’s it. You’re done. Simple.

Sign Up for New Relic

Back to top icon