13 Mar 2025 12:00 AM
Hi . I have created a DB2 custom extension 2.0 using custom extensions creator and Deployed that to Dynatrace using the certificate . It deployed successfully and connection is fine . But it gives me 2 warning message one after another .
1- While polling for endpoint query have failed: db2 invalid objects Tag
2- Connection exists but no metrics have been produced for endpoints
Kindly help
13 Mar 2025 06:28 AM
Hi @sdas,
Check your logs in the below location of your AG.
/var/lib/dynatrace/remotepluginmodule/log/extensions/datasources
Thanks
13 Mar 2025 08:36 PM
Thanks for responding Aravind . I have created the Extension using Custom Extension creator . and below is the content of my yaml. The text provided in the group (db2 invalid objects Tag
) shows in the Warn message. The query is working fine and I am getting result in DB .
14 Mar 2025 05:42 AM
hi @Das-Niharika,
With the Query which you shared, I believe it would be good if you can revalidate the Object which you declared in the DB. Use the below comment to validate,
CALL SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS();
Also check the dependencies of those objects would help as well.
Did you validated the logs?
If you can share the SS for Custom Extension Configuration screen and the DB screen would helpful to further investigate.
Thanks
17 Mar 2025 04:41 PM
Hi Aravind ,
Here is the log screenshot. It connects initially then I believe while executing the query the timeout occurs .
Monitoring configuration
[ { "value": { "enabled": true, "description": "malak02", "version": "0.0.2", "sqlDb2Remote": { "endpoints": [ { "host": "malak02", "port": 3952, "databaseName": "USMODAT", "authentication": { "scheme": "basic", "useCredentialVault": true, "credentialVaultId": "CREDENTIALS_VAULT-8DD91FD61C808BC6" }, "ssl": true } ] } }, "scope": "ag_group-prometheus" } ]
18 Mar 2025 05:50 AM
Hi @Das-Niharika,
Seems a known issue from the DB side. Can you please validate the firewall if applicable and proxy if any.
And have a look at this page as well. Check you are in latest version.
Thanks
14 Mar 2025 05:44 AM
Added with above query please validate this also in your DB.
db2 "SELECT CAST(COUNT(*) AS INTEGER) FROM SYSCAT.INVALIDOBJECTS"