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
Motivator

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
Motivator
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
Motivator

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!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...