openiomon / hds2graphite

A utility to query metrics from Hitachi Vantara block storage and transfer them to graphite backend
http://www.openiomon.org
GNU General Public License v3.0
7 stars 0 forks source link

Table of Contents

hds2graphite

A tool to retrieve Hitachi Block Storage performance counters via Hitachi Export Tool (historical) or Hitachi Tuning Manager (HTNM) / Infrastructure Analytics Advisor (HIAA) / Ops Center Analyzer (realtime) and write them to a Carbon/Graphite backend.

Features

Installation

Install on RHEL via RPM package: yum install hds2graphite-0.x.x-x.rpm

Perl dependencies that are not available in RHEL / CentOS repositories:

For other Linux distributions you can just clone the repository. Default installation folder is /opt/hds2graphite. The service operates with a user called "openiomon"

For installation of Hitachi Command Control Interface (CCI) needed for non-realtime-performance-data copy the the CCI CPIO archive to /opt/hds2graphite/cci/ and run hds2graphite -preparecci.

SElinux Note If you use SElinux in enforcing mode, you need to set the context for the log directory manually. Otherwise logrotate will fail. Use the following commands:

semanage fcontext -a -t var_log_t "/opt/hds2graphite/log(/.*)?"
restorecon -Rv /opt/hds2graphite/log/

Configuration

  1. Edit the /opt/hds2graphite/conf/hds2graphite.conf, settings you have to edit for a start:
  1. Create a service
    When using Export Tool: /opt/hds2graphite/bin/hds2graphite.pl -register <subsystem name>
    When using HTNM / HIAA: /opt/hds2graphite/bin/hds2graphite.pl -register <subsystem name> -realtime

  2. Enable the service When using Export Tool: /opt/hds2graphite/bin/hds2graphite.pl -enable <subsystem name>
    When using HTNM / HIAA: /opt/hds2graphite/bin/hds2graphite.pl -enable <subsystem name> -realtime

  3. Start the service When using Export Tool: /opt/hds2graphite/bin/hds2graphite.pl -start <subsystem name>
    When using HTNM / HIAA: /opt/hds2graphite/bin/hds2graphite.pl -start <subsystem name> -realtime

Changelog

0.4.6

0.4.5

0.4.4

0.4.3

0.4.2

0.4.1

0.4.0

0.3.4

Disclaimer

This source and the whole package comes without warranty. It may or may not harm your computer. Please use with care. Any damage cannot be related back to the author.