Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Altiris Monitor Solution to monitor availability of UNIX's processes

Created: 03 May 2010 | 3 comments
komglish rangphonsumrit's picture
0 0 Votes
Login to vote

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

Comments

Joseph_Carson's picture
06
May
2010
0 Votes 0
Login to vote

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?

komglish rangphonsumrit's picture
11
May
2010
0 Votes 0
Login to vote

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.

Joseph_Carson's picture
20
May
2010
0 Votes 0
Login to vote

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,