Java Melod Tool

43 views
Skip to first unread message

divya.b...@gmail.com

unread,
Jun 9, 2020, 3:27:15 AM6/9/20
to javamelody
Hi Team,

I want to automate one part in Java Melody tool. I want to automate the JDBC connections threads. If there are more than 10 threads it should send mail to my team .can we implement this concept.

Please let me know if can we implement or not.?


Thankyou in Advance.

evernat

unread,
Jun 10, 2020, 6:18:45 PM6/10/20
to javamelody
Hi Divya,

Yes, you can have alerts using a Jenkins server and a Groovy script in a scheduled job to get and check data.

Or you can just get the current values as numbers each minute with the following URLs, using Linux cron for example:
.../monitoring?part=lastValue&graph=usedConnections
.../monitoring?part=lastValue&graph=activeConnections

bye,
Emeric

divya bedadala

unread,
Jun 11, 2020, 3:39:28 AM6/11/20
to javam...@googlegroups.com
Thankyou for your information

--

---
You received this message because you are subscribed to a topic in the Google Groups "javamelody" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javamelody/qVXOq4f4Uac/unsubscribe.
To unsubscribe from this group and all its topics, send an email to javamelody+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/javamelody/e8713a97-f156-46ba-a1de-fd3c270f6e25o%40googlegroups.com.

divya bedadala

unread,
Jun 17, 2020, 5:22:33 AM6/17/20
to javamelody
HI,

Can we implement in java?
Reply all
Reply to author
Forward
0 new messages