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!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...