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.

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 Scripted Input for RRD database
SHA256 checksum (scripted-input-for-rrd-database_10.zip) 2f162311b3794d2bc1825621f997709fdcb924d9deba60913e1f90daf20ef696
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Scripted Input for RRD database

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
Simple python script for reading and dumping RRD databases. Requires pyrrd.

This simple script gives you the ability to import RRD database records to Splunk.
RRD database is used by MRTG, collectd, ntop, ganglia, munin and many other monitoring tools to record time series data.
With this add-on, you can use these tools to collect performance data from many nodes, and use Splunk for searching and graphing the collected data.

Customization

Some parameters can be changed by directly editing the script.

See the head part of the scirpt:

FETCH_INTERVAL = 600 # in seconds
STEP = 10
CONSOLIDATION_FUNCTION = "AVERAGE"
TIME_FORMAT = "%Y-%m-%d %H:%M:%S"

FETCH_INTERVAL is the interval you run this script. This value must be the same as the value of "interval" in your input.conf.

STEP is from RRD files. The value to be set varies depending on the creators of the RRD files. To know a value for your RRD file, you can use the following command:

rrdtool info PATH_TO_YOUR_RRD_FILE

This command prints information of your RRD file.

filename = "cpu-system.rrd"
rrd_version = "0003"
step = 10
last_update = 1298883682
header_size = 3504
...

Look at the line that starts with "step =". That is the value to be set to STEP. In this case, it is "10".

CONSOLIDATION_FUNCTION is the function that is applied to values recorded in RRD files to calculate the final input to the script.

TIME_FORMAT controls how the script formats timestamps. Python's strftime-style format string can be used.

Release Notes

Version 1.0
Feb. 24, 2011

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.