Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jmx mail alerts for runtime parameters in jvm  RSS feed

 
suresh reddya.c
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

can any one help me on how to generate notification mails, if memory consumption and number of live threads exceeds some level in jvm by using jmx

any comment would very much helpful
 
Henry Wong
author
Sheriff
Posts: 23275
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
suresh reddya.c wrote:
can any one help me on how to generate notification mails, if memory consumption and number of live threads exceeds some level in jvm by using jmx

any comment would very much helpful


JMX is more of a container, than a library -- meaning it is similar to the EJB or servlet container. What it is capable of doing depends on what services (mbeans) are loaded.

So, if you happen to have an mbean that instruments the data that you want -- and have an email mbean installed. I guess you can configure one to send notifications to the other (assuming they are compatible).

Henry
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!