[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

check process matching problem

From: Lukas Korous
Subject: check process matching problem
Date: Tue, 18 Jan 2011 02:10:46 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20101207 Thunderbird/3.1.7


I would like to ask you for help. I am trying to use monit for
monitoring resources like CPU time and memory consumption etc.
processwise. My problem is that the processes do not create .pid files,
so I would like to exploit the possibility of using this syntax in
the .monitrc file:

check process matching "asdf".

However, when I try that, I get a syntax error: 
/home/lk/.monitrc:1: Error: syntax error '"asdf"'

The complete file looks like this ("asdf" is there just for testing the

check process matching "asdf"
  start program = "/usr/bin/db start"
  stop program = "/usr/bin/db stop"
  if cpu is greater than 90% then restart

It would be awesome if you could help me.

Thank you in advance,

Lukas Korous

reply via email to

[Prev in Thread] Current Thread [Next in Thread]