I'm attempting to implement Thresholds in collectd-4.4.0 but am having some trouble. <br><br>The bottom of the collectd.conf(5) man page shows to use Instance to generate cached memory notifications -<br><Threshold><br>
...<br> <Plugin "memory"><br> <Type "memory"><br> Instance "cached"<br> WarningMin 100000000<br> </Type><br>
</Plugin><br></Threshold><br><br>However since 4.4.0 this seems to generate an error in syslog -<br><br>collectd[17336]: threshold values: Option `Instance' not allowed inside a `Type' block<br>
<br><br>I'm also trying the same with df, and by reading some mailing list archives I was able to find that DataSource seems to work there in v4.4.0 instead of Instance for v4.3.3. Now with 4.4.0 I'm able to receive df notifications, but not memory notifications when using DataSource instead of Instance. Also, I seem to receive many bogus notifications saying that such and such plugin has not run in xy seconds, although it clearly has. Restarting collectd seems to fix them. This is all running in network mode.<br>
<br><Plugin network><br> Listen "<a href="http://10.0.0.253">10.0.0.253</a>"<br></Plugin><br><br><Threshold><br> <Plugin df><br> <Type "df"><br>
DataSource "free"<br> WarningMin 100000000<br> </Type><br> </Plugin><br> <Plugin memory><br>
<Type "memory"><br>
DataSource "cached"<br>
WarningMin 100000000<br>
</Type><br>
</Plugin><br></Threshold><br>
<br>