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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...