Altiris Monitor Solution to monitor availability of UNIX's processes
Created: 03 May 2010 | 3 comments
Hi Gurus
Could anybody suggest me how I can use Monitor Solution to monitor UNIX's processes (daemons) whether they are running or not? I found only matric for Windows Services / Processes which is configurable but not for UNIX/Linux.
Many thanks
Komglish
Discussion Filed Under:
Comments
Monitor Solution to monitor availability of UNIX's processes
Hello Komglish,
The usual way we achieve this with Monitor solution today is by using the command line metric type for UNIX/Linux. You could use a PS -ef to pull back all the running processes etc... or look for a specific process or use the Compound Metric type to evaluate all of the processes after they are returned.
Please let me know if this helps?
Hi Joseph Thank you very
Hi Joseph
Thank you very much. I follow your recommendation by wrieing a shell script to check the daemon I need to monitor like "if [ ! -z `pgrep -n vsftpd` ] ; then echo 1 ; else echo 0; fi" to check vsftpd daemon and let it return 0 or 1 to indicate the status of the daemon. It works well.
Anyway, any plans to make it more easier to monitor UNIX/Linux in the next version? I think it is more convenient for us to have ready-to-use metrices to check common things on UNIX, rather than spend time to script it up.
Thank you again.
Monitor Solution to monitor availability of UNIX's processes
Hello Komglish,
Many thanks for your feedback and i have taking a use case and requirement of your request. Please feel to post the Custom Monitor Policy to the Community for other to use.
Many Thanks and Your feedback is always appreciated.
Kind Regards,
Would you like to reply?
Login or Register to post your comment.