[collectd] Thresholds with df_complex type

Carlos Alberto Lopez Perez clopez at igalia.com
Mon Dec 26 21:31:14 CET 2011


Hello,


I am trying to configure a threshold for sending alerts when the
disk-free is below the 5% but using the complex type of df (the one that
takes into account the reserved blocks)


I have:


[...]

<Plugin df>
       FSType "ext3"
       ReportReserved true
</Plugin>

[...]

<Threshold>
       <Plugin "df">
               <Type "df_complex">
                       DataSource "free"
                       Percentage true
                       WarningMin 5.0
                       FailureMin 2.0
               </Type>
       </Plugin>
</Threshold>

[...]

However I get lot of warnings from collectd saying this:

ut_check_one_threshold: The df_complex type has only one data source,
but you have configured to check this as a percentage. That doesn't make
much sense, because the percentage will always be 100%!


I am running collectd 4.9.1


What I am doing wrong?


Thanks!



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carlos Alberto Lopez Perez                           http://neutrino.es
Igalia - Free Software Engineering                http://www.igalia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20111226/675aeda6/attachment.pgp>


More information about the collectd mailing list