Xymon Mailing List Archive search

monitor processes by owner

list Jerald Sheets
Thu, 29 Oct 2009 10:02:29 -0400
Message-Id: <user-e74240b6d9ad@xymon.invalid>

How about write a custom script that is green when your ps -ef |grep
<procname> has the appropriate user, yellow if say, 1 or two is owned by
someone else, and maybe red if 5 or more?

You could also do no middle ground, too.  Green or red.

Fairly trivial, but it would not be monitored as a PROC, it would be a
custom check.

 Jerald Sheets
Sr. Systems Engineer
CNN News Systems
* user-dc7b196c5161@xymon.invalid
* XXX.XXX.XXXX  *XXX.XXX.XXXX  


-----Original Message-----
From: Josie Wells [mailto:user-94bf861d423d@xymon.invalid] 
Sent: Thursday, October 29, 2009 6:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] monitor processes by owner

Hi,

I am new to this mailing list so apologies if I am breaking any protocol
by sending this mail out to this address - I have searched the faqs and
can find no answer.

What I am trying to do is to monitor processes by the owner. 

In hobbit-clients.cfg I can specify a string to search for in the
process name but I can find no way to look in the USER column.

If I could, then I could get a count of processes owned by oracle and
graph it out.

Is this possible?

Many thanks

Josie