Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have Monit checking a process whose name is just "python", but would like a more informative name (e.g. "webapp") in status, emails, etc. Is there any way to declare an alias, or would I have to change the process's name to achieve this?

share|improve this question
add comment

1 Answer

The name argument directly after CHECK PROCESS is freeform and can be anything. The name is supposedly only used internally inside Monit for purposes of notification. As long as you specify the pid file, monit does not care what the name of the process is.

See their docs (search for procmatch): http://mmonit.com/monit/documentation/monit.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.