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?

regards, harald


-- 
Webmeisterei GmbH - Büro für Netzfragen
Tel: +43 5572 908877,  Fax: +43 5572 908877-66
Steinebach 18, A-6850 Dornbirn

http://www.webmeisterei.com
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to