Splunk ITSI

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!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...