7 Replies Latest reply on Aug 8, 2011 9:50 AM by richard mcleod

    Monitoring Unix Process States

    richard mcleod

      Looking to monitor certain processes on Unix endpoints(AIX, Solaris, SLES), wondering what the best implementation would be?

       

      Was thinking something like an extended object where the command could be ps -eaf | grep proc or something....

        • 1. Re: Monitoring Unix Process States
          Bill Robinson

          BBSA is not really the best tool for this – BMC has a number of performance monitoring tools that are optimized for this purpose.

          • 2. Re: Monitoring Unix Process States
            richard mcleod

            Not so much looking for a performance monitoring solution, just a "is this process running?" yes/no type answer.

            • 3. Re: Monitoring Unix Process States

              Then yes, and EO would be the way to go.

              • 4. Re: Monitoring Unix Process States
                Bill Robinson

                How often though?  bbsa won’t work very well if you are checking every 1 min or something like that.

                • 5. Re: Monitoring Unix Process States

                  Performance monitoring is used as a general term here - you are not necessarily looking at how well a service is performing (although sometimes you might be), but sometimes just "does this server respond to ping" or "is this process still running", or "how much free space does this filesystem have", "what is the load average" and so on.

                   

                  It depends on what you want to do with the data.  For example, if you would like to alert someone or show it on a screen somewhere, or collect it in a report, it is probably performance monitoring/management that you are after.  Some BMC products in that area include PATROL, Performance Manager Portal, BEM/Impact Explorer, ProactiveNet, but that is not an exhaustive list of performance management tools.

                   

                  If you would like to do something about it (such as try and remediate a condition - restart a process, clean up disk space...) you might use BBSA for that, although monitoring and alerting for conditions/events is more of a performance monitoring / performance management area.

                   

                  You could write a script to check for the process and then run this script periodically using a scheduled job in BBSA, but if you are only after the logs and/or alerts, you are shoehorning an automation tool to do a monitoring job.

                  1 of 1 people found this helpful
                  • 6. Re: Monitoring Unix Process States
                    Tal Abramson

                    For Unix agents , you can use the custom object "Proccesses" which gives you a list of running proccess on the machine

                    You can create a template with a compliance rule on it that checks if a specific process exists

                    if it doesnt exist it means te process s not running

                    1 of 1 people found this helpful
                    • 7. Re: Monitoring Unix Process States
                      richard mcleod

                      Thanks for the answers, probably will include this process check as part of a Start of Day/End of Day type check, and additionally allow it to be viewed via Live Browse.

                       

                      Going to try Tal's suggestions.

                       

                      Will let you know how it goes.