I am using Linux ES release 4 .
My point is that looks like hobbit does not parse the process UID colum but
checks only CMD colum (while bigb monitors all ps colums) so that even if I
set up hobbit-clients.cfg to monitor UID it will be ignored .
Do you know a pragmatic way to monitor UID colum ?
2007/3/16, Gary Baluha <user-ae3e15c22de1@xymon.invalid>:
What OS are you using? Depending on the OS, you may need to modify how
Hobbit calls "ps". Another way is to write an external Hobbit script (you
could even have it use the data Hobbit is already retrieving, if you make it
a server-side script).
On 3/15/07, Syrup Ari <user-9edad2bba057@xymon.invalid> wrote:
Hello,
I would like to know how to monitor a process is running and it is ran
by a particular user .
ex)
For the following process I would like to check a) java is running and
b) it is being ran by irsaprd user .
irsaprd 8349 8314 0 07:22 ? 00:00:11
/usr/java/j2sdk1.4.2_08/jre/bin/java -Dprocess=indexEngine
It can be checked with the following set up with bigb .
# grep indexEngine ~bigb/bb/etc/bb-proctab
localhost : :"irsaprd .*java -Dprocess=indexEngine;=1"
#
Does anyone know how to do this with hobbit ?