Refine your search:

Thanks For Downloading!

Review the documentation below and follow any custom installation steps. If no install steps are listed, most Splunk Apps and Add-ons can be installed as follows:

Windows: Decompress the downloaded file using a tool like 7-Zip and place the resulting folder into %PROGRAMFILES%\Splunk\etc\apps. Then restart Splunk using the splunk restart command or the GUI.

Unix/Linux: Decompress the downloaded file using a tool like tar -xvf and place the resulting folder into $SPLUNK_HOME/etc/apps. Then restart Splunk using the splunk restart command or the GUI.

Description

Splunk for Symmetrix integrates the EMC Enterprise Storage Array "Symmetrix VMAX" with Splunk

Splunk for Symmetrix

Overview

  • Splunk for Symmetrix integrates the EMC Enterprise Storage Array "Symmetrix VMAX" with Splunk
    • Features:
      • VMAX Storage Dashboard with Graphs of FAST VP Pool Usage, Savvol Usage, and TDEV Capacity
      • VMAX IOPS Dashboard with Graphs of IOPS by Storage Group
      • Nagios Integrated Dashboard with Graphs of IOPS, MB per second, and Write Pending (Requires Splunk for Nagios)
  • This is version 1.0 of Splunk for Symmetrix - any feedback, including requests for enhancement are most welcome. Email: luke@verypowerful.info
  • This app has been created for the specifics of our Symmetrix environment, so it may or may not suit your specific purposes
  • Copyright (c) 2011 Luke Harris. All Rights Reserved.

Screenshots

Setup Splunk for Symmetrix

Add an Index to Splunk:

  • Create an index called storage then restart Splunk
    • Note: the dashboards use searches based on index = storage

Add new Data Inputs:

Here are two methods to ingest the symmetrix log files from your Solutions Enabler server (linux & unix supported) to your Splunk indexer (chose only one method):

1. Configure a 'Universal Forwarder' on the Solutions Enabler server

  • http://www.splunk.com/base/Documentation/latest/Deploy/Deployanixdfmanually
    • cd $SPLUNK_HOME/bin (eg. cd /opt/splunkforwarder/bin)
      • ./splunk start
      • ./splunk add forward-server splunk.abc.com.au:9997
        • Note: replace $LOG_HOME with the relevant directory (eg. /log/symmetrix)
          • ./splunk add monitor $LOG_HOME/EMCcapacity.log -sourcetype symmetrix -hostname hostname.abc.com.au
          • ./splunk add monitor $LOG_HOME/symstat_0042.log -sourcetype symstat_0042 -hostname hostname.abc.com.au
            • Required: Replace 0042 with the SID of your EMC Symmetrix VMAX Array
      • edit $SPLUNK_HOME/etc/apps/search/local/inputs.conf on the Solutions Enabler server and add the following key/value pair:
        • index = storage
      • restart the Splunk UF agent:
      • ./splunk restart

OR

2. Configure symmetrix log file ingestion using 'rsync' on the Splunk indexer

a/ EMCcapacity.log :-

  • Click Manager > Data inputs > Files & Directories > New
  • Specify the source: Continuously index data from a file or directory this Splunk instance can access
  • Full path to your data: eg. /log/symmetrix/EMCcapacity.log
  • Tick More settings
  • Set host: constant value
  • Host field value: eg. hostname.abc.com.au
  • Set the source type: Manual
  • Source type: symmetrix
  • Index: storage
  • Click Save

b/ symstat_0042.log :-

  • Click Manager > Data inputs > Files & Directories > New
  • Specify the source: Continuously index data from a file or directory this Splunk instance can access
  • Full path to your data: eg. /log/symmetrix/symstat_0042.log
  • Tick More settings
  • Set host: constant value
  • Host field value: eg. hostname.abc.com.au
  • Set the source type: Manual
  • Source type: symstat_0042
  • Index: storage
  • Click Save

Setup rsync cron jobs on the Splunk server:
Note: replace /log/symmetrix with the relevant path to your log files and replace solutionsenabler with the hostname of your Solutions Enabler server

30 * * * * rsync -q -az solutionsenabler:/var/log/EMCcapacity.`date +\%F`.log /log/symmetrix/EMCcapacity.log
*/5 * * * * rsync -q -az solutionsenabler:/var/log/symstat/symstat_0042.log /log/symmetrix/symstat_0042.log
30 05 * * * rsync -q -az solutionsenabler:/var/log/EMCsg_0042.`date +\%Y-\%m-\%d`.log /opt/splunk/etc/apps/symmetrix/lookups/emcsg_0042_lookup.csv

Required: Replace 0042 with the SID of your EMC Symmetrix VMAX Array

Solutions Enabler Configuration (REQUIRED)

  1. Download EMCcapacity.ksh and EMCsg.ksh from the following google code project:
  2. Update EMCcapacity.ksh and EMCsg.ksh with the SID of your EMC Symmetrix VMAX arrays
  3. Setup the following cron jobs on your Solutions Enabler server:
00 * * * * /usr/local/bin/EMCcapacity.ksh 1>/dev/console 2>&1
00 05 * * * /usr/local/bin/EMCsg.ksh 1>/dev/console 2>&1
0 0 * * * /usr/symcli/bin/symstat -sid 42 -type REQUEST -i 300 -c 288 > /var/log/symstat/symstat_0042.log

Note: Replace the -sid number above with the SID of your EMC Symmetrix VMAX array and also replace 0042 with your SID

Nagios Plugins supported by Splunk for Symmetrix

  • check-emc-symmetrix: http://code.google.com/p/check-emc-symmetrix/
    • check_3raid5_efd.sh - Check Enterprise Flash Disk Thin Pool Usage
    • check_7raid5_fc.sh - Check Fibre Channel Thin Pool Usage
    • check_raid6_sata.sh - Check SATA Thin Pool Usage
    • check_fast_vp_state.pl - Check FAST VP State
    • check_vmax_iops.sh - Check IOPS (Read & Write)
    • check_vmax_wr_pending.sh - Check Write Pending

Dashboards

Each of the following dashboards use one base search to feed all downstream panels to save search resources:

  • VMAX IOPS Graphs
    • Featuring an auto-populating drop-down list of Storage Arrays to easily display the IOPS of your Storage Groups
      • Uses lookup tables which are configured in props.conf & transforms.conf (ie. one lookup table per SID)
        • lookup tables are generated on the Solutions Enabler server by EMCsg.ksh
  • VMAX Storage Graphs
    • Featuring graphs of FAST VP Pool Usage, Savvol Usage, and TDEV Capacity for a given Storage Array
      • Enter the SID of your Storage Array
  • Nagios VMAX Performance Graphs (Requires Splunk for Nagios)
    • Featuring graphs of IOPS, MB per second, and Write Pending for a given Storage Array
      • Enter the hostname of your Solutions Enabler server

Disclaimer

  • This app has been created for the specifics of our Symmetrix environment (EMC VMAX running at least Enginuity 5875 with Solutions Enabler V7.3.0.1) and it may or may not suit your specific purposes.

License

  • GNU GENERAL PUBLIC LICENSE Version 3

v1.0

  • initial release

Versions and Release Notes

Version 1.0 (current version - updated Oct 24, 2011)

posted 24 Oct '11, 11:16

Luke%20Harris's gravatar image

Luke Harris
90818
accept rate: 16%

new version 24 Oct '11, 11:16


One Review:
0 ratings

That is a really nice idea with low indexing volume. But I would not call it 1.0 there are some major issues in the ksh scripts. I tested only capacity are sg´s - not the nagios part.

  • The sid is hardcoded in the files at several places.
  • The diskgroups are hardcoded too but not documented.
  • the awk scripts which cuts the harddisk size off fails sometimes becouse the last element is sometime not $9. I replaced that with $NF-1 (last field
  • the nagios support ist not optional. I don´t use nagios so the scripts fail.
  • mailto is predefined in both .ksh scripts.

I would place more variables in the configuration section to make the script work more general or at least to be easily configurable.

I still look for a method to get the performance data off the ecc, becouse i don´t want to have to performance collectors running.

but nevertheless:

Thanks for the idea and the collector scripts!

comments (0)

reviewed 18 Nov '11, 07:21

crescens's gravatar image

crescens
11
accept rate: 0%

Your review

Did you find this app useful?

Preview toggle preview

Details

This app is not covered by any support agreements in place with Splunk. If you have questions about the installation or operation of this app, please contact the author.

Version 1.0
Last Updated: Oct 24, 2011
Download App
Author: Luke Harris
Version: 1.0
Splunk compatibility: 4.3, 4.2, 4.1, 4.x
Price: Free
License: Lesser GPL
Downloads: 105

Follow this app

Log In to enable email subscriptions

RSS:

Reviews

Reviews + Comments

Copyright © 2005-2012 Splunk, Inc. All rights reserved.