icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.
Log4Shell Vulnerability: Information and guidance for you. Get resources.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Disk Monitoring
SHA256 checksum (disk-monitoring_115.tgz) 5434597afd9d83844f779827e6f4327f03bdab4a9b4a5f4893ba3ccca30f5185 SHA256 checksum (disk-monitoring_114.tgz) b93e2c97c1a6e0e724be2e2a7c19107dab20f3c2beeec3042a653718cc0ef5df SHA256 checksum (disk-monitoring_113.tgz) d9b5b2ba2bc129249f76411251a989a9e13d82c128cff544a043d55647141cb3 SHA256 checksum (disk-monitoring_112.tgz) c5e6477f3d1831e0ee607c61a43694d534740244cb4a7bed10112545a7830f14 SHA256 checksum (disk-monitoring_111.tgz) d80f536fe7f2d1621a1d29b872ce8e13bd6e48d5fc008be63271fc3fed20bf9a SHA256 checksum (disk-monitoring_11.tgz) 4a4d6f618ff0b923f220f759739b17b769702aa95ddb45b57f6512413ece92da SHA256 checksum (disk-monitoring_10.tgz) da1876f2ef5007463dbedf031adbe717fbd6ada99bab8515b4ef995b72ce74e4 SHA256 checksum (disk-monitoring_06.tgz) be1373b21516fbcc3f54ff7b932195bae4e4a8b67f4f29dae7356941167cad57 SHA256 checksum (disk-monitoring_05.tgz) 8176809fdf423c51a59b54d072657d9fa56882550853ef9f3cb39be0fc54a0aa
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Disk Monitoring

This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
Use Disk Monitor to detect hard-drive failures before they occur. This app reads the data from the self-monitoring technology (also known as S.M.A.R.T. ) built into most drives in order to alert you when a drive appears to be failing.

The app is designed to be easily installed. On Windows, the app will collect hard-drive immediately with no additional configuration necessary (Unix requires the installation of smartctl from http://smartmontools.org).

Please consider supporting me in the developing this app; see https://github.com/sponsors/LukeMurphey

Background

The app is designed to be easily installed. On Windows, the app will collect hard-drive immediately with no additional configuration necessary (Unix requires the installation of smartctl from http://smartmontools.org).

Included Inputs

The app contains a series of scripts that will:

  1. Perform a S.M.A.R.T. self-test: this is recommended monthly
  2. Obtain S.M.A.R.T. data: this is recommended hourly

Several versions of the scripts are included:

  • smartmon_results.cmd: Obtain S.M.A.R.T. data and tests results (Windows, enabled by default)
  • smartmon_results.ps1: Obtain S.M.A.R.T. data and tests results (Windows, Powershell version)
  • smartmon_results.sh: Obtain S.M.A.R.T. data and tests results (*nix)
  • smartmon_short_test.cmd: Performs a short self-test (Windows, enabled by default)
  • smartmon_short_test.ps1: Performs a short self-test (Windows, Powershell version)
  • smartmon_short_test.sh: Performs a short self-test (*nix)

smartctl binaries for Windows are included by default in order to make installation easier. For this reason, the CMD scripts are enabled by default.


Windows

This app doesn't require Python and can be installed on a Universal Forwarder as well as a heavy forwarder. The input for performing hourly data gathering and monthly tests should work by default. No further changes should be necessary other than installing the app on a forwarder.

The app publishes views that will appear when the app is installed on a Search Head. It is recommended that you install the app on the Search Heads in order to monitor the Search Head disks and to use the analysis views.


Non-Windows

Install smartctl

The binaries are not included for non-Windows platforms. You will need to first install smartctl for your platform. See http://smartmontools.org for more details. Note that native packages may be available for your platform. For example, apt-get can be used to install smartmontools on Ubuntu (e.g. "sudo apt-get install smartmontools"). Make sure smartctl is in the path so that Splunk can run it. smartctl will also need root access. Thus, make sure it runs with the proper permissions.

Enable collection scripts

The collection scripts are not enabled by default since the smartctl binaries are not included with by default for non-Windows platforms. You will need to edit the inputs in order enable them. This can be done in the Splunk Manager by enabling the "smartmon_results.sh" and/or "smartmon_short_test.sh" script accordingly. You can also deploy a local version of inputs.conf to enable them:

   [script://./bin/smartmon_results.sh]
   disabled = 0

   [script://./bin/smartmon_short_test.sh]
   disabled = 0

See http://lukemurphey.net/projects/splunk-smartmon/wiki/Installation.

Release Notes

Version 1.1.5
Jan. 12, 2020

Fixing issue where the tabs didn't work on Splunk 8.0

Version 1.1.4
Jan. 25, 2018

1) Fixing issue where you could not get past the setup page
2) Improved the appearance of the tabs

Version 1.1.3
Dec. 18, 2017

Fixing issue where the first attribute was not listed on the disk details page

Version 1.1.2
Dec. 12, 2016

Updating *nix shell scripts to work on shells that don't support the "here string" operator

Version 1.1.1
Dec. 8, 2016

Removed unnecessary setup page

Version 1.1
Dec. 5, 2016

1) Added disk test reporting dashboard
2) Added the search views to the nav
3) Updated icon

Version 1.0
Oct. 31, 2016

1) Fix commented out but incorrect cron schedule 2) Fixed incorrect regex on Disk Details dashboard that sometimes caused self test results to be parsed incorrectly 3) Added single value of disks with warnings 4) Added filtering option for disks with warnings on the Disk Monitoring dashboard

Version 0.6
Aug. 29, 2016
  • Updated README
  • Added last observed time (useful to determine if hosts are reliably reporting data)
  • Added temperature monitoring to the disk details page
  • Fixing issue where attributes were sometimes listed as blank (due to parse issue)
  • Disk details page now includes panels in tabs
  • Added rendering of self-test logs to disk details page
  • Added search to alert you to failing disks
  • Changed the line-breaker to work with multiple versions of smartmontools
  • Warning messages from smartctl are now parsed and displayed on the dashboards
Version 0.5
Aug. 23, 2016

Initial version


Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.