LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2007, 10:41 AM   #1
viperbux
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Munin - Changing CPU Notify Threshold


Hi.

Currently I use Munin to monitor about 35 servers. It works great, and I have it automatically notify me when events occur. (If the disk usage on a certain server reaches a certain level, etc.)

Recently I've been interested in changing the point in which I receive a notification of CPU usage from our Database server.

For example, I receive emails such as the following:

DatabaseServer :: OurServer.DatabaseServer :: CPU usage
WARNINGs: user is 186.04 (outside range [:160])


I would like to change the point at which I receive this notification. Instead of "160" I would like to increase that to "190."

I've tried the following entry to the munin.conf:

[OurServer.DatabaseServer]
address XXX.XXX.XXX.XXX
use_node_name yes
mysql_slowqueries.queries.warning 5
mysql_slowqueries.queries.critical 10
mysql_threads.threads.warning 500
mysql_threads.threads.critical 600
cpu_user.warning 190
cpu_user.critical 200


But it doesn't seem to work. I've searched the web, and I can't seem to find the right syntax to make this modification.

I've changed the df plugin with the following command:

df._dev_sda1.warning 80

And I thought I might be able to do something similar with the CPU Usage.

Any thoughts?
 
Old 12-15-2007, 08:59 PM   #2
cnschulz
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Smile Possible Solution

try

cpu.user.warning 190

instead of

cpu_user.warning 190



c.



Quote:
Originally Posted by viperbux View Post
Hi.

Currently I use Munin to monitor about 35 servers. It works great, and I have it automatically notify me when events occur. (If the disk usage on a certain server reaches a certain level, etc.)

Recently I've been interested in changing the point in which I receive a notification of CPU usage from our Database server.

For example, I receive emails such as the following:

DatabaseServer :: OurServer.DatabaseServer :: CPU usage
WARNINGs: user is 186.04 (outside range [:160])


I would like to change the point at which I receive this notification. Instead of "160" I would like to increase that to "190."

I've tried the following entry to the munin.conf:

[OurServer.DatabaseServer]
address XXX.XXX.XXX.XXX
use_node_name yes
mysql_slowqueries.queries.warning 5
mysql_slowqueries.queries.critical 10
mysql_threads.threads.warning 500
mysql_threads.threads.critical 600
cpu_user.warning 190
cpu_user.critical 200


But it doesn't seem to work. I've searched the web, and I can't seem to find the right syntax to make this modification.

I've changed the df plugin with the following command:

df._dev_sda1.warning 80

And I thought I might be able to do something similar with the CPU Usage.

Any thoughts?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Temperature above threshold? matrixtna Linux - General 7 11-30-2008 07:44 AM
CPU running above the threshold temperature silin Mandriva 13 12-13-2006 02:39 AM
CPU running above threshold!!! visris Linux - General 9 10-30-2006 02:48 AM
CPU Temp. Above Threshold spammed to terminal booboo808 Linux - General 6 12-01-2005 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration