The system you want to monitor is added to CloudRadar, for details see Adding hosts.
The agent is installed and running on this system, for details see Installing agents.
You are familiar with the general procedure for defining new rules, for details see Creating rules.
Start creating a new rule and follow the guidelines below:
For Host choose Is, and select from the list the system where the agent is installed.
For Check type choose Agent, and select some of the Number of running processes options considering the following:
A process can be identified either by it's name (like
apache), or by the complete command line that includes all parameters used to start the process (like
/usr/sbin/apache2 -k start.
The best option for receiving alerts about a crashed process is choosing Number of running processes (match processname). If the same process runs multiple times on the system with different parameters and you want to monitor them separately, choose Number of running processes (match cmdline).
Pay special attention to Java processes. Almost always the process name is just "java" and the real name of your program (for example, the Jar file) is a parameter. For cases like this it is best to choose the "by cmdline" option.
Enter the name of the process, or the command line with which it is started.
For Check conndition, set checking if the last value is equal to a particular number, or it differs in some other way.
Complete the rule creation process and save the rule.
For example, following this procedure you could create a rule like the one shown below: