[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] monitor processes by owner
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] monitor processes by owner
- From: Patrick Nixon <pnixon (at) gmail.com>
- Date: Thu, 29 Oct 2009 12:58:11 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=wVX3hP7rbh7Fne2rt4aO2pt27bC43KVc8gCEYy5yFKo=; b=V6VAamnFYTXUCgU6mBWZWRkiYG10BqY0eH+vGkrGJRsMMw7nHgr9iAL8Nexa16kAmc Mkgka15JOl1bv+cALYnKhRw4fHI0VGmSXV9q4UlH5DpCpVbhToWaFfiYQhu11bEogRuc hw9yHJLUuwPwovLSb9ZYKQGNOMVimednF1Zuw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=F0E3U/UwEAEN4a2JG+FYPyjHa3a2Hy7AhR9Es+mEaVOuFkws/0sQ9bPdGfv/0L68AJ P3c11CpDcVe54vDOTtvLLW5LuyT6okOK1qv30u27LiqMfI2aBu7uhdsCWKLxbr2+XbKp h/srSq1sPOIUYKw+51am/MDr3skd/IQ4xYa1A=
- References: <967115.28307.qm (at) web55106.mail.re4.yahoo.com> <47D991EF7187A34D9A65691CF485C04906E64EF9 (at) ATLVMX01.turner.com>
Sort of similar to Jerald's idea, but it'll get you the graphs easier. :)
On your db server, go into the client's etc directory and modify the
hobbitclient.cfg.
changing
PS="ps ax"
to
PS="ps ax | $GREP oracle"
Caveat: This will restrict you to *JUST* monitoring processes for
oracle, nothing else on the server in question.
On Thu, Oct 29, 2009 at 10:02 AM, Sheets, Jerald
<Jerald.Sheets (at) turner.com> wrote:
> 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
> * Jerald.Sheets (at) turner.com
> * 404.878.0566 *404.293.8762
>
>
>
>
>
> -----Original Message-----
> From: Josie Wells [mailto:josie_wells (at) yahoo.com]
> Sent: Thursday, October 29, 2009 6:40 AM
> To: hobbit (at) hswn.dk
> 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
>
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>