Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For Munin plugins of COUNTER and DERIVE type, what values should I use for ${name}.warning and ${name}.critical values?

share|improve this question
up vote 1 down vote accepted

It depends on the data you're measuring (and not really on the data type).

COUNTERs are absolute values, so you just specify the minimum and maximum values that should be present. A common example is the number of users currently logged into a system. It's (usually) okay not to have anyone logged in, so there would be no minimum threshold. On a server, you normally wouldn't have too many simultaneously active logins, so you could warn if there were five active logins and issue a critical alert if there were ten or more. That would look like this:

users.warning :5
users.critical :10

DERIVE fields are rate-of-change values, so you just consider the minimum and maximum rates you want to see. Let's say you're monitoring electrical power in watts (and it's a DERIVE field because the system reports the total number of joules it's consumed since poweron and you're deriving watts from that). If the system normally draws 80 watts, you might set your thresholds at 75 and 100 watts for a warning and 70 and 130 watts for a critical status. (If power consumption is too low, one of the system components is probably broken, since most computers have a lower bound for normal operating current. On the other hand, a "too high" wattage is going to depend on more external factors like the capacity of your electrical infrastructure.) That would look like this:

power.warning: 75:100
power.critical: 70:130

I hope I've illustrated with my examples that the limit settings depending significantly on what exactly you're measuring and there's no general way to say things like, "A DERIVE data source should have a warning threshold of X:Y."

share|improve this answer
Perfect, thanks! Is there a way for me to ask/edit this question that would make it more helpful? – Mark Aug 29 '13 at 11:25
Well, it might help to give more concrete examples, e.g. "I'm using X plugin to monitor Y data; how should I decide where to set my limits?" or "I'm writing a plugin to monitor Z using data from N; how should I decide where to set my limits?" – asciiphil Aug 29 '13 at 13:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.