Splunk IT Service Intelligence

Dashboards to monitor KPI (key Performance Indicators) of database servers

VijayD
New Member

Hi

I am looking for some way to forwarder KPI (key Performance Indicators) of database server (for example MongoDB) to Splunk. Once data is indexed will be creating dashboards to monitor multiple servers.
Idea is to monitor KPI of multiple database servers (not necessarily only MongoDB . MongoDB is just one of the example)

Want to know how to forwarder these KPIs to Splunk indexer.
Is there any best practice/ known App/ script to forward KPIs (key Performance Indicators ) using forwarder to Splunk indexer?

Thanks
Vijay

Tags (1)
0 Karma

linu1988
Champion

Hello Vijay,
This is a quite common or general feature of Splunk. KPI you have to decide because it will vary DB to DB and defer how you monitor and what server you monitor.

Below are the documents you need to Follow:

This will help you setup the forwarder and splunk instance.

http://docs.splunk.com/Documentation/Splunk/latest/Installation/Whatsinthismanual

This will help you putting input e.g. scripts/Perfmon KPI parameters.

http://docs.splunk.com/Documentation/Splunk/6.0.2/admin/inputsconf

Recommended Apps are there for Windows and Unix to get you started. You can also refer blogs to decide on the DB KPI parameters and add them in Inputs.conf file

Thanks

0 Karma

linu1988
Champion

Have not come across specifc app for these KPI monitoring but it can be done easily with some research on the parameter and custom scripts.

0 Karma

linu1988
Champion

Vijay,
when i meant for inputs for different DB i was referring to DB with different platforms. If you consider windows it will have perfmon counters which will give you the user connections, db size, transactions etc., which you can configure in inputs.conf like below.

[perfmon://SQLServer:General Statistics]
interval = 10
object = SQLServer:General Statistics
counters = User Connections
index= main

The same you can get using a manual sql script

[script://$Splunk_Home/etc/apps/SplunkForwarder/Bin/Script/custom_script.bat]
interval = 10

So this is the kind of input we can provide.

0 Karma

VijayD
New Member

Hi linu

As per my understanding, KPIs of database will be in memory & not in file system or logs(please correct me if that is not the case)
If KPIs are in memory I am interested in methods (script?)to read KPIs. We can direct Splunk forwarder to send it to indexer. Looking for MongoDB and Cassendra.

More specifically I am interested in knowing how to read KPIs. As you mentioned reading database KPS is common feature of Splunk my question “is there any special App we can deploy to database server for reading KPIs” / Do we have any sample scripts for reading these KPIs?

Thanks

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...