Hi,
I need verify if a specified process is running in a IBM server.
Could I use APM to make this task ?
I only need know if this process is runnig or not (ps -ef | grep -v grep | grep process_name)
Thanks
I've never used an IBM server so I might be talking out my a** here. Does your IBM server have an SNMP agent installed? If so, it should be relatively easy to set this up in APM.
If you don't have an SNMP agent installed, I assume you can create a perl script that can perform this verification.
As long as either one of these options is available to you, you should definitely be able to use APM to monitor any processes that may interest you.
This server haves SNMP installed, but when I issue a "find process..." doesn´t return nothing. - It´s a old snmp version (v1).
How could I use APM to verify this process ?
I know how create a script ( ps -ef | grep -v grep | grep process_name), but
how APM will alert if this process does not found ?
Create an application template using the Linux/Unix Script Monitor component. Instructions on how to properly set this up can be found in the APM admin guide (direct link to online version). As as you properly output the Statistic for the script, you can create an alert based on this value.