On Thu, 2010-07-29 at 18:10 +0200, Harald Friessnegger wrote: > hi there > > i'm using memmon to limit RAM usage of our zope instances. > > currently im using configurations like this > > [eventlistener:MemmonZope1] > command = bin/memmon -p instance1=700MB -m [email protected] > ... > > > since zope instanes are named instance1, instance2 etc for all projects on > all > servers the email notification does not help a lot. > > i can tell that it has restarted instance1. the emails from address tells me > which server the instance has been restarted on. > > but i can't tell whether it was instance1 on of project-X or instance1 of > project-Y, etc. > > > an additonal configuration option would help a lot, i'd suggest > > > -n the name of this memmon process, will be used in the email subject > in case -m is given > > > > [eventlistener:MemmonZope1] > command = bin/memmon -p instance1=700MB -m [email protected] -n "project X" > > > the subject could then contain this optional param: > > memmon [project x]: process instance1:instance1 restarted > > > > what do you think about this?
Sounds fine. It'd be a slam dunk if it came with a patch.;-) In the meantime, you can set up a wildcard email account and send email to [email protected] to disambiguate. - C _______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
