[collectd] thresholds: Different email for diferent thresholds?

Gerardo Herzig gherzig at fmed.uba.ar
Thu Feb 25 01:23:40 CET 2016


Hi. I have, say, 2 alerts. "Switches avaiability" and "mail queue size".
If "ping" fails, i want to send an email to "@network admin", and if mailq is > 500 send an email to "@email admin". Something like
<plugin threshold>
    <plugin mailq>
       FailureMax 500.0
       EmailDestination mailadmin at site.org 
    </plugin>

    <plugin ping>
      FailureMax 0.3
      EmailDestination netadmin at site.org
    </plugin>
</plugin>

Maybe some patch?
Thanks!

Gerardo



More information about the collectd mailing list