[collectd] threshold checking on interface
Andrés J. Díaz
ajdiaz at connectical.com
Wed Jun 3 11:56:34 CEST 2009
The problem, i think, is related to Instance keyword, the interface
name (em0 for you) is a type instance, not a plugin instance (if you
review the rrd directory, you can found a interface/if_octects-em0,
instead of interface-em0/if_octects).
Try the following configuration (works for me):
Instance "em0" # Now instance in into Type section :D
2009/6/3 Brett Hawn <brett.hawn at gmail.com>:
> I've setup a interface configuration
> <Plugin interface>
> Interface "em0"
> IgnoreSelected false
> and then a threshold
> <Plugin "interface">
> Instance "em0"
> <Type "if_octets">
> DataSource "tx"
> FailureMax 300000
> Ideally, this should alert me (via syslog currently), if the interface
> exceeds 300k octets. However, even when I set this as low as 50 (just to
> verify functionality), it did not spawn an alert. Have I gone wrong with
> this somewhere?
> collectd mailing list
> collectd at verplant.org
More information about the collectd