Re: CPU monitoring service?

2003-03-28 Thread Sudhakar list
I'm using Big Brother and it works like a charm. We can also monitor specific process with it. - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 2:04 PM Subject: CPU monitoring service? > Is the

Re: CPU monitoring service?

2003-03-28 Thread Sudhakar list
I've been Big Brother and it works like a charm for the same purpose. We can also monitor specific services with it. - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 2:04 PM Subject: CPU monitoring ser

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Bret Hughes
On Wed, 2003-03-26 at 18:02, Chris wrote: > Hi Jeff, > > > > Now, is it possible to kill a process, based on it's name (not PID) when > > > such message is triggered and an email is dispatched to my cell phone? > The > > > > Yes it is possible. Lets see you come up with some ideas and we'll help

Re: Re[2]: CPU monitoring service => even more Correct

2003-03-26 Thread Chris
Hello Brian, > Don't know that much about the FP extensions, but... > > Have you tried adding... > alias Author.exe='nice +19 /path/to/Author.exe' > to the user who runs that process' ~/.bashrc ? > (I don't know if it is your webserver or not) > > That should slow it down a bit. > > Alternatively,

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Chris
Hi Jeff, > > Now, is it possible to kill a process, based on it's name (not PID) when > > such message is triggered and an email is dispatched to my cell phone? The > > Yes it is possible. Lets see you come up with some ideas and we'll help > you refine them. You already got a free gimme. :-) T

Re[2]: CPU monitoring service => even more Correct

2003-03-26 Thread Brian Ashe
Hello Chris, Wednesday, March 26, 2003, 4:36:41 PM, you textually orated: C> I'd love to just kill the "Author.exe" process sucking up all the CPU C> cycles when the load gets to 5+ level (for example), to automatically C> stop her unnecessary imact on the server. Since the PID changes all the C>

Re: CPU monitoring service?

2003-03-26 Thread Gene Yoo
Chris wrote: Is there a way to have a Red Hat 7.x machine send an email to a predetermined email address when the CPU usage reaches a certain point? Sort of like those godawful RaQ servers do, but for standard RH7 installation. I'd like to have such emails sent to my cell phone with server name an

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Jeff Kinz
Thanks, > > Chris > > > > > - Original Message - > From: "Anthony E. Greene" <[EMAIL PROTECTED]> > Sent: Wednesday, March 26, 2003 1:07 PM > Subject: Re: CPU monitoring service => even more Correct > > > > Chris wrote: &

RE: CPU monitoring service?

2003-03-26 Thread Rechenberg, Andrew
://www.sins.com.au/nmis/ >> -Original Message- >> From: Jeff Bearer [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, March 26, 2003 4:56 PM >> To: [EMAIL PROTECTED] >> Subject: Re: CPU monitoring service? >> >> >> I scanned the replies and didn't see i

Re: CPU monitoring service? (OpenNMS + Net-SNMP).

2003-03-26 Thread Jose Vicente Nunez Z
If you're serious about a large cluster maybe you will want to use SNMP and NMS (well known standards). My choices (for Solaris and Linux) are: - SNMP Agent: Net-SNMP (http://net-snmp.sourceforge.net) - NMS: OpenNMS (http://www.opennms.org) Both programs have a very active community behind them,

Re: CPU monitoring service?

2003-03-26 Thread Jeff Bearer
I scanned the replies and didn't see it mentioned, Nagios is the free clone that Ed was talking about. http://www.nagios.org/ On Wed, 2003-03-26 at 14:04, Chris wrote: > Is there a way to have a Red Hat 7.x machine send an email to a > predetermined email address when the CPU usage reaches a cert

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Chris
--- Original Message - From: "Anthony E. Greene" <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 1:07 PM Subject: Re: CPU monitoring service => even more Correct > Chris wrote: > The problem is that $load actually contains a string representation of a > float

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Anthony E. Greene
Chris wrote: I sort of got it working, other than it complains with "integer expression expected" on the "if [ $load -gt $#MY_THRESHOLD ] ; then". If I comment out the whole loop and have it send the current CPU level by itself, without checking MY_THRESHOLD, it works perfectly... one time only,

Re: CPU monitoring service?

2003-03-26 Thread Ed Wilts
On Wed, Mar 26, 2003 at 12:09:23PM -0800, Chris wrote: > Thanks for the info - this looks very cool indeed! The Spotlight product > looks really cool too - I'll definitely have to have a look at both. > Pricing on Big Brother Pro is a little high for my pocket, but we'll > see how the demo wo

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Jeff Kinz
's/\.//'` may work > > Chris > > > > - Original Message - > From: "Jeff Kinz" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 26, 2003 11:31 AM > Subject: Re: CPU monitoring service => even more Corre

Re: CPU monitoring service?

2003-03-26 Thread Chris
- Original Message - From: "Ed Wilts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 11:33 AM Subject: Re: CPU monitoring service? > On Wed, Mar 26, 2003 at 11:04:08AM -0800, Chris wrote: > > Is there a way to have a Red Hat 7.x mac

Re: CPU monitoring service => Correction

2003-03-26 Thread Anthony E. Greene
Jeff Kinz wrote: [snip] #The name of the server NAME=`hostname` Shouldn't you be able to just use the $HOSTNAME env var? Tony -- Anthony E. Greene OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage:

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Chris
f Kinz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 11:31 AM Subject: Re: CPU monitoring service => even more Correct > On Wed, Mar 26, 2003 at 02:25:52PM -0500, Jeff Kinz wrote: > CORRECTION: > mail -s "$NAME load is at $load&q

Re: CPU monitoring service?

2003-03-26 Thread Ed Wilts
On Wed, Mar 26, 2003 at 11:04:08AM -0800, Chris wrote: > Is there a way to have a Red Hat 7.x machine send an email to a > predetermined email address when the CPU usage reaches a certain point? If you're concerned about the cpu load, you're probably also concerned about other stuff, so have a loo

Re: CPU monitoring service => even more Correct

2003-03-26 Thread Jeff Kinz
On Wed, Mar 26, 2003 at 02:25:52PM -0500, Jeff Kinz wrote: CORRECTION: mail -s "$NAME load is at $load" [EMAIL PROTECTED] should be : mail -n -s "$NAME load is at $load" [EMAIL PROTECTED] < /dev/null resulting in.: #The name of the server NAME=`hostname` #

Re: CPU monitoring service => Correction

2003-03-26 Thread Jeff Kinz
On Wed, Mar 26, 2003 at 02:21:06PM -0500, Jeff Kinz wrote: > Off the top of my head - totally untested, not even syntax checked. CORRECTION: mail -s "$NAME $MY_THRESHOLD" [EMAIL PROTECTED] should be : mail -s "$NAME load is at $load" [EMAIL PROTECTED] resulti

Re: CPU monitoring service?

2003-03-26 Thread Jeff Kinz
On Wed, Mar 26, 2003 at 11:04:08AM -0800, Chris wrote: > Is there a way to have a Red Hat 7.x machine send an email to a > predetermined email address when the CPU usage reaches a certain point? > Sort of like those godawful RaQ servers do, but for standard RH7 > installation. I'd like to have suc

CPU monitoring service?

2003-03-26 Thread Chris
Is there a way to have a Red Hat 7.x machine send an email to a predetermined email address when the CPU usage reaches a certain point? Sort of like those godawful RaQ servers do, but for standard RH7 installation. I'd like to have such emails sent to my cell phone with server name and CPU usage a