<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I'm having some trouble getting a load threshold to fire and I'm
hoping someone can offer some advice please.<br>
<br>
Currently, my config looks something like this:<br>
<blockquote><Plugin "threshold"><br>
<Type "load"><br>
Instance "shortterm"<br>
FailureMax 0.00<br>
FailureMin 0.00<br>
WarningMin 0.00<br>
WarningMax 0.00<br>
Hits 1<br>
</Type><br>
<br>
<Type "cpu"><br>
Instance "user"<br>
WarningMax 85<br>
Hits 1<br>
</Type><br>
</Plugin><br>
<br>
<Plugin exec><br>
NotificationExec "user:user" "/etc/collectd/plugins/plugin.sh"<br>
</Plugin><br>
</blockquote>
The notifier just uses `logger` to send stdin to syslog, and I'm
just grepping syslog for "logger" in testing. I get the CPU
notification as expected, but I cannot get the load one to fire.
Load is shown in `top` and graphite as being roughly around 1.0
(maxing out both CPUs) and I've varied the Failure* clauses
accordingly with no success. I've also tried several configs
verbatim from the internet and example configs without success.<br>
<br>
I've tried the following variations based on internet research and
random guessing:<br>
<ul>
<li>Replaced <Plugin "threshold"></Plugin> with
<Threshold></Threshold> (syntax error)</li>
<li>Wrapped <Type "load"></Type> in <Plugin
"load"></Plugin></li>
<li>Replaced <Type "load"></Type> with <Plugin
"load"></Plugin></li>
<li>Changed/removed all Warning* and Failure* clauses, and the
"Hits" clause<br>
</li>
<li>Used "DataSource" instead of "Instance"</li>
<li>Tried "longterm" and "midterm" for DataSource/Instance</li>
</ul>
<p>If anyone could provide any suggestions on where I'm going wrong,
or could provide the correct syntax for v5.1.0 on Ubuntu 12.04,
I'd really appreciate the help.<br>
</p>
<p>Thanks very much,<br>
</p>
<p>Gary.<br>
</p>
</body>
</html>