Splunk AppDynamics

MONITORING DATABASE

Pascal_Anowi
Explorer

Hello everyone,

Please we are trying to monitor a database but everytime we run the querry we get the error

an error occured while fetching data the agent did not respond after 70 seconds

Has anyone had this issue before and how did you solve it

Labels (1)
0 Karma

Morelz
Builder

Can you share your full startup parameters for the service including the additional settings you just added? Just hide any sensitive info

Pascal_Anowi
Explorer
nohup java -Dappdynamics.agent.maxMetrics=300000 -Ddbagent.custommetric.query.timeout.seconds=600 -Ddbagent.name=DB-Agent-23.2 -jar db-agent.jar &
0 Karma

Morelz
Builder
That is correct, changes will only be activated upon restart of DB collector service

Pascal_Anowi
Explorer

Tried this but still got the same error

even after increasing the timeout and restarting DB collector services

image.png

0 Karma

Morelz
Builder

Hi, add an additional startup parameter to the DB Agent

-Ddbagent.custommetric.query.timeout.seconds=120

Increase timeout to what is required for your complex queries 

Ciao

Pascal_Anowi
Explorer

After increasing it do we need to restart a service or anything

0 Karma

Pascal_Anowi
Explorer

Thanks i would try it

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...