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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...