0.0
No commit activity in last 3 years
No release in over 3 years
Newrelic plugin to monitor ZFS pools
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

New Relic ZFS Plugin

The newrelic_zfs_plugin is a plugin agent that allows the monitoring of ZFS pools using the Newrelic platform. It returns the information exposed by the 'zpool list' command and provides some basic summary metrics.

The key feature is that it allows alerts to be sent when a pool is degraded or offline, or when a pool is running out of capacity.

Installation

  1. Install Ruby
  2. Run command 'gem install newrelic_zfs'

Usage

The plugin needs configuring before it can be used:

  1. Run command 'newrelic_zfs'
  2. Enter y to create a config file
  3. Enter the path to where you want the file to be created (this path must already exist)
  4. Enter your New Relic License key
  5. Enter a name for the server/instance you are running
  6. The config file will have been created and the plugin will start running, reporting data to Newrelic (it might take a few minutes for the plugin to appear in the left nav of your New Relic account)
  7. To run the plugin in the future, simply run the command 'newrelic_zfs path/to/config.yml'

Lastly, you will probably want to daemonize the process and set it to run at startup, using whatever your preferred method is.