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 a custom background process (service) for our app (on Linux). I am hoping I can get cPanel to monitor/control the process.

I tried adding an entry to /etc/chkserv.d/chkservd.conf, based on this presentation - but I think its for a newer version as chkservd.conf does not match the layout shown.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Have a look at this: http://arunjoshy.wordpress.com/6-2/

share|improve this answer
    
The chkserv.d stuff looks hopeful - will try that out. Wonder if it will pick up new services without restarting... –  Chris Kimpton Apr 5 '11 at 20:10
    
I personally wouldn't leave my monitoring to chkservd, what happens if that fails? You may wish to consider external monitoring, for example use OPManager to monitor the process to increase detection reliability, if the process fails have the monitoring software restart the process via SSH. (Alternative applications will do the same) –  Richard Apr 5 '11 at 20:17
    
Thanks - its early days for us, opsmanager maybe a good solution in the long run though. –  Chris Kimpton Apr 5 '11 at 20:25
1  
This might be a better solution for you: cr.yp.to/daemontools.html –  Richard Apr 5 '11 at 20:30
    
Because of link rot, please try not to answer questions here with a URL. You should answer the question here and can provide additional links for reference/additional reading. (No, I didn't downvote you. I see you are new so this is just helpful advice.) –  Aaron Copley May 9 '12 at 14:40

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.