Hello,<div><br></div><div>Following-up more or less what has been said in <a href="http://mailman.verplant.org/pipermail/collectd/2011-March/004380.html">http://mailman.verplant.org/pipermail/collectd/2011-March/004380.html</a> one year ago :). I'm having the exact same problem here.</div>
<div><br></div><div>I originally wanted to integrate Russell Poyner plugin (cf <a href="http://mailman.verplant.org/pipermail/collectd/2012-August/005310.html">http://mailman.verplant.org/pipermail/collectd/2012-August/005310.html</a> ) but ended up facing some issues (a simple run and control-C of my collectd resulted in regular segfault in the perl engine). </div>
<div><br></div><div>At the same time I saw that my nagios was flooded by notifications and started suspecting nagios of being unable to play correctly the passive checks.</div><div><br></div><div>So as to investigate, I took some already working python plugin I use and added the notification callback. In the callback, I simply log the notification in the syslog ( <a href="http://uu.zoy.org/v/butayo#clef=ogpmzdefiwczkfkf">http://uu.zoy.org/v/butayo#clef=ogpmzdefiwczkfkf</a> )</div>
<div><br></div><div>With collectd running in debug (foreground in console), I see 1 "Dispatching", one notification arriving in my plugin. And 10 seconds later (my regular collectd interval, syslog proudly announces there has been 43297 others notifications (cf <a href="http://uu.zoy.org/v/gagima#clef=papztgesfesjueyl">http://uu.zoy.org/v/gagima#clef=papztgesfesjueyl</a> ).</div>
<div><br></div><div>The corresponding threshold sections look like this:</div><div><br></div><div><div><Threshold></div><div> <Type pending></div><div> WarningMax 5</div><div> FailureMax 10</div><div>
</Type></div><div></Threshold></div></div><div><br></div><div>I'm not using persist because I think the default is correct (ie not supposed to send additional notifications if the state has just changed).</div>
<div><br></div><div>Am I doing something wrong here ?</div><div><br></div><div>Thank you very much :)</div><div>-- <br>Pierre Baillet <<a href="mailto:pierre@baillet.name" target="_blank">pierre@baillet.name</a>><br>
</div>