9.40. Configuration for the proc check.

The proc-check checks, if all configured processes are runnning. You can configure, how many instances for each process have to run (eg: 5 apache processes).

PROC

Explanation

PROC is the enclosing tag for all process entries.

Parent

OSAGENT

allowed values

Count

0 or 1. If you don't define PROC, no proc check will run.

Example
<PROC>
  <PROCESS>
    <PROCNAME>apache</PROCNAME>
    <ERRORLEVEL>ERROR</ERRORLEVEL>
    <DESCRIPTION>Apache isn't running. Restart it with
    /etc/init.d/apache start</DESCRIPTION>
  </PROCESS>
  <PROCESS>
    <PROCNAME>sshd</PROCNAME>
    <ERRORLEVEL>WARNING</ERRORLEVEL>
  </PROCESS>
</PROC>
        

PROCESS

Explanation

For every process, you want to check, you define a PROCESS-pair.

Parent

PROC

allowed values

Count

As many as you like.

Example

Look at PROC

PROCNAME

Explanation

Name of the process to be checked. This is a Perl regular expression, therefor you have to be careful not to describe too much processes (you might want to work with ^ and $).

Parent

PROCESS

allowed values

Perl regular expressions describing one or more processes.

Example

Look at PROC

NUMBER

Explanation

How many instances of the named process should exist at least ?.

Default: 1

Parent

PROCESS

allowed values

Any number you want.

Example

Look at PROC