testdriven / psi-probe

Advanced manager and monitor for Apache Tomcat, forked from Lambda Probe
8 stars 1 forks source link

Email notifications triggered by memory usage #14

Open padcom opened 9 years ago

padcom commented 9 years ago

From robertos...@gmail.com on April 20, 2009 11:29:25

Request for enhancement:

Add the ability to monitor HeapSize, PermGen Space etc. and inform by email if limits are exceeded

Original issue: http://code.google.com/p/psi-probe/issues/detail?id=14

padcom commented 9 years ago

From MALfunct...@gmail.com on April 20, 2009 08:52:40

Labels: -Type-Defect Type-Enhancement

padcom commented 9 years ago

From MALfunct...@gmail.com on May 06, 2009 17:27:46

Robert, I like the idea, but there are a few details that need to be nailed down. For instance, what did you have in mind for how users configure these e-mail notifications? How should Probe store them? I can imagine several possibilities.

Perhaps the settings are stored in a file which can be uploaded (or downloaded) through Probe. Perhaps Probe provides a web interface for editing the settings directly. What happens if the server is restarted, though? Are those settings persisted somewhere on disk or would they have to be configured again?

padcom commented 9 years ago

From robertos...@gmail.com on May 07, 2009 01:28:38

I like the idea to be able to set the email settings (sender, mail-host, auth, receiver) in the web-interface. We can persist it to a property file.

padcom commented 9 years ago

From MALfunct...@gmail.com on August 12, 2009 14:46:15

I've been trying to think about where these files would be stored. We wouldn't want them stored in webapps/probe because they would disappear if Probe is undeployed. However, Hudson stores its settings in the user's home directory. I think that's the perfect place to persist these settings, too.

padcom commented 9 years ago

From MALfunct...@gmail.com on August 15, 2009 09:29:50

Blockedon: 39

padcom commented 9 years ago

From MALfunct...@gmail.com on August 19, 2009 22:04:26

Labels: -Type-Enhancement -Milestone-TBD Type-Feature Milestone-Later

padcom commented 9 years ago

From MALfunct...@gmail.com on January 16, 2010 17:00:25

Status: Accepted

padcom commented 9 years ago

From MALfunct...@gmail.com on January 18, 2010 12:25:22

This fits the proposed theme for 2.1.

Labels: -Milestone-Later Milestone-2.1

padcom commented 9 years ago

From MALfunct...@gmail.com on April 22, 2010 21:53:34

Labels: Priority-High

padcom commented 9 years ago

From MALfunct...@gmail.com on May 03, 2010 09:45:44

Filed issue 108 to represent saving these settings across restarts.

For now, they will be configured through command-line properties.

Blockedon: -39

padcom commented 9 years ago

From MALfunct...@gmail.com on June 16, 2010 19:24:56

Delayed.

Labels: Milestone-TBD

padcom commented 9 years ago

From MALfunct...@gmail.com on September 26, 2010 18:40:53

Labels: Milestone-2.2

padcom commented 9 years ago

From MALfunct...@gmail.com on October 18, 2010 11:47:46

To clarify, this issue is only going to cover setting up the framework for mail notifications. Adding the notifications themselves to specific features will be covered by separate issues. For memory usage notifications, see issue 158 .

We'll want to link to JavaMail properties in our documentation of this feature since users will need to at least set the mail.smtp.host property. http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html

padcom commented 9 years ago

From MALfunct...@gmail.com on January 09, 2011 12:32:40

Renaming 2.2 milestone to 2.2.0.

Labels: Milestone-2.2.0

padcom commented 9 years ago

From MALfunct...@gmail.com on April 17, 2011 08:27:15

There is a lot of design work that needs to go into this feature.

It makes sense that the email notification would be tied to stats collection. Should it continuously notify while the threshold is exceeded? Depending on the collection interval, this could be a flood of emails. Should it notify once when the memory threshold is exceeded and once again when it falls back below?

What if the value is alternating between two values, one above and one below (as can happen with memory usage between garbage collections). Should it stop emailing when it reaches a "flapping" state, and then resume again when it's stopped "flapping"?

This issue is being delayed so it doesn't hold up PSI Probe 2.2.

Labels: -Milestone-2.2.0 Milestone-2.3.0

padcom commented 9 years ago

From amber...@gmail.com on April 18, 2011 18:55:23

Thank you for considering adding this feature. I hope it gets included in the next milestone.

I like the idea of notify once when the memory threshold is exceeded and once again when it falls back. Would it be possible to set a second threshold and send a second notification if the trend is keep going up and not garbage collect interval has not kicked in? By having second threshold, it gives an opportunity to advise collection if necessary.

I personally have not really experience the alternating between the two values (below and above the threshold). I think it's a great idea of stop email when it reaches a "flapping" state and resume after it no longer "flapping".

padcom commented 9 years ago

From MALfunct...@gmail.com on April 21, 2011 08:13:01

I got the ideas from Nagios. http://www.nagios.org/ I think it would be possible to have a second threshold, but considering how complex this is becoming, I think we may need a design document.

padcom commented 9 years ago

From MALfunct...@gmail.com on July 06, 2011 11:37:41

I'm going to start with very basic support. We can always extend it later.

Status: Started
Owner: MALfunct...@gmail.com

padcom commented 9 years ago

From MALfunct...@gmail.com on August 08, 2011 10:44:50

This issue was updated by revision r573 .

Adding email utility classes.

padcom commented 9 years ago

From MALfunct...@gmail.com on September 28, 2011 14:37:30

This issue was updated by revision r586 .

Making several adjustments to email utilities.

padcom commented 9 years ago

From MALfunct...@gmail.com on September 28, 2011 14:45:07

This issue was updated by revision r587 .

Adding stats collection event/listener API.

padcom commented 9 years ago

From MALfunct...@gmail.com on October 12, 2011 15:41:41

This issue was updated by revision r598 .

Adding license to source files.

padcom commented 9 years ago

From MALfunct...@gmail.com on October 12, 2011 15:43:26

Regretfully delayed again.

Labels: Milestone-2.4.0

padcom commented 9 years ago

From MALfunct...@gmail.com on December 19, 2011 16:04:18

Issue 158 has been merged into this issue.

padcom commented 9 years ago

From MALfunct...@gmail.com on December 19, 2011 16:04:22

Blocking: -158

padcom commented 9 years ago

From MALfunct...@gmail.com on December 21, 2011 15:19:34

This issue was updated by revision r623 .

padcom commented 9 years ago

From MALfunct...@gmail.com on December 21, 2011 15:24:45

Summary was: "Add Tomcat Monitoring with Email notification"

Summary: Email notifications triggered by memory usage

padcom commented 9 years ago

From MALfunct...@gmail.com on February 07, 2012 14:46:37

This issue was updated by revision r631 .

padcom commented 9 years ago

From MALfunct...@gmail.com on February 29, 2012 15:58:36

This issue was updated by revision r634 .

Adding Mailer bean to Spring context.

padcom commented 9 years ago

From MALfunct...@gmail.com on April 26, 2012 15:25:01

This issue was updated by revision r671 .

Adding hidden instructions to Configuration wiki. They will be made visible after this feature is released.

padcom commented 9 years ago

From MALfunct...@gmail.com on April 26, 2012 15:28:01

This issue was updated by revision r672 .

padcom commented 9 years ago

From MALfunct...@gmail.com on April 30, 2012 16:15:23

This issue was updated by revision r674 .

Adding enabled flag to stats collection listener.

padcom commented 9 years ago

From MALfunct...@gmail.com on April 30, 2012 16:23:24

This issue was updated by revision r675 .

padcom commented 9 years ago

From MALfunct...@gmail.com on May 02, 2012 15:34:28

This issue was updated by revision r676 .

padcom commented 9 years ago

From MALfunct...@gmail.com on May 02, 2012 15:37:23

This issue was updated by revision r677 .

padcom commented 9 years ago

From MALfunct...@gmail.com on May 04, 2012 14:54:58

This issue was updated by revision r678 .

padcom commented 9 years ago

From MALfunct...@gmail.com on May 04, 2012 15:07:39

This issue was updated by revision r679 .

Adding more information to Configuration instructions on the wiki (currently hidden).

padcom commented 9 years ago

From MALfunct...@gmail.com on May 04, 2012 15:13:49

TODO:

padcom commented 9 years ago

From MALfunct...@gmail.com on May 04, 2012 15:15:19

This issue was updated by revision r680 .

Adding MemoryPoolMailingListener.

padcom commented 9 years ago

From MALfunct...@gmail.com on November 19, 2012 15:43:09

This issue was updated by revision r714 .

Adding SizeExpression (and using it in VolumeTag).

padcom commented 9 years ago

From MALfunct...@gmail.com on April 10, 2013 14:35:38

This issue was updated by revision r749 .

Moving default FlapListener settings into stats.properties.

padcom commented 9 years ago

From MALfunct...@gmail.com on April 10, 2013 15:39:43

This issue was updated by revision r750 .

padcom commented 9 years ago

From MALfunct...@gmail.com on April 15, 2013 11:52:16

This issue was updated by revision r751 .

padcom commented 9 years ago

From saikrish...@gmail.com on March 04, 2014 04:03:15

when can we expecting this release 2.4?