[collectd] Thresholds df_complex and percents

Carlos Alberto Lopez Perez clopez at igalia.com
Tue Nov 6 16:01:02 CET 2012


On 26/12/11 21:31, Carlos Alberto Lopez Perez wrote:
> 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!
> 
> 

Anybody out there?


I will thank to anybody that could throw some light on this issue.
I'm really lost.


The percentage option can't be used with df_complex or what?

-------------- 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/20121106/7ad56345/attachment.pgp>


More information about the collectd mailing list