Skip to content

Instantly share code, notes, and snippets.

@hurrycane
Created November 16, 2013 10:36
Show Gist options
  • Save hurrycane/7498661 to your computer and use it in GitHub Desktop.
Save hurrycane/7498661 to your computer and use it in GitHub Desktop.
LoadPlugin threshold
LoadPlugin exec
<Plugin exec>
NotificationExec "nobody:nogroup" "/usr/lib/collectd/exec/handle_notification"
</Plugin>
<Plugin threshold>
<Host "tools.presslabs.net">
<Plugin "memory">
<Type "memory">
Instance "cached"
FailureMax 100
</Type>
</Plugin>
<Type "load">
DataSource "shortterm"
FailureMax 0.5
Hits 3
Hysteresis 3
</Type>
</Host>
</Plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment