[collectd] Problem with threshold configuration

Tomasz Dziurko tdziurko at gmail.com
Tue Jan 4 09:55:43 CET 2011


Hi.

I have some problems with configuring threshold for some plugins I use with
CollectD. Atlhough for plugins "load" or "df" everything runs smoothly and I
receive emails with notification, for "tail" plugin which I use heavily use
I am stuck.

Below my tail configuration:

<Plugin "tail">
<File "/home/user/logs/stats.log">
    <Match>
      Regex "Login test, errors number = ([0-9]*)"
      DSType "GaugeLast"
      Type "gauge"
      Instance "tcp-login-errors"
    </Match>
  </File>
</Plugin>

and Threshold config:

    <Plugin "tail">
        <Type "gauge">
           Instance "tcp-login-errors"
           DataSource "value"
           FailureMax -1.000000
           Persist true
        </Type>
    </Plugin>


Maybe someone can find error in the above config? Thank you in advance for
any help.

-- 
Best Regards,
Tomasz Dziurko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20110104/98330325/attachment.htm>


More information about the collectd mailing list